aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2011-09-06 21:17:02 +0800
committermartymac <martymac@FreeBSD.org>2011-09-06 21:17:02 +0800
commitc2121507d94cde1ce4d1dd446a05093cf00f8a10 (patch)
tree5f14ccb21ccacdaa0c4232a8d54950004962640c /games
parentf8c03a090c09e35208eb1c91bd77493fb0092476 (diff)
downloadfreebsd-ports-gnome-c2121507d94cde1ce4d1dd446a05093cf00f8a10.tar.gz
freebsd-ports-gnome-c2121507d94cde1ce4d1dd446a05093cf00f8a10.tar.zst
freebsd-ports-gnome-c2121507d94cde1ce4d1dd446a05093cf00f8a10.zip
- Mark as BROKEN with FlightGear 2.4.0
- Re-order variables to make portlint happy - Chase FLightGear's DATADIR change - Remove useless CPPFLAGS from CONFIGURE_ENV
Diffstat (limited to 'games')
-rw-r--r--games/flightgear-atlas/Makefile14
-rw-r--r--games/flightgear-atlas/pkg-plist2
2 files changed, 9 insertions, 7 deletions
diff --git a/games/flightgear-atlas/Makefile b/games/flightgear-atlas/Makefile
index 6bda3ae9916d..05eddfe5f616 100644
--- a/games/flightgear-atlas/Makefile
+++ b/games/flightgear-atlas/Makefile
@@ -7,7 +7,7 @@
PORTNAME= flightgear-atlas
PORTVERSION= 0.3.1.20090529
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
http://freebsd.unixfreunde.de/sources/
@@ -16,6 +16,8 @@ DISTNAME= Atlas-${PORTVERSION}
MAINTAINER= martymac@FreeBSD.org
COMMENT= A map viewer for use with the FlightGear flight simulator
+LICENSE= GPLv2
+
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
@@ -23,9 +25,9 @@ LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
curl.6:${PORTSDIR}/ftp/curl
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear \
- ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/flightgear-data
+ ${LOCALBASE}/share/flightgear/version:${PORTSDIR}/games/flightgear-data
-LICENSE= GPLv2
+BROKEN= does not build with SimGear 2.4.0
USE_AUTOTOOLS= aclocal autoheader automake autoconf
AUTOMAKE_ARGS= --add-missing
@@ -39,8 +41,8 @@ CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} \
-DSG_GL_H='<GL/gl.h>' \
-DSTL_STRING='<string>'
LDFLAGS= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --with-fgbase="${LOCALBASE}/share/FlightGear"
+CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --with-fgbase="${LOCALBASE}/share/flightgear"
post-patch:
@${REINPLACE_CMD} -e 's|^base_LIBS="$$LIBS"|base_LIBS="$$LIBS ${PTHREAD_LIBS}"|' ${WRKSRC}/configure.ac
@@ -48,7 +50,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/src/Makefile.am
post-install:
- ${INSTALL_DATA} ${WRKSRC}/src/AtlasPalette ${LOCALBASE}/share/FlightGear
+ ${INSTALL_DATA} ${WRKSRC}/src/AtlasPalette ${LOCALBASE}/share/flightgear
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/games/flightgear-atlas/pkg-plist b/games/flightgear-atlas/pkg-plist
index 2f07c4e4894c..76f4b99bce8b 100644
--- a/games/flightgear-atlas/pkg-plist
+++ b/games/flightgear-atlas/pkg-plist
@@ -3,4 +3,4 @@ bin/GetMap
bin/Map
bin/MapPS
bin/buildmaps.sh
-share/FlightGear/AtlasPalette
+share/flightgear/AtlasPalette