aboutsummaryrefslogtreecommitdiffstats
path: root/games/quake-data
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-04-25 05:10:14 +0800
committeralepulver <alepulver@FreeBSD.org>2006-04-25 05:10:14 +0800
commit03e6a24a88518f3d0d053a6f414f0a9d2c316000 (patch)
tree1318538607d70563dd2e5117317de08a8bf318f5 /games/quake-data
parent4b45473db8ae0cf4366ab443933a883750204235 (diff)
downloadfreebsd-ports-gnome-03e6a24a88518f3d0d053a6f414f0a9d2c316000.tar.gz
freebsd-ports-gnome-03e6a24a88518f3d0d053a6f414f0a9d2c316000.tar.zst
freebsd-ports-gnome-03e6a24a88518f3d0d053a6f414f0a9d2c316000.zip
- Fix OPTIONS handling.
- Remove '@' from installation commands. - Format tabs. - Bump PORTREVISION. Approved by: garga (mentor)
Diffstat (limited to 'games/quake-data')
-rw-r--r--games/quake-data/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/games/quake-data/Makefile b/games/quake-data/Makefile
index 36b83b8ea8f3..84ad4f2234e4 100644
--- a/games/quake-data/Makefile
+++ b/games/quake-data/Makefile
@@ -7,6 +7,7 @@
PORTNAME= data
PORTVERSION= 1.0.6
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.libsdl.org/projects/quake/data/:qs
PKGNAMEPREFIX= ${Q1PKGNAMEPREFIX}
@@ -43,13 +44,13 @@ PLIST_SUB+= FULL=""
PLIST_SUB+= FULL="@comment "
.endif
-.if defined(WITH_QUAKEWORLD)
+.if !defined(WITHOUT_QUAKEWORLD)
MASTER_SITES+= ${MASTER_SITE_IDSOFTWARE:S|$|quakeworld/unix/:qw|}
DISTFILES+= ${PROGFILE}:qw
EXTRACT_ONLY+= ${PROGFILE}
PLIST_SUB+= QUAKEWORLD=""
-.if defined(WITH_QUAKEWORLD_SKINS)
+.if !defined(WITHOUT_QUAKEWORLD_SKINS)
MASTER_SITES+= ${MASTER_SITE_IDSOFTWARE:S|$|quakeworld/skins/:skins|}
DISTFILES+= ${SKINFILES:S/$/:skins/}
EXTRACT_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
@@ -60,7 +61,7 @@ PLIST_SUB+= QUAKEWORLD_SKINS="@comment "
.else
PLIST_SUB+= QUAKEWORLD="@comment "
-.endif # WITH_QUAKEWORLD
+.endif # !WITHOUT_QUAKEWORLD
pre-fetch:
.if defined(WITH_FULL) && !exists(${DISTDIR}/${DIST_SUBDIR}/pak1.pak)
@@ -71,23 +72,22 @@ pre-fetch:
.endif
do-install:
- @${MKDIR} ${DATADIR}
- @${MKDIR} ${DATADIR}/id1
- @${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak ${DATADIR}/id1
+ ${MKDIR} ${DATADIR}/id1
+ ${INSTALL_DATA} ${WRKSRC}/id1/pak0.pak ${DATADIR}/id1
.if defined(WITH_FULL)
- @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pak1.pak ${DATADIR}/id1
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/pak1.pak ${DATADIR}/id1
.endif
-.if defined(WITH_QUAKEWORLD)
+.if !defined(WITHOUT_QUAKEWORLD)
@${MKDIR} ${DATADIR}/qw
@${INSTALL_DATA} ${WRKSRC}/qw/qwprogs.dat ${DATADIR}/qw
@${MKDIR} ${DATADIR}/qw/skins
@${INSTALL_SCRIPT} ${WRKSRC}/qw/skins/fixskins.sh ${DATADIR}/qw/skins
-. if defined(WITH_QUAKEWORLD_SKINS)
-. for f in ${SKINFILES}
- @${UNZIP_CMD} -nq ${DISTDIR}/${DIST_SUBDIR}/${f} -d ${DATADIR}/qw/skins
-. endfor
- @(cd ${DATADIR}/qw/skins && LANG=C ./fixskins.sh *)
-. endif
-.endif # WITH_QUAKEWORLD
+. if !defined(WITHOUT_QUAKEWORLD_SKINS)
+. for f in ${SKINFILES}
+ @${UNZIP_CMD} -nq ${DISTDIR}/${DIST_SUBDIR}/${f} -d ${DATADIR}/qw/skins
+. endfor
+ @(cd ${DATADIR}/qw/skins && LANG=C ./fixskins.sh *)
+. endif
+.endif # !WITHOUT_QUAKEWORLD
.include <bsd.port.post.mk>