aboutsummaryrefslogtreecommitdiffstats
path: root/games/jag
diff options
context:
space:
mode:
Diffstat (limited to 'games/jag')
-rw-r--r--games/jag/Makefile9
-rw-r--r--games/jag/pkg-plist170
2 files changed, 6 insertions, 173 deletions
diff --git a/games/jag/Makefile b/games/jag/Makefile
index 0aa7f04fe91b..74696ab1135d 100644
--- a/games/jag/Makefile
+++ b/games/jag/Makefile
@@ -19,10 +19,14 @@ USE_SDL= sdl mixer
USE_DOS2UNIX= Game.pro
USE_XORG= x11
+MAKE_ARGS+= INSTALL_ROOT="${STAGEDIR}"
+
USE_QT4= qmake_build uic_build moc_build rcc_build \
corelib svg xml opengl network
-NO_STAGE= yes
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/games/jag|${DATADIR}|' \
${WRKSRC}/main.cpp ${WRKSRC}/Game.pro
@@ -33,7 +37,6 @@ do-configure:
${QMAKE} ${QMAKEFLAGS} Game.pro
post-install:
- ${MKDIR} ${DATADIR}
- cd ${WRKDIR}/${DISTNAME:C/src/data/} && ${COPYTREE_SHARE} data ${DATADIR}/
+ cd ${WRKDIR}/${DISTNAME:C/src/data/} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
diff --git a/games/jag/pkg-plist b/games/jag/pkg-plist
deleted file mode 100644
index 7ba44d233bbe..000000000000
--- a/games/jag/pkg-plist
+++ /dev/null
@@ -1,170 +0,0 @@
-bin/jag
-%%DATADIR%%/data/bonus/clock.png
-%%DATADIR%%/data/bonus/power2.png
-%%DATADIR%%/data/bonus/power3.png
-%%DATADIR%%/data/bonus/power4.png
-%%DATADIR%%/data/bonus/power5.png
-%%DATADIR%%/data/bonus/score.png
-%%DATADIR%%/data/bonus/timer.png
-%%DATADIR%%/data/bonus/x.png
-%%DATADIR%%/data/help/index.htm
-%%DATADIR%%/data/help/index_nl.htm
-%%DATADIR%%/data/help/index_ru.htm
-%%DATADIR%%/data/lang/jag_de.qm
-%%DATADIR%%/data/lang/jag_de.ts
-%%DATADIR%%/data/lang/jag_fr.qm
-%%DATADIR%%/data/lang/jag_fr.ts
-%%DATADIR%%/data/lang/jag_it.qm
-%%DATADIR%%/data/lang/jag_it.ts
-%%DATADIR%%/data/lang/jag_nl.qm
-%%DATADIR%%/data/lang/jag_nl.ts
-%%DATADIR%%/data/lang/jag_ru.qm
-%%DATADIR%%/data/lang/jag_ru.ts
-%%DATADIR%%/data/lang/langlist.dat
-%%DATADIR%%/data/levels/abc.lpk
-%%DATADIR%%/data/levels/default.lpk
-%%DATADIR%%/data/levels/sunzero.lpk
-%%DATADIR%%/data/schemes/african/bg1.jpg
-%%DATADIR%%/data/schemes/african/bg2.jpg
-%%DATADIR%%/data/schemes/african/bg3.jpg
-%%DATADIR%%/data/schemes/african/item1.png
-%%DATADIR%%/data/schemes/african/item2.png
-%%DATADIR%%/data/schemes/african/item3.png
-%%DATADIR%%/data/schemes/african/item4.png
-%%DATADIR%%/data/schemes/african/item5.png
-%%DATADIR%%/data/schemes/animals/bg1.jpg
-%%DATADIR%%/data/schemes/animals/bg2.jpg
-%%DATADIR%%/data/schemes/animals/bg3.jpg
-%%DATADIR%%/data/schemes/animals/item1.png
-%%DATADIR%%/data/schemes/animals/item2.png
-%%DATADIR%%/data/schemes/animals/item3.png
-%%DATADIR%%/data/schemes/animals/item4.png
-%%DATADIR%%/data/schemes/animals/item5.png
-%%DATADIR%%/data/schemes/animals/item6.png
-%%DATADIR%%/data/schemes/chinese/bg1.jpg
-%%DATADIR%%/data/schemes/chinese/bg2.jpg
-%%DATADIR%%/data/schemes/chinese/bg3.jpg
-%%DATADIR%%/data/schemes/chinese/item1.png
-%%DATADIR%%/data/schemes/chinese/item2.png
-%%DATADIR%%/data/schemes/chinese/item3.png
-%%DATADIR%%/data/schemes/chinese/item4.png
-%%DATADIR%%/data/schemes/chinese/item5.png
-%%DATADIR%%/data/schemes/chinese/item6.png
-%%DATADIR%%/data/schemes/creatures/bg1.jpg
-%%DATADIR%%/data/schemes/creatures/bg2.jpg
-%%DATADIR%%/data/schemes/creatures/bg3.jpg
-%%DATADIR%%/data/schemes/creatures/item1.png
-%%DATADIR%%/data/schemes/creatures/item2.png
-%%DATADIR%%/data/schemes/creatures/item3.png
-%%DATADIR%%/data/schemes/creatures/item4.png
-%%DATADIR%%/data/schemes/creatures/item5.png
-%%DATADIR%%/data/schemes/creatures/item6.png
-%%DATADIR%%/data/schemes/default/bg1.jpg
-%%DATADIR%%/data/schemes/default/bg2.jpg
-%%DATADIR%%/data/schemes/default/bg3.jpg
-%%DATADIR%%/data/schemes/default/bg4.jpg
-%%DATADIR%%/data/schemes/default/bg5.jpg
-%%DATADIR%%/data/schemes/default/bg6.jpg
-%%DATADIR%%/data/schemes/default/bg7.jpg
-%%DATADIR%%/data/schemes/default/block1.png
-%%DATADIR%%/data/schemes/default/block2.png
-%%DATADIR%%/data/schemes/default/con1.png
-%%DATADIR%%/data/schemes/default/item1.png
-%%DATADIR%%/data/schemes/default/item2.png
-%%DATADIR%%/data/schemes/default/item3.png
-%%DATADIR%%/data/schemes/default/item4.png
-%%DATADIR%%/data/schemes/default/item5.png
-%%DATADIR%%/data/schemes/default/item6.png
-%%DATADIR%%/data/schemes/default/target1.png
-%%DATADIR%%/data/schemes/default/target2.png
-%%DATADIR%%/data/schemes/futurama/bg1.jpg
-%%DATADIR%%/data/schemes/futurama/bg2.jpg
-%%DATADIR%%/data/schemes/futurama/bg3.jpg
-%%DATADIR%%/data/schemes/futurama/item1.png
-%%DATADIR%%/data/schemes/futurama/item2.png
-%%DATADIR%%/data/schemes/futurama/item3.png
-%%DATADIR%%/data/schemes/futurama/item4.png
-%%DATADIR%%/data/schemes/futurama/item5.png
-%%DATADIR%%/data/schemes/futurama/item6.png
-%%DATADIR%%/data/schemes/kde-crystal/bg1.jpg
-%%DATADIR%%/data/schemes/kde-crystal/bg2.jpg
-%%DATADIR%%/data/schemes/kde-crystal/bg3.jpg
-%%DATADIR%%/data/schemes/kde-crystal/bg4.jpg
-%%DATADIR%%/data/schemes/kde-crystal/block1.png
-%%DATADIR%%/data/schemes/kde-crystal/block2.png
-%%DATADIR%%/data/schemes/kde-crystal/item1.png
-%%DATADIR%%/data/schemes/kde-crystal/item2.png
-%%DATADIR%%/data/schemes/kde-crystal/item3.png
-%%DATADIR%%/data/schemes/kde-crystal/item4.png
-%%DATADIR%%/data/schemes/kde-crystal/item5.png
-%%DATADIR%%/data/schemes/kde-crystal/item6.png
-%%DATADIR%%/data/schemes/kde-crystal/target1.png
-%%DATADIR%%/data/schemes/kde-crystal/target2.png
-%%DATADIR%%/data/schemes/kde-nuvola/bg1.jpg
-%%DATADIR%%/data/schemes/kde-nuvola/bg2.jpg
-%%DATADIR%%/data/schemes/kde-nuvola/bg3.jpg
-%%DATADIR%%/data/schemes/kde-nuvola/bg4.jpg
-%%DATADIR%%/data/schemes/kde-nuvola/bg5.jpg
-%%DATADIR%%/data/schemes/kde-nuvola/item1.png
-%%DATADIR%%/data/schemes/kde-nuvola/item2.png
-%%DATADIR%%/data/schemes/kde-nuvola/item3.png
-%%DATADIR%%/data/schemes/kde-nuvola/item4.png
-%%DATADIR%%/data/schemes/kde-nuvola/item5.png
-%%DATADIR%%/data/schemes/kde-nuvola/item6.png
-%%DATADIR%%/data/schemes/toys/bg1.jpg
-%%DATADIR%%/data/schemes/toys/bg2.jpg
-%%DATADIR%%/data/schemes/toys/bg3.jpg
-%%DATADIR%%/data/schemes/toys/item1.png
-%%DATADIR%%/data/schemes/toys/item2.png
-%%DATADIR%%/data/schemes/toys/item3.png
-%%DATADIR%%/data/schemes/toys/item4.png
-%%DATADIR%%/data/schemes/toys/item5.png
-%%DATADIR%%/data/schemes/toys/item6.png
-%%DATADIR%%/data/sounds/beep.wav
-%%DATADIR%%/data/sounds/bighammer.wav
-%%DATADIR%%/data/sounds/bomb.wav
-%%DATADIR%%/data/sounds/bonus.wav
-%%DATADIR%%/data/sounds/bonusend.wav
-%%DATADIR%%/data/sounds/clock.wav
-%%DATADIR%%/data/sounds/disappear.wav
-%%DATADIR%%/data/sounds/hammer.wav
-%%DATADIR%%/data/sounds/levelfail.wav
-%%DATADIR%%/data/sounds/levelstart.wav
-%%DATADIR%%/data/sounds/levelwon.wav
-%%DATADIR%%/data/sounds/mixer.wav
-%%DATADIR%%/data/sounds/newitem.wav
-%%DATADIR%%/data/sounds/newtool.wav
-%%DATADIR%%/data/sounds/randomkill.wav
-%%DATADIR%%/data/sounds/row.wav
-%%DATADIR%%/data/sounds/smallhammer.wav
-%%DATADIR%%/data/sounds/target.wav
-%%DATADIR%%/data/sounds/twin.wav
-%%DATADIR%%/data/sounds/unblock.wav
-%%DATADIR%%/data/tools/big_star.png
-%%DATADIR%%/data/tools/bolt.png
-%%DATADIR%%/data/tools/bomb.png
-%%DATADIR%%/data/tools/clock.png
-%%DATADIR%%/data/tools/cross.png
-%%DATADIR%%/data/tools/hammer.png
-%%DATADIR%%/data/tools/random.png
-%%DATADIR%%/data/tools/star.png
-%%DATADIR%%/data/tools/twins.png
-%%DATADIR%%/data/tools/unblock.png
-@dirrm %%DATADIR%%/data/tools
-@dirrm %%DATADIR%%/data/sounds
-@dirrm %%DATADIR%%/data/schemes/toys
-@dirrm %%DATADIR%%/data/schemes/kde-nuvola
-@dirrm %%DATADIR%%/data/schemes/kde-crystal
-@dirrm %%DATADIR%%/data/schemes/futurama
-@dirrm %%DATADIR%%/data/schemes/default
-@dirrm %%DATADIR%%/data/schemes/creatures
-@dirrm %%DATADIR%%/data/schemes/chinese
-@dirrm %%DATADIR%%/data/schemes/animals
-@dirrm %%DATADIR%%/data/schemes/african
-@dirrm %%DATADIR%%/data/schemes
-@dirrm %%DATADIR%%/data/levels
-@dirrm %%DATADIR%%/data/lang
-@dirrm %%DATADIR%%/data/help
-@dirrm %%DATADIR%%/data/bonus
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%