aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake2-data
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2014-07-08 16:51:31 +0800
committerdanfe <danfe@FreeBSD.org>2014-07-08 16:51:31 +0800
commit688ab61be741f66220dfbf93ffa516bc525506ca (patch)
treeffb83bca73db8505fa31a6a02f1b382119344955 /games/quake2-data
parent101e9e81e6de0ed88e612ad3fad7f1a5c53927e7 (diff)
downloadfreebsd-ports-gnome-688ab61be741f66220dfbf93ffa516bc525506ca.tar.gz
freebsd-ports-gnome-688ab61be741f66220dfbf93ffa516bc525506ca.tar.zst
freebsd-ports-gnome-688ab61be741f66220dfbf93ffa516bc525506ca.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'
Diffstat (limited to 'games/quake2-data')
-rw-r--r--games/quake2-data/Makefile.include5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/quake2-data/Makefile.include b/games/quake2-data/Makefile.include
index 3b83e37ccb4d..2f52221b769c 100644
--- a/games/quake2-data/Makefile.include
+++ b/games/quake2-data/Makefile.include
@@ -48,7 +48,7 @@
Q2PKGNAMEPREFIX?= quake2-
Q2DIR?= ${LOCALBASE}/share/quake2
-.if defined(PKGNAMEPREFIX) && ${PKGNAMEPREFIX} == "${Q2PKGNAMEPREFIX}" && defined(OPTIONSMKINCLUDED)
+.if defined(PKGNAMEPREFIX) && ${PKGNAMEPREFIX} == ${Q2PKGNAMEPREFIX} && defined(OPTIONSMKINCLUDED)
IGNORE= is using Q2PKGNAMEPREFIX, but <bsd.port.options.mk> included too early
.endif
@@ -56,6 +56,7 @@ MAKE_ENV+= Q2DIR="${Q2DIR}"
PLIST_SUB+= Q2DIR="${Q2DIR:S|${LOCALBASE}/||}"
SUB_LIST+= Q2DIR="${Q2DIR}"
-.if ${PORTNAME} != "data"
+.if ${PORTNAME} != data
+# Not depending on the particular .pak file since they are OPTIONS-dependent
RUN_DEPENDS+= ${Q2DIR}:${PORTSDIR}/games/quake2-data
.endif