aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-11 09:47:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-11 09:47:44 +0800
commitf360beb3710e024a02148d9046b1ab7342d07b52 (patch)
tree1b5b47f931dd5b7cbb84ee13e2f4825903292cc8 /games
parent7ac7b6a82ca9a141f833e20f6f10cbd302840f52 (diff)
downloadfreebsd-ports-gnome-f360beb3710e024a02148d9046b1ab7342d07b52.tar.gz
freebsd-ports-gnome-f360beb3710e024a02148d9046b1ab7342d07b52.tar.zst
freebsd-ports-gnome-f360beb3710e024a02148d9046b1ab7342d07b52.zip
- Support staging
Diffstat (limited to 'games')
-rw-r--r--games/brainworkshop/Makefile10
-rw-r--r--games/brainworkshop/pkg-plist141
2 files changed, 6 insertions, 145 deletions
diff --git a/games/brainworkshop/Makefile b/games/brainworkshop/Makefile
index 6821304e1958..c6bf094f8ddd 100644
--- a/games/brainworkshop/Makefile
+++ b/games/brainworkshop/Makefile
@@ -22,6 +22,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
PORTSCOUT= skipv:4.22
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
DESKTOP_ENTRIES="Brain Workshop" \
"Dual N-Back mental exercise" \
"${DATADIR}/brain.png" \
@@ -29,15 +32,14 @@ DESKTOP_ENTRIES="Brain Workshop" \
"Game;LogicGame;" \
false
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/^FOLDER_RES = / s|res|${DATADIR}|; \
/^FOLDER_DATA = / s|.data.|os.environ["HOME"]+"/.brainworkshop"|' \
${WRKSRC}/brainworkshop.pyw
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/brainworkshop.pyw ${PREFIX}/bin/${PORTNAME}
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/res/* ${DATADIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/brainworkshop.pyw ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/res/* ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
diff --git a/games/brainworkshop/pkg-plist b/games/brainworkshop/pkg-plist
deleted file mode 100644
index e9bef901e2ad..000000000000
--- a/games/brainworkshop/pkg-plist
+++ /dev/null
@@ -1,141 +0,0 @@
-bin/brainworkshop
-%%DATADIR%%/applause.wav
-%%DATADIR%%/areyouawake.ogg
-%%DATADIR%%/autumnleaves.ogg
-%%DATADIR%%/bbydhyonchord.ogg
-%%DATADIR%%/biggeorge.ogg
-%%DATADIR%%/blueberryrhyme.ogg
-%%DATADIR%%/bluerondo.ogg
-%%DATADIR%%/brain.png
-%%DATADIR%%/brain_graphic.png
-%%DATADIR%%/brandenburg.ogg
-%%DATADIR%%/c.wav
-%%DATADIR%%/caribe.ogg
-%%DATADIR%%/cematinla.ogg
-%%DATADIR%%/cornerpocket.ogg
-%%DATADIR%%/dinah.ogg
-%%DATADIR%%/elubechango.ogg
-%%DATADIR%%/femmedargent.ogg
-%%DATADIR%%/frevorasgado.ogg
-%%DATADIR%%/glassworks.ogg
-%%DATADIR%%/h.wav
-%%DATADIR%%/harvestbreed.ogg
-%%DATADIR%%/joyfulnoise.ogg
-%%DATADIR%%/k.wav
-%%DATADIR%%/l.wav
-%%DATADIR%%/linusandlucy.ogg
-%%DATADIR%%/lithia.ogg
-%%DATADIR%%/mamaguela.ogg
-%%DATADIR%%/morse_0.wav
-%%DATADIR%%/morse_1.wav
-%%DATADIR%%/morse_2.wav
-%%DATADIR%%/morse_3.wav
-%%DATADIR%%/morse_4.wav
-%%DATADIR%%/morse_5.wav
-%%DATADIR%%/morse_6.wav
-%%DATADIR%%/morse_7.wav
-%%DATADIR%%/morse_8.wav
-%%DATADIR%%/morse_9.wav
-%%DATADIR%%/morse_a.wav
-%%DATADIR%%/morse_b.wav
-%%DATADIR%%/morse_c.wav
-%%DATADIR%%/morse_d.wav
-%%DATADIR%%/morse_e.wav
-%%DATADIR%%/morse_f.wav
-%%DATADIR%%/morse_g.wav
-%%DATADIR%%/morse_h.wav
-%%DATADIR%%/morse_i.wav
-%%DATADIR%%/morse_j.wav
-%%DATADIR%%/morse_k.wav
-%%DATADIR%%/morse_l.wav
-%%DATADIR%%/morse_m.wav
-%%DATADIR%%/morse_n.wav
-%%DATADIR%%/morse_o.wav
-%%DATADIR%%/morse_p.wav
-%%DATADIR%%/morse_q.wav
-%%DATADIR%%/morse_r.wav
-%%DATADIR%%/morse_s.wav
-%%DATADIR%%/morse_t.wav
-%%DATADIR%%/morse_u.wav
-%%DATADIR%%/morse_v.wav
-%%DATADIR%%/morse_w.wav
-%%DATADIR%%/morse_x.wav
-%%DATADIR%%/morse_y.wav
-%%DATADIR%%/morse_z.wav
-%%DATADIR%%/nato_LICENSE.txt
-%%DATADIR%%/nato_a.wav
-%%DATADIR%%/nato_b.wav
-%%DATADIR%%/nato_c.wav
-%%DATADIR%%/nato_d.wav
-%%DATADIR%%/nato_e.wav
-%%DATADIR%%/nato_f.wav
-%%DATADIR%%/nato_g.wav
-%%DATADIR%%/nato_h.wav
-%%DATADIR%%/nato_i.wav
-%%DATADIR%%/nato_j.wav
-%%DATADIR%%/nato_k.wav
-%%DATADIR%%/nato_l.wav
-%%DATADIR%%/nato_m.wav
-%%DATADIR%%/nato_n.wav
-%%DATADIR%%/nato_o.wav
-%%DATADIR%%/nato_p.wav
-%%DATADIR%%/nato_q.wav
-%%DATADIR%%/nato_r.wav
-%%DATADIR%%/nato_s.wav
-%%DATADIR%%/nato_t.wav
-%%DATADIR%%/nato_u.wav
-%%DATADIR%%/nato_v.wav
-%%DATADIR%%/nato_w.wav
-%%DATADIR%%/nato_x.wav
-%%DATADIR%%/nato_y.wav
-%%DATADIR%%/nato_z.wav
-%%DATADIR%%/number-0.wav
-%%DATADIR%%/number-1.wav
-%%DATADIR%%/number-10.wav
-%%DATADIR%%/number-11.wav
-%%DATADIR%%/number-12.wav
-%%DATADIR%%/number-13.wav
-%%DATADIR%%/number-2.wav
-%%DATADIR%%/number-3.wav
-%%DATADIR%%/number-4.wav
-%%DATADIR%%/number-5.wav
-%%DATADIR%%/number-6.wav
-%%DATADIR%%/number-7.wav
-%%DATADIR%%/number-8.wav
-%%DATADIR%%/number-9.wav
-%%DATADIR%%/onamistynight.ogg
-%%DATADIR%%/operation_divide.wav
-%%DATADIR%%/operation_minus.wav
-%%DATADIR%%/operation_plus.wav
-%%DATADIR%%/operation_times.wav
-%%DATADIR%%/perisscope.ogg
-%%DATADIR%%/piano-1.wav
-%%DATADIR%%/piano-2.wav
-%%DATADIR%%/piano-3.wav
-%%DATADIR%%/piano-4.wav
-%%DATADIR%%/piano-5.wav
-%%DATADIR%%/piano-6.wav
-%%DATADIR%%/piano-7.wav
-%%DATADIR%%/piano-8.wav
-%%DATADIR%%/q.wav
-%%DATADIR%%/quartetno1.ogg
-%%DATADIR%%/queenbee.ogg
-%%DATADIR%%/quieroserpoeta.ogg
-%%DATADIR%%/r.wav
-%%DATADIR%%/s.wav
-%%DATADIR%%/sarahmencken.ogg
-%%DATADIR%%/spellbound.ogg
-%%DATADIR%%/spr_square_blue.png
-%%DATADIR%%/spr_square_cyan.png
-%%DATADIR%%/spr_square_green.png
-%%DATADIR%%/spr_square_grey.png
-%%DATADIR%%/spr_square_magenta.png
-%%DATADIR%%/spr_square_red.png
-%%DATADIR%%/spr_square_white.png
-%%DATADIR%%/spr_square_yellow.png
-%%DATADIR%%/stlouisblues.ogg
-%%DATADIR%%/streetlife.ogg
-%%DATADIR%%/suspensionbridge.ogg
-%%DATADIR%%/t.wav
-%%DATADIR%%/timbacubana.ogg
-@dirrm %%DATADIR%%