aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-12-22 21:38:23 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-12-22 21:38:23 +0000
commit877e37b717d718c287c6d0a611fa3d8993d86870 (patch)
tree8f560639a4f7f514abb615fbbc4bb4b50c56421d /games
parent01a23031a1d15f01c10a311691493992b7fb96e6 (diff)
downloadports-877e37b717d718c287c6d0a611fa3d8993d86870.tar.gz
ports-877e37b717d718c287c6d0a611fa3d8993d86870.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/avoision/Makefile1
-rw-r--r--games/cretan-hubris/Makefile1
-rw-r--r--games/criticalmass/Makefile1
-rw-r--r--games/darkplaces/Makefile1
-rw-r--r--games/doom-freedoom/Makefile1
-rw-r--r--games/doom-hacx/Makefile1
-rw-r--r--games/doom-hr2/Makefile1
-rw-r--r--games/dungeon/Makefile1
-rw-r--r--games/edge/Makefile1
-rw-r--r--games/fairymax/Makefile1
-rw-r--r--games/fbg2/Makefile1
-rw-r--r--games/flightgear-aircraft/Makefile1
-rw-r--r--games/flightgear-data/Makefile1
-rw-r--r--games/flightgear-mb339-pan/Makefile1
-rw-r--r--games/freera/Makefile1
-rw-r--r--games/freesweep/Makefile1
-rw-r--r--games/ftjava/Makefile11
-rw-r--r--games/jchessboard/Makefile1
-rw-r--r--games/jinput/Makefile1
-rw-r--r--games/jutils/Makefile1
-rw-r--r--games/linux-enemyterritory-shrub/Makefile1
-rw-r--r--games/linux-ut2003-demo/Makefile1
-rw-r--r--games/lwjgl/Makefile2
-rw-r--r--games/marsnomercy/Makefile1
-rw-r--r--games/maxr/Makefile4
-rw-r--r--games/naev-data/Makefile1
-rw-r--r--games/oldrunner/Makefile1
-rw-r--r--games/openpref/Makefile1
-rw-r--r--games/pcgen/Makefile1
-rw-r--r--games/phalanx/Makefile1
-rw-r--r--games/quadra/Makefile1
-rw-r--r--games/quake2-rogue/Makefile1
-rw-r--r--games/quake2-xatrix/Makefile1
-rw-r--r--games/redeclipse/Makefile1
-rw-r--r--games/reminiscence/Makefile1
-rw-r--r--games/sauerbraten/Makefile1
-rw-r--r--games/scourge-data/Makefile1
-rw-r--r--games/shaaft/Makefile1
-rw-r--r--games/spicetrade/Makefile1
-rw-r--r--games/starfighter/Makefile1
-rw-r--r--games/sudoku/Makefile1
-rw-r--r--games/thegrind/Makefile1
-rw-r--r--games/tuxpaint-fonts/Makefile1
-rw-r--r--games/widelands/Makefile2
-rw-r--r--games/wmshuffle/Makefile1
-rw-r--r--games/wordplay/Makefile1
-rw-r--r--games/xcowsay/Makefile1
-rw-r--r--games/xpuzzletama/Makefile1
-rw-r--r--games/xrick/Makefile1
-rw-r--r--games/xteddy/Makefile1
-rw-r--r--games/xwelltris/Makefile1
-rw-r--r--games/xwordpy/Makefile1
-rw-r--r--games/xworm/Makefile1
-rw-r--r--games/zoom/Makefile1
54 files changed, 69 insertions, 0 deletions
diff --git a/games/avoision/Makefile b/games/avoision/Makefile
index 4f5e7f4d5c40..e2bcfde207d8 100644
--- a/games/avoision/Makefile
+++ b/games/avoision/Makefile
@@ -33,6 +33,7 @@ PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png \
%%DATADIR%%/${PORTNAME}.zip
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= ChangeLog
diff --git a/games/cretan-hubris/Makefile b/games/cretan-hubris/Makefile
index 1b96e17166ae..afda85395955 100644
--- a/games/cretan-hubris/Makefile
+++ b/games/cretan-hubris/Makefile
@@ -33,5 +33,6 @@ PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png \
%%DATADIR%%/${PORTNAME}.zip
+PLIST_DIRS= %%DATADIR%%
.include <bsd.port.mk>
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
index 31d0a067f21e..393da39a0066 100644
--- a/games/criticalmass/Makefile
+++ b/games/criticalmass/Makefile
@@ -39,6 +39,7 @@ PLIST_FILES= bin/Packer \
man/man6/critter.6.gz \
share/Critical_Mass/lg-criti.xm \
share/Critical_Mass/resource.dat
+PLIST_DIRS= share/Critical_Mass
DESKTOP_ENTRIES="CriticallMass" "" "" "critter" "" ""
diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile
index e0c1a3d88345..a4b40a00323f 100644
--- a/games/darkplaces/Makefile
+++ b/games/darkplaces/Makefile
@@ -30,6 +30,7 @@ DEDICATED_DESC= Build dedicated server
SDL_DESC= Build SDL client
PLIST_FILES= %%DATADIR%%/dummy
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= darkplaces.txt
.include "${.CURDIR}/../quake-data/Makefile.include"
diff --git a/games/doom-freedoom/Makefile b/games/doom-freedoom/Makefile
index 934cb8aea79f..e3eed18479f7 100644
--- a/games/doom-freedoom/Makefile
+++ b/games/doom-freedoom/Makefile
@@ -19,6 +19,7 @@ DATADIR= ${DMDIR}/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PLIST_FILES= %%DATADIR%%/doom2.wad
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
diff --git a/games/doom-hacx/Makefile b/games/doom-hacx/Makefile
index 815630fdc3f4..9dc24c5bef95 100644
--- a/games/doom-hacx/Makefile
+++ b/games/doom-hacx/Makefile
@@ -19,6 +19,7 @@ NO_WRKSUBDIR= yes
DATADIR= ${DMDIR}/${PORTNAME}
PLIST_FILES= %%DATADIR%%/${DISTNAME}
+PLIST_DIRS= %%DATADIR%%
.include "${.CURDIR}/../doom-data/Makefile.include"
diff --git a/games/doom-hr2/Makefile b/games/doom-hr2/Makefile
index c16def9fa8d9..b7ab5dd1eedc 100644
--- a/games/doom-hr2/Makefile
+++ b/games/doom-hr2/Makefile
@@ -18,6 +18,7 @@ NO_WRKSUBDIR= yes
DATADIR= ${DMDIR}/${PORTNAME}
PLIST_FILES= %%DATADIR%%/hr2final.wad
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= hr2final.txt
OPTIONS_DEFINE= DOCS
diff --git a/games/dungeon/Makefile b/games/dungeon/Makefile
index f2a1cbfc45df..d651a5cd97b0 100644
--- a/games/dungeon/Makefile
+++ b/games/dungeon/Makefile
@@ -28,6 +28,7 @@ PLIST_FILES= bin/dungeon \
man/man6/dungeon.6.gz \
%%DATADIR%%/dundat \
%%PORTDOCS%%%%DOCSDIR%%/dungn32b.zip
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= HISTORY MANIFEST README
diff --git a/games/edge/Makefile b/games/edge/Makefile
index 438702f7227c..284b67f96978 100644
--- a/games/edge/Makefile
+++ b/games/edge/Makefile
@@ -30,6 +30,7 @@ CFLAGS+= -ffast-math
WRKSRC= ${WRKDIR}/Edge-${PORTVERSION}-source
PLIST_FILES= bin/edge %%DMDIR%%/edge.wad
+PLIST_DIRSTRY= %%DMDIR%%
PORTDOCS= *
OPTIONS_DEFINE= DOCS
diff --git a/games/fairymax/Makefile b/games/fairymax/Makefile
index 4ee359e85903..39a0a896cbe0 100644
--- a/games/fairymax/Makefile
+++ b/games/fairymax/Makefile
@@ -32,6 +32,7 @@ PLIST_FILES= bin/${PORTNAME} \
man/man6/maxqi.6.gz \
%%DATADIR%%/fmax.ini \
%%DATADIR%%/qmax.ini
+PLIST_DIRS= %%DATADIR%%
USES= gmake perl5
USE_PERL5= build
diff --git a/games/fbg2/Makefile b/games/fbg2/Makefile
index 15cac7fb035e..ca08a163b006 100644
--- a/games/fbg2/Makefile
+++ b/games/fbg2/Makefile
@@ -33,6 +33,7 @@ PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png \
%%DATADIR%%/${PORTNAME}.zip
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= ChangeLog
OPTIONS_DEFINE= DOCS
diff --git a/games/flightgear-aircraft/Makefile b/games/flightgear-aircraft/Makefile
index 80024c9e6cc7..c88fad94b453 100644
--- a/games/flightgear-aircraft/Makefile
+++ b/games/flightgear-aircraft/Makefile
@@ -64,6 +64,7 @@ EXTRACT_AFTER_ARGS= -d ${WRKSRC}
DATADIR= ${PREFIX}/share/flightgear/Aircraft
PLIST= ${WRKDIR}/pkg-plist
+PLIST_DIRS= %%DATADIR%%
pre-extract:
@${MKDIR} ${WRKSRC}
diff --git a/games/flightgear-data/Makefile b/games/flightgear-data/Makefile
index aff530238bfe..af671935c22b 100644
--- a/games/flightgear-data/Makefile
+++ b/games/flightgear-data/Makefile
@@ -23,6 +23,7 @@ WRKSRC= ${WRKDIR}/fgdata
DATADIR= ${PREFIX}/share/flightgear
PLIST= ${WRKDIR}/pkg-plist
+PLIST_DIRS= %%DATADIR%%
MANUAL_PACKAGE_BUILD= very large distfile (>1 GB)
diff --git a/games/flightgear-mb339-pan/Makefile b/games/flightgear-mb339-pan/Makefile
index a2ceca885fa5..c2e9918d9c53 100644
--- a/games/flightgear-mb339-pan/Makefile
+++ b/games/flightgear-mb339-pan/Makefile
@@ -22,6 +22,7 @@ EXTRACT_AFTER_ARGS= -d ${WRKSRC}
DATADIR= ${PREFIX}/share/flightgear/Aircraft
PLIST= ${WRKDIR}/pkg-plist
+PLIST_DIRS= %%DATADIR%%
pre-extract:
@${MKDIR} ${WRKSRC}
diff --git a/games/freera/Makefile b/games/freera/Makefile
index a81cbc7fb03c..2cbc897f0cb5 100644
--- a/games/freera/Makefile
+++ b/games/freera/Makefile
@@ -20,6 +20,7 @@ SUB_FILES= pkg-message
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
+PLIST_DIRS= %%DATADIR%%/mix
post-patch:
@${MV} ${WRKSRC}/SConstruct ${WRKSRC}/SConstruct.orig
diff --git a/games/freesweep/Makefile b/games/freesweep/Makefile
index 11d098db7b2e..cd25380b428c 100644
--- a/games/freesweep/Makefile
+++ b/games/freesweep/Makefile
@@ -23,6 +23,7 @@ ALL_TARGET= ${PORTNAME}
PORTDOCS= CHANGES README
PLIST_FILES= "@(,games,2555) bin/${PORTNAME}" man/man6/${PORTNAME}.6.gz \
%%DATADIR%%/sweeprc "@(,games,0664) %%DATADIR%%/sweeptimes"
+PLIST_DIRS= %%DATADIR%%
OPTIONS_DEFINE= DOCS
diff --git a/games/ftjava/Makefile b/games/ftjava/Makefile
index 3bd1ee2b6a82..500223625b76 100644
--- a/games/ftjava/Makefile
+++ b/games/ftjava/Makefile
@@ -33,6 +33,17 @@ DATAFILES= Images IncomingGames OutgoingGames Ships FTJava.jar \
PLIST_FILES= bin/ftjava
PORTDOCS= FTJava_Linux.html faq.html FTJava_Documentation.html
PORTDATA= *
+PLIST_DIRS= %%DATADIR%%/Ships/FullThrust/Kravak \
+ %%DATADIR%%/Ships/EFSB/NonAligned \
+ %%DATADIR%%/OutgoingGames \
+ %%DATADIR%%/IncomingGames \
+ %%DATADIR%%/Images/StarFleetWars/Terran \
+ %%DATADIR%%/Images/StarFleetWars/Entomalian \
+ %%DATADIR%%/Images/ShipIcons/StarFleetWars \
+ %%DATADIR%%/Images/ShipIcons/FullThrust \
+ %%DATADIR%%/Images/FullThrust/Sylvian \
+ %%DATADIR%%/Images/FullThrust/Kali \
+ %%DATADIR%%/Images/FullThrust/Eurasian
SUB_FILES= ftjava.sh
diff --git a/games/jchessboard/Makefile b/games/jchessboard/Makefile
index 0ace7fc38aa2..ca530bb39303 100644
--- a/games/jchessboard/Makefile
+++ b/games/jchessboard/Makefile
@@ -22,6 +22,7 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/${JARFILE}
+PLIST_DIRS= %%DATADIR%%
SUB_FILES= ${PORTNAME}
SUB_LIST+= JARFILE=${JARFILE} \
PORTNAME=${PORTNAME}
diff --git a/games/jinput/Makefile b/games/jinput/Makefile
index a941e3e4c5b1..3bab7a2756d8 100644
--- a/games/jinput/Makefile
+++ b/games/jinput/Makefile
@@ -21,6 +21,7 @@ USE_ANT= yes
ALL_TARGET= simple_linux
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar
+PLIST_DIRS= %%JAVAJARDIR%%/${PORTNAME}
post-patch:
@${LN} -sf ${JAVALIBDIR}/jutils/jutils.jar ${WRKSRC}/lib/
diff --git a/games/jutils/Makefile b/games/jutils/Makefile
index 1c3974b9cbbf..02991c2a1c40 100644
--- a/games/jutils/Makefile
+++ b/games/jutils/Makefile
@@ -17,6 +17,7 @@ JAVA_VENDOR= openjdk
USE_ANT= YES
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar
+PLIST_DIRS= %%JAVAJARDIR%%/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
diff --git a/games/linux-enemyterritory-shrub/Makefile b/games/linux-enemyterritory-shrub/Makefile
index c5f84217ff7a..48e2231b3de6 100644
--- a/games/linux-enemyterritory-shrub/Makefile
+++ b/games/linux-enemyterritory-shrub/Makefile
@@ -24,6 +24,7 @@ DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME}
PLIST_FILES= bin/et-${PORTNAME} \
bin/etded-${PORTNAME} \
%%DATADIR%%/qagame.mp.i386.so
+PLIST_DIRS= %%DATADIR%%
do-build:
.for f in et etded
diff --git a/games/linux-ut2003-demo/Makefile b/games/linux-ut2003-demo/Makefile
index efd4ee73a5c4..3e7b6b590d15 100644
--- a/games/linux-ut2003-demo/Makefile
+++ b/games/linux-ut2003-demo/Makefile
@@ -29,6 +29,7 @@ SUB_LIST= UTDIR="${UTDIR}"
PLIST_FILES= bin/ut2003-demo \
%%DATADIR%%/UT2003Logo.bmp %%DATADIR%%/Unreal.xpm
+PLIST_DIRS= ${UTDIR_REL} %%DATADIR%%
PORTDOCS= *
LIBDIRS= Animations Benchmark ForceFeedback KarmaData Maps Music \
diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile
index eb9bfec8ee74..717491e21a10 100644
--- a/games/lwjgl/Makefile
+++ b/games/lwjgl/Makefile
@@ -37,6 +37,8 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar \
%%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}_test.jar \
%%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}_util.jar \
%%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}_util_applet.jar
+PLIST_DIRS= %%JAVAJARDIR%%/${PORTNAME} \
+ lib/${PORTNAME}${PORTVERSION}
.include <bsd.port.pre.mk>
diff --git a/games/marsnomercy/Makefile b/games/marsnomercy/Makefile
index 4b8396f9be03..a8ce1c497d04 100644
--- a/games/marsnomercy/Makefile
+++ b/games/marsnomercy/Makefile
@@ -24,6 +24,7 @@ WRKSRC= ${WRKDIR}/mars-${PORTVERSION}
PLIST_FILES= bin/mars-nomercy \
libexec/mars
+PLIST_DIRS= %%DATADIR%%/img/units/mercenaries
PORTDATA= *
OPTIONS_DEFINE= DEBUG OPENGL
diff --git a/games/maxr/Makefile b/games/maxr/Makefile
index ee70223280a8..3ba306486805 100644
--- a/games/maxr/Makefile
+++ b/games/maxr/Makefile
@@ -19,6 +19,10 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
+PLIST_DIRS= %%DATADIR%%/voices \
+ %%DATADIR%%/vehicles/sub/sub \
+ %%DATADIR%%/save \
+ %%DATADIR%%/mve
DESKTOP_ENTRIES="M.A.X.R." \
"Mechanized Assault and Exploration Reloaded" \
diff --git a/games/naev-data/Makefile b/games/naev-data/Makefile
index 1569e158139f..9c1e774f7c8f 100644
--- a/games/naev-data/Makefile
+++ b/games/naev-data/Makefile
@@ -19,6 +19,7 @@ NO_BUILD= yes
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX:S/-//}
PLIST_FILES= share/${PKGNAMEPREFIX:S/-//}/${PORTNAME:S/^/n/}-${PORTVERSION}
+PLIST_DIRS= share/${PKGNAMEPREFIX:S/-//}
do-extract:
@@${MKDIR} ${WRKSRC}
diff --git a/games/oldrunner/Makefile b/games/oldrunner/Makefile
index 89c2ef8ebe9b..897294c153a5 100644
--- a/games/oldrunner/Makefile
+++ b/games/oldrunner/Makefile
@@ -19,6 +19,7 @@ MAKEFILE= GNUmakefile
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/oldrunner ${DATADIR_REL}/original.lvl man/man6/oldrunner.6.gz
+PLIST_DIRS= ${DATADIR_REL}
post-patch:
${REINPLACE_CMD} -e '/LEVELS_PATH/s,/usr/local/share/oldrunner,${DATADIR},g' \
diff --git a/games/openpref/Makefile b/games/openpref/Makefile
index 2f3f7f8ee6b5..78122fdf34da 100644
--- a/games/openpref/Makefile
+++ b/games/openpref/Makefile
@@ -19,6 +19,7 @@ MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/${PORTNAME} \
%%DATADIR%%/i18n/${PORTNAME}_ru.qm \
share/pixmaps/${PORTNAME}.png
+PLIST_DIRS= %%DATADIR%%/i18n %%DATADIR%%
PORTDOCS= AUTHORS BUGS NEWS README THANKS
OPTIONS_DEFINE= DOCS
diff --git a/games/pcgen/Makefile b/games/pcgen/Makefile
index 5ddbcf8175c3..2d0babf7927d 100644
--- a/games/pcgen/Makefile
+++ b/games/pcgen/Makefile
@@ -25,6 +25,7 @@ SUB_FILES= pcgen.sh
PLIST_FILES= bin/pcgen
PORTDATA= *
PORTDOCS= *
+PLIST_DIRS= %%DATADIR%%/characters
OPTIONS_DEFINE= DOCS
diff --git a/games/phalanx/Makefile b/games/phalanx/Makefile
index 61a47bd8906e..ee3224fdcadd 100644
--- a/games/phalanx/Makefile
+++ b/games/phalanx/Makefile
@@ -31,6 +31,7 @@ PLIST_FILES= bin/phalanx \
%%DATADIR%%/eco.phalanx \
%%DATADIR%%/pbook.phalanx \
%%DATADIR%%/sbook.phalanx
+PLIST_DIRS= %%DATADIR%%
OPTIONS_DEFINE= DOCS
diff --git a/games/quadra/Makefile b/games/quadra/Makefile
index 18ad9938dbf7..4504059b59c5 100644
--- a/games/quadra/Makefile
+++ b/games/quadra/Makefile
@@ -26,6 +26,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/${PORTNAME} \
share/games/${PORTNAME}.res \
share/pixmaps/${PORTNAME}.xpm
+PLIST_DIRSTRY= share/games
DESKTOP_ENTRIES= "Quadra" "${COMMENT}" \
"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
diff --git a/games/quake2-rogue/Makefile b/games/quake2-rogue/Makefile
index 471d76936bd7..52476622005f 100644
--- a/games/quake2-rogue/Makefile
+++ b/games/quake2-rogue/Makefile
@@ -16,6 +16,7 @@ NO_WRKSUBDIR= yes
SUB_FILES= pkg-message
PLIST_FILES= %%Q2DIR%%/${PORTNAME}/game.so
+PLIST_DIRS= %%Q2DIR%%/${PORTNAME}
do-extract:
@${MKDIR} ${WRKDIR}
diff --git a/games/quake2-xatrix/Makefile b/games/quake2-xatrix/Makefile
index 6e3b0572805c..b10ff66b5d5b 100644
--- a/games/quake2-xatrix/Makefile
+++ b/games/quake2-xatrix/Makefile
@@ -16,6 +16,7 @@ NO_WRKSUBDIR= yes
SUB_FILES= pkg-message
PLIST_FILES= %%Q2DIR%%/${PORTNAME}/game.so
+PLIST_DIRS= %%Q2DIR%%/${PORTNAME}
do-extract:
@${MKDIR} ${WRKDIR}
diff --git a/games/redeclipse/Makefile b/games/redeclipse/Makefile
index 22dba461375a..feea9477e184 100644
--- a/games/redeclipse/Makefile
+++ b/games/redeclipse/Makefile
@@ -31,6 +31,7 @@ SUB_FILES= ${PORTNAME} ${PORTNAME}_server
PORTDATA= *
PORTDOCS= *
+PLIST_DIRS= %%DATADIR%%/data/brush
OPTIONS_DEFINE= OPTIMIZED_CFLAGS DOCS
OPTIONS_MULTI= COMPONENTS
diff --git a/games/reminiscence/Makefile b/games/reminiscence/Makefile
index ebbfc37f74b2..d44a6da87589 100644
--- a/games/reminiscence/Makefile
+++ b/games/reminiscence/Makefile
@@ -21,6 +21,7 @@ SUB_FILES= pkg-message
PORTDOCS= README
PLIST_FILES= bin/remin
+PLIST_DIRSTRY= %%DATADIR%%/data %%DATADIR%%
OPTIONS_DEFINE= DOCS
diff --git a/games/sauerbraten/Makefile b/games/sauerbraten/Makefile
index 306e8103b263..393c93b2eaf0 100644
--- a/games/sauerbraten/Makefile
+++ b/games/sauerbraten/Makefile
@@ -25,6 +25,7 @@ ALL_TARGET= libenet
PORTDATA= data packages
PORTDOCS= *
+PLIST_DIRS= %%DATADIR%%/packages/brush
OPTIONS_MULTI= BUILD
OPTIONS_MULTI_BUILD= CLIENT DEDICATED MASTER
diff --git a/games/scourge-data/Makefile b/games/scourge-data/Makefile
index 070e63e62245..778c3e458cfa 100644
--- a/games/scourge-data/Makefile
+++ b/games/scourge-data/Makefile
@@ -17,6 +17,7 @@ NO_ARCH= *
WRKSRC= ${WRKDIR}/scourge_data
DATADIR= ${PREFIX}/share/scourge
PORTDATA= *
+PLIST_DIRS= %%DATADIR%%/world
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile
index 7f1547e1d928..fb5c9f2ac6ae 100644
--- a/games/shaaft/Makefile
+++ b/games/shaaft/Makefile
@@ -29,6 +29,7 @@ DATADIR= ${PREFIX}/share/Shaaft
PLIST_FILES= bin/Packer bin/shaaft %%DATADIR%%/resource.dat \
man/man6/shaaft.6.gz
+PLIST_DIRS= %%DATADIR%%
DESKTOP_ENTRIES="Shaaft" "" "" "${PORTNAME}" "" ""
diff --git a/games/spicetrade/Makefile b/games/spicetrade/Makefile
index 7ab69aacb20f..23eaaf5d3d81 100644
--- a/games/spicetrade/Makefile
+++ b/games/spicetrade/Makefile
@@ -22,6 +22,7 @@ SUB_FILES= ${PORTNAME}
SUB_LIST= JARFILE="${DATADIR}/${DISTFILES}"
PLIST_FILES= bin/spicetrade %%DATADIR%%/${DISTFILES}
+PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/games/starfighter/Makefile b/games/starfighter/Makefile
index 6e89adf44076..53cad5359920 100644
--- a/games/starfighter/Makefile
+++ b/games/starfighter/Makefile
@@ -32,6 +32,7 @@ INSTALLS_ICONS= yes
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png \
%%DATADIR%%/${PORTNAME}.pak
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= index.html
diff --git a/games/sudoku/Makefile b/games/sudoku/Makefile
index 571537e3ee35..acc9bf716fdc 100644
--- a/games/sudoku/Makefile
+++ b/games/sudoku/Makefile
@@ -14,6 +14,7 @@ USES= ncurses tar:bzip2
PLIST_FILES= bin/sudoku \
man/man6/sudoku.6.gz \
share/sudoku/template
+PLIST_DIRS= share/sudoku
PORTDOCS= *
OPTIONS_DEFINE= DOCS
diff --git a/games/thegrind/Makefile b/games/thegrind/Makefile
index 2c8354221264..0cae5ae0d443 100644
--- a/games/thegrind/Makefile
+++ b/games/thegrind/Makefile
@@ -28,6 +28,7 @@ PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
share/pixmaps/${PORTNAME}.png \
%%DATADIR%%/${PORTNAME}.zip
+PLIST_DIRS= %%DATADIR%%
PORTDOCS= ChangeLog
OPTIONS_DEFINE= DOCS
diff --git a/games/tuxpaint-fonts/Makefile b/games/tuxpaint-fonts/Makefile
index 55ac2d7b5fb0..ce23d06a591c 100644
--- a/games/tuxpaint-fonts/Makefile
+++ b/games/tuxpaint-fonts/Makefile
@@ -54,6 +54,7 @@ DISTFILES+= ${PORTNAME}-ttf-${${l:tu}_DISTNAME}${EXTRACT_SUFX}:${l:tu}
PLIST_FILES+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}.ttf
PLIST_FILES+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}_docs/COPYING.txt
PLIST_FILES+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}_docs/README.txt
+PLIST_DIRS+= %%DATADIR%%/fonts/locale/${${l:tu}_CODE}_docs
. endif
.endfor
diff --git a/games/widelands/Makefile b/games/widelands/Makefile
index dd8de12586ec..719aab0dbb05 100644
--- a/games/widelands/Makefile
+++ b/games/widelands/Makefile
@@ -30,6 +30,8 @@ USE_SDL= sdl mixer image net ttf gfx
PLIST_FILES= bin/widelands
PORTDATA= *
+PLIST_DIRS= %%DATADIR%%/maps/Desert\ Tournament.wmf/scripting \
+ %%DATADIR%%/maps/Swamp\ Monks.wmf/scripting
DESKTOP_ENTRIES="Widelands" \
"" \
diff --git a/games/wmshuffle/Makefile b/games/wmshuffle/Makefile
index 54862e1b56ba..51c82907afcc 100644
--- a/games/wmshuffle/Makefile
+++ b/games/wmshuffle/Makefile
@@ -17,6 +17,7 @@ USES= gmake
PLIST_FILES= bin/wmshuffle \
%%DATADIR%%/skin-feiticeira.xpm \
%%DATADIR%%/skin-lucyenne.xpm
+PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e \
diff --git a/games/wordplay/Makefile b/games/wordplay/Makefile
index 7a923169935c..0931899600c1 100644
--- a/games/wordplay/Makefile
+++ b/games/wordplay/Makefile
@@ -18,6 +18,7 @@ PORTDOCS= readme
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/words721.txt
+PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e 's|CC=gcc|CC?=g++|' ${WRKSRC}/makefile
diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile
index 9d0ad36ae90d..e1e4d21e8ef6 100644
--- a/games/xcowsay/Makefile
+++ b/games/xcowsay/Makefile
@@ -27,6 +27,7 @@ PLIST_FILES= bin/xcowdream \
%%DATADIR%%/cow_large.png \
%%DATADIR%%/cow_med.png \
%%DATADIR%%/cow_small.png
+PLIST_DIRS= %%DATADIR%%
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/games/xpuzzletama/Makefile b/games/xpuzzletama/Makefile
index b26d7a276aff..9bb82b953a23 100644
--- a/games/xpuzzletama/Makefile
+++ b/games/xpuzzletama/Makefile
@@ -21,6 +21,7 @@ USES= imake:noman
USE_XORG= xpm
PLIST_FILES= bin/xpuzzletama lib/X11/xpuzzletama/tama_score
+PLIST_DIRS= lib/X11/xpuzzletama
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xpuzzletama
diff --git a/games/xrick/Makefile b/games/xrick/Makefile
index ee8c22787489..7d4c0a4b9df3 100644
--- a/games/xrick/Makefile
+++ b/games/xrick/Makefile
@@ -17,6 +17,7 @@ USES= gmake tar:tgz
USE_SDL= sdl
PLIST_FILES= bin/xrick man/man6/xrick.6.gz share/xrick/data.zip
+PLIST_DIRS= share/xrick
post-patch:
@${REINPLACE_CMD} -e 's|sysarg_args_data = NULL|sysarg_args_data = "${PREFIX}/share/xrick/data.zip"|' ${WRKSRC}/src/sysarg.c
diff --git a/games/xteddy/Makefile b/games/xteddy/Makefile
index 1ebf39e56357..840a172ff779 100644
--- a/games/xteddy/Makefile
+++ b/games/xteddy/Makefile
@@ -29,6 +29,7 @@ PLIST_FILES= bin/xteddy bin/xteddy_test bin/xtoys \
%%DATADIR%%/xpenguin.png %%DATADIR%%/xpuppy.png \
%%DATADIR%%/xruessel.png %%DATADIR%%/xteddy.png \
%%DATADIR%%/xtrouble.png %%DATADIR%%/xtuxxy.png
+PLIST_DIRS= %%DATADIR%%
post-patch:
.for f in configure xteddy.c
diff --git a/games/xwelltris/Makefile b/games/xwelltris/Makefile
index 2387e0c91c0c..3ef885c73f14 100644
--- a/games/xwelltris/Makefile
+++ b/games/xwelltris/Makefile
@@ -21,6 +21,7 @@ PLIST_FILES= bin/xwelltris \
share/xwelltris/wellcuts.gif \
share/xwelltris/wellintro.gif \
share/xwelltris/welltris.scores
+PLIST_DIRS= share/xwelltris
GNU_CONFIGURE= yes
USE_XORG= ice sm x11 xau xcursor xdmcp xext xfixes xi xrandr
diff --git a/games/xwordpy/Makefile b/games/xwordpy/Makefile
index 19924c066ccf..53f90c322d02 100644
--- a/games/xwordpy/Makefile
+++ b/games/xwordpy/Makefile
@@ -21,6 +21,7 @@ PLIST_FILES= bin/xwordpy \
%%DATADIR%%/crossword-clock.png \
%%DATADIR%%/crossword-solve.png \
%%DATADIR%%/layout-rtb.png
+PLIST_DIRS= %%DATADIR%%
post-patch:
@${REINPLACE_CMD} -e "s|%%DATADIR%%|\'${DATADIR}\'|g" \
diff --git a/games/xworm/Makefile b/games/xworm/Makefile
index dcc157ca92ee..2bf1f316f546 100644
--- a/games/xworm/Makefile
+++ b/games/xworm/Makefile
@@ -20,6 +20,7 @@ MAKE_ARGS= CC="${CC}" INCDIR="-I${LOCALBASE}/include" \
DATA= font grid raw
PLIST_FILES= bin/xworm ${DATA:S/^/%%DATADIR%%\/xworm./}
+PLIST_DIRS= %%DATADIR%%
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xworm ${STAGEDIR}${PREFIX}/bin
diff --git a/games/zoom/Makefile b/games/zoom/Makefile
index 6dc47fd604a3..0b549374a9d3 100644
--- a/games/zoom/Makefile
+++ b/games/zoom/Makefile
@@ -22,5 +22,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/zoom %%DATADIR%%/zoomrc
+PLIST_DIRS= %%DATADIR%%
.include <bsd.port.mk>