aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake3-data/Makefile.include
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-05-12 14:35:05 +0800
committerdanfe <danfe@FreeBSD.org>2013-05-12 14:35:05 +0800
commit21331e856d86bbccf4a8a14b3761e35227b69126 (patch)
tree53f9365d230def53724ebf876a9ebfcf5a9a5b69 /games/quake3-data/Makefile.include
parent5cdd435b52ee9c3569a74925bf6839c9fae9143b (diff)
downloadfreebsd-ports-gnome-21331e856d86bbccf4a8a14b3761e35227b69126.tar.gz
freebsd-ports-gnome-21331e856d86bbccf4a8a14b3761e35227b69126.tar.zst
freebsd-ports-gnome-21331e856d86bbccf4a8a14b3761e35227b69126.zip
- Slightly improve usage description (comment) in quake2-data/Makefile.include
- Synchronize other games' -data/Makefile.include files (consistently use LOCALBASE, drop obvious comments, adjust formatting, etc.)
Diffstat (limited to 'games/quake3-data/Makefile.include')
-rw-r--r--games/quake3-data/Makefile.include14
1 files changed, 3 insertions, 11 deletions
diff --git a/games/quake3-data/Makefile.include b/games/quake3-data/Makefile.include
index 217386828243..dbd7ff998c07 100644
--- a/games/quake3-data/Makefile.include
+++ b/games/quake3-data/Makefile.include
@@ -1,25 +1,17 @@
# Makefile for defining variables used by other Quake3 related ports. See
-# `games/quake2-data/Makefile.include' for extensive description.
-
-# Set variables
+# `games/quake2-data/Makefile.include' for extensive description and usage.
Q3PKGNAMEPREFIX?= quake3-
-Q3DIR?= ${PREFIX}/share/quake3
-
-# Add them to the environment
+Q3DIR?= ${LOCALBASE}/share/quake3
MAKE_ENV+= Q3DIR="${Q3DIR}"
-PLIST_SUB+= Q3DIR="${Q3DIR:S/${PREFIX}\///}"
+PLIST_SUB+= Q3DIR="${Q3DIR:S/${LOCALBASE}\///}"
SUB_LIST+= Q3DIR="${Q3DIR}"
-# Add the dependency
-
.if ${PORTNAME} != "data"
RUN_DEPENDS+= ${Q3DIR}/baseq3/pak1.pk3:${PORTSDIR}/games/quake3-data
.endif
-# DOS to Unix text conversion
-
.if defined(USE_CRLF)
. if defined(USE_ZIP)
EXTRACT_BEFORE_ARGS= -aqo