aboutsummaryrefslogtreecommitdiff
path: root/games/quake-data
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2014-07-08 08:51:31 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2014-07-08 08:51:31 +0000
commit0c65f94d0aa9b6fb6c1dbf68443136b7c8ae97a9 (patch)
treeffb83bca73db8505fa31a6a02f1b382119344955 /games/quake-data
parent8468884d337892d23edf18600b42d5bf7a22bf85 (diff)
downloadports-0c65f94d0aa9b6fb6c1dbf68443136b7c8ae97a9.tar.gz
ports-0c65f94d0aa9b6fb6c1dbf68443136b7c8ae97a9.zip
Reduce the differences between `quake*-data' ports:
- Consistently use vertical bar (pipe) in :S substitutions - Do not abuse .error statement, set IGNORE knob instead - Drop some unnecessary quotation marks in comparisons - Add a comment on why we cannot depend on particular .pak file - Simplify extraction of the `linuxq3apoint-1.32b-3.x86.run'
Notes
Notes: svn path=/head/; revision=361201
Diffstat (limited to 'games/quake-data')
-rw-r--r--games/quake-data/Makefile.include6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/quake-data/Makefile.include b/games/quake-data/Makefile.include
index c7ef90861f9c..a34a825adb69 100644
--- a/games/quake-data/Makefile.include
+++ b/games/quake-data/Makefile.include
@@ -5,13 +5,13 @@ Q1PKGNAMEPREFIX?= quake-
Q1DIR?= ${LOCALBASE}/share/quake
.if defined(PKGNAMEPREFIX) && ${PKGNAMEPREFIX} == ${Q1PKGNAMEPREFIX} && defined(OPTIONSMKINCLUDED)
-. error include before <bsd.port.options.mk> if using Q1PKGNAMEPREFIX
+IGNORE= is using Q1PKGNAMEPREFIX, but <bsd.port.options.mk> included too early
.endif
MAKE_ENV+= Q1DIR="${Q1DIR}"
-PLIST_SUB+= Q1DIR="${Q1DIR:S/${LOCALBASE}\///}"
+PLIST_SUB+= Q1DIR="${Q1DIR:S|${LOCALBASE}/||}"
SUB_LIST+= Q1DIR="${Q1DIR}"
-.if ${PORTNAME} != "data"
+.if ${PORTNAME} != data
RUN_DEPENDS+= ${Q1DIR}/id1/pak0.pak:${PORTSDIR}/games/quake-data
.endif