version 1.1.1.1, 2009/06/09 13:28:58 |
version 1.6, 2010/03/02 14:21:15 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
#ONLY_FOR_ARCHS = ??? |
|
#NOT_FOR_ARCHS = ??? |
|
#SHARED_ONLY = ??? |
|
#COMES_WITH = ??? |
|
BROKEN = openal update? |
|
|
|
COMMENT = flight simulator |
COMMENT = flight simulator |
# COMMENT-foo = ??? for multi packages |
|
|
|
# |
DISTNAME = FlightGear-2.0.0 |
# What port/package will be created |
|
# |
|
DISTNAME = FlightGear-1.9.1 |
|
PKGNAME = ${DISTNAME:L} |
PKGNAME = ${DISTNAME:L} |
#PKGNAME-foo = ??? for multi packages |
|
|
|
#SHARED_LIBS = ??? |
|
|
|
CATEGORIES = games x11 |
CATEGORIES = games x11 |
|
|
HOMEPAGE = http://www.flightgear.org/ |
HOMEPAGE = http://www.flightgear.org/ |
|
|
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_CDROM =Yes |
PERMIT_DISTFILES_FTP = Yes |
PERMIT_DISTFILES_FTP = Yes |
|
|
#WANTLIB = ??? |
WANTLIB += GL GLU ICE SM X11 Xext Xi Xmu Xt c m pthread stdc++ \ |
|
usbhid z |
|
|
MASTER_SITES = ftp://ftp.de.flightgear.org/pub/fgfs/Source/ |
MASTER_SITES = ftp://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/ |
MASTER_SITES0 = ftp://ftp.kingmont.com/flightsims/flightgear/Source/ |
#MASTER_SITES0 = ftp://ftp.kingmont.com/flightsims/flightgear/Source/ |
#DISTFILES = ??? |
|
#EXTRACT_ONLY = ??? |
|
#EXTRACT_SUFX = .tar.Z |
|
|
|
#DIST_SUBDIR = ??? |
RUN_DEPENDS = ::games/flightgear-data |
|
LIB_DEPENDS = alut::audio/freealut \ |
|
openal::audio/openal \ |
|
glut::graphics/glut \ |
|
jpeg::graphics/jpeg \ |
|
::graphics/simgear |
|
|
#MODULES = ??? |
MODULES = gcc4 |
#BUILD_DEPENDS = ??? |
MODGCC4_ARCHES = * |
#RUN_DEPENDS = ??? |
MODGCC4_LANGS += ${_MODGCC4CXX} |
#LIB_DEPENDS = ??? |
|
#REGRESS_DEPENDS = ??? |
|
|
|
#MAKE_FLAGS = ??? |
|
#MAKE_ENV = ??? |
|
#FAKE_FLAGS = ??? |
|
#REGRESS_FLAGS = ??? |
|
|
|
USE_X11 = Yes |
USE_X11 = Yes |
#USE_GMAKE = Yes |
|
# Programs that uses libtool should use this option, |
|
# unless there is a really good reason not to. |
|
USE_LIBTOOL = Yes |
|
# Set CONFIGURE_STYLE to value corresponding to some standard configuration |
|
# perl [modbuild]: perl's MakeMaker Makefile.PL (modbuild: perl's |
|
# Module::Build Build.PL) |
|
# gnu [autoconf] [old] [dest]: gnu style configure (old: no |
|
# sysconfdir), (dest: add DESTDIR, does not handle it), |
|
# (autoconf: needed by port, implies gnu) |
|
# XXX: cygnus products do NOT use autoconf for making the main |
|
# configure from configure.in |
|
# imake [noman]: port uses imake for configuration. |
|
# (noman: no man page installation) |
|
# simple: port has its own configure script |
|
CONFIGURE_STYLE = gnu |
CONFIGURE_STYLE = gnu |
#CONFIGURE_SCRIPT = ??? (if other than configure) |
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
#CONFIGURE_ARGS += ${CONFIGURE_SHARED} |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread" |
#CONFIGURE_ENV += LIBS=-lopenal |
|
|
|
# for gnu stuff |
NO_REGRESS = Yes |
#AUTOCONF_VERSION = 2.61 |
|
#AUTOMAKE_VERSION = ??? (defaults to 1.4) |
|
#MODGNU_CONFIG_GUESS_DIRS = ??? (defaults to ${WRKSRC} |
|
|
|
#IS_INTERACTIVE = Yes |
|
#REGRESS_IS_INTERACTIVE = Yes |
|
|
|
# Assume you have one multiple choice flavor: 1 2 3 and switches a b. |
|
# You would write |
|
# |
|
#FLAVORS = 1 2 3 a b |
|
#FLAVOR ?= |
|
# grab multiple choice value |
|
#CHOICE = ${FLAVOR:L:Na:Nb} |
|
# check that CHOICE is 1 OR 2 OR 3, or error out |
|
#.if ${CHOICE} == "1" |
|
# code for 1 |
|
#.elif ${CHOICE} == "2" |
|
# code for 2 |
|
#.elif ${CHOICE} == "3" |
|
# code for 3 |
|
#.else |
|
#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}" |
|
#.endif |
|
# check for switches |
|
#.if ${FLAVOR:L:Ma} |
|
# code for a |
|
#.endif |
|
#.if ${FLAVOR:L:Mb} |
|
# code for b |
|
#.endif |
|
|
|
#NO_REGRESS = Yes |
|
|
|
#CFLAGS = ??? |
|
#LDFLAGS = ??? |
|
#MAKE_FILE = ??? |
|
#PKG_ARCH = ??? |
|
|
|
#ALL_TARGET = ??? |
|
#INSTALL_TARGET = ??? |
|
#REGRESS_TARGET = ??? |
|
|
|
.include <bsd.port.mk> |
.include <bsd.port.mk> |