aboutsummaryrefslogtreecommitdiffstats
path: root/games/darkplaces
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-06-03 23:54:29 +0800
committerpav <pav@FreeBSD.org>2010-06-03 23:54:29 +0800
commit53f4b372e0b67aa39ec24b0473e3454201de1c92 (patch)
treefddadccc505dc31b17790691a28204f894c9d8af /games/darkplaces
parent37d148ed9c0d6a016f957b09a710ba200db77dae (diff)
downloadfreebsd-ports-gnome-53f4b372e0b67aa39ec24b0473e3454201de1c92.tar.gz
freebsd-ports-gnome-53f4b372e0b67aa39ec24b0473e3454201de1c92.tar.zst
freebsd-ports-gnome-53f4b372e0b67aa39ec24b0473e3454201de1c92.zip
- Convert unzip -a to USE_DOS2UNIX
PR: ports/146533 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
Diffstat (limited to 'games/darkplaces')
-rw-r--r--games/darkplaces/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile
index 57a591e0727c..6d7929a6d82a 100644
--- a/games/darkplaces/Makefile
+++ b/games/darkplaces/Makefile
@@ -18,6 +18,7 @@ COMMENT= Quake engine modification
USE_ZIP= yes
USE_GMAKE= yes
USE_XORG= xxf86dga xpm
+USE_DOS2UNIX= darkplaces.txt
MAKE_ENV= DP_FS_BASEDIR="${Q1DIR}"
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -68,8 +69,8 @@ PLIST_FILES+= bin/${PORTNAME}-sdl
.endif
post-extract:
- @${UNZIP_CMD} -aq \
- -o ${WRKDIR}/${PORTNAME}enginesource${PORTVERSION}.zip \
+ @${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} \
+ ${WRKDIR}/${PORTNAME}enginesource${PORTVERSION}.zip \
-d ${WRKDIR}
do-install:
@@ -80,7 +81,7 @@ do-install:
@${TOUCH} ${DATADIR}/dummy
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/darkplaces.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/darkplaces.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>