summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-20 22:17:27 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-20 22:17:27 +0000
commitd591f8c83264010b42d2d81e88560790bfe10ca2 (patch)
treec65b07f0081394e9f35580efa726338f6dfe94ae
parentfe6bee82eca48c4cd18750562eb8b436d175f2fc (diff)
downloadfreebsd-ports-d591f8c83264010b42d2d81e88560790bfe10ca2.zip
- Reflect the simgear update by bumping PORTREVISION, since simgear is
staticalled linked - Track the fgfs-base move to ${X11BASE}
-rw-r--r--games/flightgear-atlas/Makefile7
-rw-r--r--games/flightgear-atlas/pkg-plist2
2 files changed, 5 insertions, 4 deletions
diff --git a/games/flightgear-atlas/Makefile b/games/flightgear-atlas/Makefile
index 3ee4ec5bb4bd..bde138b98f8d 100644
--- a/games/flightgear-atlas/Makefile
+++ b/games/flightgear-atlas/Makefile
@@ -7,6 +7,7 @@
PORTNAME= flightgear-atlas
PORTVERSION= 0.3.0
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= atlas
@@ -22,7 +23,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
glut.3:${PORTSDIR}/graphics/libglut
RUN_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${X11BASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear \
- ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base
+ ${X11BASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base
USE_X_PREFIX= yes
USE_REINPLACE= yes
@@ -32,14 +33,14 @@ USE_GL= yes
CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --with-fgbase="${LOCALBASE}/share/FlightGear"
+CONFIGURE_ARGS= --with-fgbase="${X11BASE}/share/FlightGear"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/src/Makefile.in
post-install:
- ${INSTALL_DATA} ${WRKSRC}/src/AtlasPalette ${LOCALBASE}/share/FlightGear
+ ${INSTALL_DATA} ${WRKSRC}/src/AtlasPalette ${X11BASE}/share/FlightGear
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/games/flightgear-atlas/pkg-plist b/games/flightgear-atlas/pkg-plist
index f1a1e17c8a9c..bcde4d7b3f67 100644
--- a/games/flightgear-atlas/pkg-plist
+++ b/games/flightgear-atlas/pkg-plist
@@ -2,5 +2,5 @@ bin/Atlas
bin/Map
bin/MapPS
bin/buildmaps.sh
-@cwd %%LOCALBASE%%
+@cwd %%X11BASE%%
share/FlightGear/AtlasPalette