summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /games/openttd
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/PLIST58
-rw-r--r--games/openttd/options.mk8
2 files changed, 33 insertions, 33 deletions
diff --git a/games/openttd/PLIST b/games/openttd/PLIST
index b8f1fbb4f2c..a493480eaf8 100644
--- a/games/openttd/PLIST
+++ b/games/openttd/PLIST
@@ -1,41 +1,41 @@
-@comment $NetBSD: PLIST,v 1.9 2008/04/07 19:44:19 tnn Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/04/12 22:43:01 jlam Exp $
bin/openttd
share/openttd/data/generictrams_v0.4.grf
share/openttd/data/openttdd.grf
share/openttd/data/openttdw.grf
share/openttd/data/opntitle.dat
-${TTD_DATA}share/openttd/data/sample.cat
-${TTD_DATA}share/openttd/data/trg1r.grf
-${TTD_DATA}share/openttd/data/trgcr.grf
-${TTD_DATA}share/openttd/data/trghr.grf
-${TTD_DATA}share/openttd/data/trgir.grf
-${TTD_DATA}share/openttd/data/trgtr.grf
+${PLIST.ttd-data}share/openttd/data/sample.cat
+${PLIST.ttd-data}share/openttd/data/trg1r.grf
+${PLIST.ttd-data}share/openttd/data/trgcr.grf
+${PLIST.ttd-data}share/openttd/data/trghr.grf
+${PLIST.ttd-data}share/openttd/data/trgir.grf
+${PLIST.ttd-data}share/openttd/data/trgtr.grf
share/openttd/docs/32bpp.txt
share/openttd/docs/changelog.txt
share/openttd/docs/known-bugs.txt
share/openttd/docs/multiplayer.txt
-${TTD_DATA}share/openttd/gm/gm_tt00.gm
-${TTD_DATA}share/openttd/gm/gm_tt01.gm
-${TTD_DATA}share/openttd/gm/gm_tt02.gm
-${TTD_DATA}share/openttd/gm/gm_tt03.gm
-${TTD_DATA}share/openttd/gm/gm_tt04.gm
-${TTD_DATA}share/openttd/gm/gm_tt05.gm
-${TTD_DATA}share/openttd/gm/gm_tt06.gm
-${TTD_DATA}share/openttd/gm/gm_tt07.gm
-${TTD_DATA}share/openttd/gm/gm_tt08.gm
-${TTD_DATA}share/openttd/gm/gm_tt09.gm
-${TTD_DATA}share/openttd/gm/gm_tt10.gm
-${TTD_DATA}share/openttd/gm/gm_tt11.gm
-${TTD_DATA}share/openttd/gm/gm_tt12.gm
-${TTD_DATA}share/openttd/gm/gm_tt13.gm
-${TTD_DATA}share/openttd/gm/gm_tt14.gm
-${TTD_DATA}share/openttd/gm/gm_tt15.gm
-${TTD_DATA}share/openttd/gm/gm_tt16.gm
-${TTD_DATA}share/openttd/gm/gm_tt17.gm
-${TTD_DATA}share/openttd/gm/gm_tt18.gm
-${TTD_DATA}share/openttd/gm/gm_tt19.gm
-${TTD_DATA}share/openttd/gm/gm_tt20.gm
-${TTD_DATA}share/openttd/gm/gm_tt21.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt00.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt01.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt02.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt03.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt04.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt05.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt06.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt07.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt08.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt09.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt10.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt11.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt12.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt13.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt14.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt15.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt16.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt17.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt18.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt19.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt20.gm
+${PLIST.ttd-data}share/openttd/gm/gm_tt21.gm
share/openttd/lang/afrikaans.lng
share/openttd/lang/brazilian_portuguese.lng
share/openttd/lang/bulgarian.lng
diff --git a/games/openttd/options.mk b/games/openttd/options.mk
index b3ea7d0657f..f6eacb44af1 100644
--- a/games/openttd/options.mk
+++ b/games/openttd/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2008/04/07 19:44:19 tnn Exp $
+# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:01 jlam Exp $
.include "../../mk/bsd.prefs.mk"
@@ -8,8 +8,10 @@ PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= ttd-data
+
.if !empty(PKG_OPTIONS:Mttd-data)
-PLIST_SUBST+= TTD_DATA=""
+PLIST.ttd-data= yes
LICENSE= ttd-pseudolicense
RESTRICTED= No redistribution allowed
NO_BIN_ON_CDROM= ${RESTRICTED}
@@ -37,6 +39,4 @@ post-install-ttd-data: .PHONY
${INSTALL_DATA} ${WRKDIR}/$$f ${DATA_DIR}/data; done
${RUN} for f in ${GMFILES}; do \
${INSTALL_DATA} ${WRKDIR}/$$f ${DATA_DIR}/gm; done
-.else
-PLIST_SUBST+= TTD_DATA="@comment "
.endif