aboutsummaryrefslogtreecommitdiff
path: root/games/quake3-data
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-12 06:35:05 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-05-12 06:35:05 +0000
commit459303bbf89ffb7d06079da088a4cc1b4961fb93 (patch)
tree53f9365d230def53724ebf876a9ebfcf5a9a5b69 /games/quake3-data
parenta4336b798b285774b3b1fb7fdc8d492b389543c5 (diff)
downloadports-459303bbf89ffb7d06079da088a4cc1b4961fb93.tar.gz
ports-459303bbf89ffb7d06079da088a4cc1b4961fb93.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.)
Notes
Notes: svn path=/head/; revision=317933
Diffstat (limited to 'games/quake3-data')
-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