[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / ports / games / flightgear

File: [local] / ports / games / flightgear / Attic / Makefile (download)

Revision 1.7, Wed Oct 27 03:31:15 2010 UTC (13 years, 7 months ago) by yason
Branch: MAIN
Changes since 1.6: +3 -6 lines

remove USE_X11 and gcc4 from MODULES

# $OpenBSD$

COMMENT =		flight simulator

DISTNAME =		FlightGear-2.0.0
PKGNAME =		${DISTNAME:L}

CATEGORIES =		games x11

HOMEPAGE =		http://www.flightgear.org/

#MAINTAINER =		???

# GPLv2
PERMIT_PACKAGE_CDROM =	Yes
PERMIT_PACKAGE_FTP =	Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP =	Yes

WANTLIB += 		GL GLU ICE SM X11 Xext Xi Xmu Xt c m pthread stdc++ \
			usbhid z

MASTER_SITES =		ftp://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/
#MASTER_SITES0 = 	ftp://ftp.kingmont.com/flightsims/flightgear/Source/

RUN_DEPENDS =		::games/flightgear-data
LIB_DEPENDS =		alut::audio/freealut \
			openal::audio/openal \
			glut::graphics/glut \
			jpeg::graphics/jpeg \
			::graphics/simgear

CONFIGURE_STYLE =	autoconf gnu
AUTOCONF_VERSION = 	2.63
CONFIGURE_ENV += 	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
			LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -pthread"
CONFIGURE_ARGS = 	"--enable-sdl=yes --enable -glut=no"

NO_REGRESS =		Yes

.include <bsd.port.mk>