aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-04-19 04:05:21 +0800
committerclement <clement@FreeBSD.org>2004-04-19 04:05:21 +0800
commit133ea97817b9ff546d7fa296eb628eea27512c2a (patch)
treed21f9c53b7a319c0735eca36bea1ab3516764655
parentb614474069ee0dcd7509100846e157e89d781acd (diff)
downloadfreebsd-ports-graphics-133ea97817b9ff546d7fa296eb628eea27512c2a.tar.gz
freebsd-ports-graphics-133ea97817b9ff546d7fa296eb628eea27512c2a.tar.zst
freebsd-ports-graphics-133ea97817b9ff546d7fa296eb628eea27512c2a.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 ;-)
-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 5e2dd9aa6d0..c415a311583 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 c760ccebce8..f847923b615 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