diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-13 11:33:54 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-13 11:33:54 +0000 |
commit | 8c739658c2c0ac66259dc74784b26df6f599349d (patch) | |
tree | 5c78f2e548234997ff2d51e839ae0628ffe68d9a /games/netpanzer/Makefile | |
parent | 87ba19055c4b97e725f503246aaa2dd152876dcc (diff) |
Notes
Diffstat (limited to 'games/netpanzer/Makefile')
-rw-r--r-- | games/netpanzer/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/games/netpanzer/Makefile b/games/netpanzer/Makefile index ffebdfb37990..c35e2a9ae032 100644 --- a/games/netpanzer/Makefile +++ b/games/netpanzer/Makefile @@ -6,16 +6,18 @@ # PORTNAME= netpanzer -PORTVERSION= 0.1.5 +PORTVERSION= 0.8 CATEGORIES= games MASTER_SITES= http://download.berlios.de/netpanzer/ MAINTAINER= mad@madpilot.net -COMMENT= Real time, isometric view, tank strategy game(multiplayer) +COMMENT= Real time, isometric view, tank multiplayer strategy game LIB_DEPENDS= physfs-1.0.0:${PORTSDIR}/devel/physfs BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam -RUN_DEPENDS= ${X11BASE}/share/netpanzer/wads/netp.act:${PORTSDIR}/games/netpanzerdata +RUN_DEPENDS= ${X11BASE}/share/netpanzer/wads/netp.act:${PORTSDIR}/games/netpanzer-data + +CONFLICTS= netpanzerdata* GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-libphysfs=${LOCALBASE} --without-wx-config @@ -33,6 +35,13 @@ post-patch: @for ff in `${FIND} ${WRKDIR} -type f -name '*.[ch]pp' -exec ${GREP} -q stdint.h {} \; -print`; do \ ${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' $${ff}; \ done + @${REINPLACE_CMD} -e "s|##DOCSDIR##|${DOCSDIR}|" ${WRKSRC}/Jamconfig.in + +.if defined(NOPORTDOCS) +post-configure: + @(cd ${BUILD_WRKSRC}; \ + ${PATCH} ${PATCH_DIST_ARGS} < ${FILESDIR}/noportdocs-patch-Jamfile) +.endif do-build: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam) |