diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/duke3d/Makefile | 8 | ||||
-rw-r--r-- | games/duke3d/pkg-plist | 2 |
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 |