diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-09-16 20:22:10 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-09-16 20:22:10 +0000 |
commit | 384bf9f311e47c2079a6c0a2cd2a4e249093560a (patch) | |
tree | 62f0ee6ab38e3a41117d1c4682178daaa313b708 /games/flightgear-atlas/Makefile | |
parent | b0c59b7e6d2ea559771b78c3ea94054a9646ed9a (diff) | |
download | ports-384bf9f311e47c2079a6c0a2cd2a4e249093560a.tar.gz ports-384bf9f311e47c2079a6c0a2cd2a4e249093560a.zip |
Notes
Diffstat (limited to 'games/flightgear-atlas/Makefile')
-rw-r--r-- | games/flightgear-atlas/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/games/flightgear-atlas/Makefile b/games/flightgear-atlas/Makefile new file mode 100644 index 000000000000..3ee4ec5bb4bd --- /dev/null +++ b/games/flightgear-atlas/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: flightgear-atlas +# Date created: 16 Sep 2005 +# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= flightgear-atlas +PORTVERSION= 0.3.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= 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 +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + 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 + +USE_X_PREFIX= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +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" + +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 + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |