aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-18 20:05:21 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-18 20:05:21 +0000
commit3beead0ffced9af67e1fdeb84b4d29c713c96380 (patch)
tree9c812ab3cdd5236aaed4385696279d7de7af3c63 /games
parent303f3f78a138b287b7752b5b977e843cf5ab3586 (diff)
downloadports-3beead0ffced9af67e1fdeb84b4d29c713c96380.tar.gz
ports-3beead0ffced9af67e1fdeb84b4d29c713c96380.zip
- Remove NO_CDROM and NO_PACKAGE since this code is under GPL
- Fix REINPLACE_CMD - Use %%DOCSDIR%% Pointy hat to: clement (a small one) Noticed by: krion, portlint of the day ;-)
Notes
Notes: svn path=/head/; revision=107486
Diffstat (limited to 'games')
-rw-r--r--games/duke3d/Makefile8
-rw-r--r--games/duke3d/pkg-plist2
2 files changed, 3 insertions, 7 deletions
diff --git a/games/duke3d/Makefile b/games/duke3d/Makefile
index 5e2dd9aa6d06..c415a3115834 100644
--- a/games/duke3d/Makefile
+++ b/games/duke3d/Makefile
@@ -8,20 +8,16 @@ PORTNAME= duke3d
PORTVERSION= 20012306
CATEGORIES= games
MASTER_SITES= http://sheepkiller.nerim.net/ports/${PORTNAME}/
-#DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= arundel@gmx.net
COMMENT= Icculus Duke Nukem 3D port for various Operating Systems
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
-NO_CDROM= yes
USE_XLIB= yes
USE_GMAKE= yes
USE_SDL= mixer sdl
-NO_PACKAGE= yes
USE_REINPLACE= yes
-REINPLACE_ARGS=
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -46,9 +42,9 @@ post-patch:
${WRKDIR}/fix.sh
@${SED} -e 's|%%DUKEDIR%%|${PREFIX}/${PORTNAME}|g' ${FILESDIR}/wrapper.sh > \
${WRKDIR}/wrapper.sh
- @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD}-i.bak -e \
+ @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
- @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD}-i.bak -e \
+ @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
's|sdl-config|${SDL_CONFIG}|g ; s|%%X11BASE%%|${X11BASE}|g ; \
s|%%CFLAGS%%|${CFLAGS} -I${X11BASE}/include|g'
diff --git a/games/duke3d/pkg-plist b/games/duke3d/pkg-plist
index c760ccebce81..f847923b6151 100644
--- a/games/duke3d/pkg-plist
+++ b/games/duke3d/pkg-plist
@@ -14,6 +14,6 @@ bin/duke3d
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
%%PORTDOCS%%%%DOCSDIR%%/gnu.txt
-@dirrm share/doc/duke3d
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm duke3d/testdata
@unexec rmdir duke3d 2> /dev/null || true