diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /games/flightgear-atlas | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
Diffstat (limited to 'games/flightgear-atlas')
-rw-r--r-- | games/flightgear-atlas/Makefile | 21 | ||||
-rw-r--r-- | games/flightgear-atlas/pkg-plist | 1 |
2 files changed, 10 insertions, 12 deletions
diff --git a/games/flightgear-atlas/Makefile b/games/flightgear-atlas/Makefile index f073c3400e20..efbc812d4039 100644 --- a/games/flightgear-atlas/Makefile +++ b/games/flightgear-atlas/Makefile @@ -9,36 +9,35 @@ PORTNAME= flightgear-atlas PORTVERSION= 0.3.0 PORTREVISION= 6 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= atlas +MASTER_SITES= SF/atlas DISTNAME= Atlas-${PORTVERSION} MAINTAINER= jylefort@FreeBSD.org COMMENT= A map viewer for use with the FlightGear flight simulator -BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ - ${X11BASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear +BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ + ${LOCALBASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg \ glut.4:${PORTSDIR}/graphics/libglut -RUN_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ - ${X11BASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear \ - ${X11BASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base +RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \ + ${LOCALBASE}/include/simgear/version.h:${PORTSDIR}/devel/simgear \ + ${LOCALBASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base GNU_CONFIGURE= yes USE_GL= yes -CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} -LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib +CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${LOCALBASE}/lib CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -CONFIGURE_ARGS= --with-fgbase="${X11BASE}/share/FlightGear" +CONFIGURE_ARGS= --with-fgbase="${LOCALBASE}/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 ${X11BASE}/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 bcde4d7b3f67..d7a1656d685d 100644 --- a/games/flightgear-atlas/pkg-plist +++ b/games/flightgear-atlas/pkg-plist @@ -2,5 +2,4 @@ bin/Atlas bin/Map bin/MapPS bin/buildmaps.sh -@cwd %%X11BASE%% share/FlightGear/AtlasPalette |