aboutsummaryrefslogtreecommitdiffstats
path: root/games/doom-hr
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2014-06-06 23:26:41 +0800
committerak <ak@FreeBSD.org>2014-06-06 23:26:41 +0800
commit0f745f489ad0222501a397101b34d7d775d2e7eb (patch)
treee64e38f3c341f18dafeb8cfc804d3d868ce5881f /games/doom-hr
parenta96bbf53e83e05784f9f205c0c9f1801f6b1b416 (diff)
downloadfreebsd-ports-gnome-0f745f489ad0222501a397101b34d7d775d2e7eb.tar.gz
freebsd-ports-gnome-0f745f489ad0222501a397101b34d7d775d2e7eb.tar.zst
freebsd-ports-gnome-0f745f489ad0222501a397101b34d7d775d2e7eb.zip
- Use /usr/bin/unzip for zip files extraction (part 2)
Remove most of USES=zip:infozip PR: ports/188419 Approved by: portmgr (bapt) Exp-run: antoine
Diffstat (limited to 'games/doom-hr')
-rw-r--r--games/doom-hr/Makefile6
-rw-r--r--games/doom-hr/scripts/lowercase.sh8
2 files changed, 2 insertions, 12 deletions
diff --git a/games/doom-hr/Makefile b/games/doom-hr/Makefile
index 7e289354b639..61c65460c4c6 100644
--- a/games/doom-hr/Makefile
+++ b/games/doom-hr/Makefile
@@ -17,9 +17,10 @@ DIST_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Hell Revealed is a megawad, a 32-level replacement for DooM II
-USES= zip:infozip
+USES= zip
NO_BUILD= yes
NO_WRKSUBDIR= yes
+EXTRACT_BEFORE_ARGS= -Lqo
OPTIONS_DEFINE= DEMO_NM DEMO_UV DOCS
OPTIONS_DEFAULT= DEMO_NM DEMO_UV
@@ -33,9 +34,6 @@ DATADIR= ${DMDIR}/${PORTNAME}
DEMO_NM_DISTFILES= hrhelp${EXTRACT_SUFX}
DEMO_UV_DISTFILES= hruvlmp2${EXTRACT_SUFX}
-post-extract:
- @(cd ${WRKDIR} && ${SH} ${SCRIPTDIR}/lowercase.sh)
-
.include "${.CURDIR}/../doom-data/Makefile.include"
.include <bsd.port.options.mk>
diff --git a/games/doom-hr/scripts/lowercase.sh b/games/doom-hr/scripts/lowercase.sh
deleted file mode 100644
index 0a61219d046d..000000000000
--- a/games/doom-hr/scripts/lowercase.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-for x in *; do
- y=`echo $x | tr '[A-Z]' '[a-z]'`
- if [ $x != $y ]; then
- mv $x $y
- fi
-done