aboutsummaryrefslogtreecommitdiffstats
path: root/games/flightgear
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2012-06-15 17:56:13 +0800
committermartymac <martymac@FreeBSD.org>2012-06-15 17:56:13 +0800
commitdbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3 (patch)
tree78a382d4d6279f42e4ab33ee15a17114fd635bca /games/flightgear
parentcb9693ae6299753b3c7ada8d546db29d1d5ea472 (diff)
downloadfreebsd-ports-gnome-dbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3.tar.gz
freebsd-ports-gnome-dbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3.tar.zst
freebsd-ports-gnome-dbe8b0df61dcf54d9ec3d9c97db8f2166fb39ee3.zip
- Switch to OptionsNg
- Un-version LIB_DEPENDS
Diffstat (limited to 'games/flightgear')
-rw-r--r--games/flightgear/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index e6c44d3c9fea..bb36aa4d54f5 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -7,7 +7,7 @@
PORTNAME= flightgear
PORTVERSION= 2.6.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
# see http://www.flightgear.org/templates.js
MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/ \
@@ -21,10 +21,10 @@ COMMENT= The FlightGear flight simulator
LICENSE= GPLv2
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
- boost_thread.4:${PORTSDIR}/devel/boost-libs \
- fltk.1:${PORTSDIR}/x11-toolkits/fltk \
- osg.80:${PORTSDIR}/graphics/osg
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
+ boost_thread:${PORTSDIR}/devel/boost-libs \
+ fltk:${PORTSDIR}/x11-toolkits/fltk \
+ osg:${PORTSDIR}/graphics/osg
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
@@ -43,12 +43,14 @@ CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \
PORTDOCS= README README.OSG README.OpenAL README.SimGear README.plib
-.if defined(NOPORTDOCS)
+MAN1= js_demo.1 fgjs.1 gl-info.1 fgfs.1 fgpanel.1 terrasync.1
+
+.include <bsd.port.options.mk>
+
+.if empty(PORT_OPTIONS:MDOCS)
CMAKE_ARGS+= -DNOPORTDOCS:BOOL=ON
.endif
-MAN1= js_demo.1 fgjs.1 gl-info.1 fgfs.1 fgpanel.1 terrasync.1
-
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server ${PREFIX}/bin
@${CAT} ${PKGMESSAGE}