summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-22 08:03:22 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-22 08:03:22 +0000
commit3e228e7c31fa4b70c4ae2ef0f71ebe5aef8c0a35 (patch)
tree52db28bcc9c65dee7c1e4014674b34df5a597423
parenteac689494b7f992ed5047e891a810dbe55f5efab (diff)
downloadFreeBSD-ports-3e228e7c31fa4b70c4ae2ef0f71ebe5aef8c0a35.zip
FreeBSD-ports-3e228e7c31fa4b70c4ae2ef0f71ebe5aef8c0a35.tar.gz
- Support staging
- Convert USE_GMAKE to USES
-rw-r--r--games/brainparty/Makefile24
-rw-r--r--games/brainparty/pkg-plist433
2 files changed, 11 insertions, 446 deletions
diff --git a/games/brainparty/Makefile b/games/brainparty/Makefile
index f26a7e5..1e063d6 100644
--- a/games/brainparty/Makefile
+++ b/games/brainparty/Makefile
@@ -12,29 +12,27 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Family-friendly set of 36 puzzle games
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer ttf gfx image
USE_GL= gl glu
WRKSRC= ${WRKDIR}/${PORTNAME}
-PORTDOCS= CREDITS README
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= *
+PORTDATA= *
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
post-patch:
@${REINPLACE_CMD} -e 's|Content/|${DATADIR}/|' ${WRKSRC}/*.cpp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/Content/* ${DATADIR}/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/Content/* ${STAGEDIR}${DATADIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
diff --git a/games/brainparty/pkg-plist b/games/brainparty/pkg-plist
deleted file mode 100644
index 55dbdf3..0000000
--- a/games/brainparty/pkg-plist
+++ /dev/null
@@ -1,433 +0,0 @@
-bin/brainparty
-%%DATADIR%%/1.png
-%%DATADIR%%/2.png
-%%DATADIR%%/3.png
-%%DATADIR%%/a.png
-%%DATADIR%%/ambient.ogg
-%%DATADIR%%/arrow_down.png
-%%DATADIR%%/arrow_left.png
-%%DATADIR%%/arrow_right.png
-%%DATADIR%%/arrow_up.png
-%%DATADIR%%/b.png
-%%DATADIR%%/baa.wav
-%%DATADIR%%/baa2.wav
-%%DATADIR%%/baa3.wav
-%%DATADIR%%/back_arrow.png
-%%DATADIR%%/ball.png
-%%DATADIR%%/balloon_black.png
-%%DATADIR%%/balloon_blue.png
-%%DATADIR%%/balloon_green.png
-%%DATADIR%%/balloon_pop.wav
-%%DATADIR%%/balloon_purple.png
-%%DATADIR%%/balloon_red.png
-%%DATADIR%%/beep_hi.wav
-%%DATADIR%%/bg_results.png
-%%DATADIR%%/bg_results2.png
-%%DATADIR%%/bg_test.png
-%%DATADIR%%/block_blue.png
-%%DATADIR%%/block_grey.png
-%%DATADIR%%/block_red.png
-%%DATADIR%%/bombhunt.png
-%%DATADIR%%/bottombar.png
-%%DATADIR%%/box_1.png
-%%DATADIR%%/box_10.png
-%%DATADIR%%/box_11.png
-%%DATADIR%%/box_12.png
-%%DATADIR%%/box_13.png
-%%DATADIR%%/box_14.png
-%%DATADIR%%/box_15.png
-%%DATADIR%%/box_16.png
-%%DATADIR%%/box_2.png
-%%DATADIR%%/box_3.png
-%%DATADIR%%/box_4.png
-%%DATADIR%%/box_5.png
-%%DATADIR%%/box_6.png
-%%DATADIR%%/box_7.png
-%%DATADIR%%/box_8.png
-%%DATADIR%%/box_9.png
-%%DATADIR%%/box_question.png
-%%DATADIR%%/bpsays.png
-%%DATADIR%%/bpsays_choosing.png
-%%DATADIR%%/brainparty.png
-%%DATADIR%%/brainrace.ogg
-%%DATADIR%%/bubble.wav
-%%DATADIR%%/bubbletrouble.png
-%%DATADIR%%/c.png
-%%DATADIR%%/card_1.png
-%%DATADIR%%/card_1_48.png
-%%DATADIR%%/card_2.png
-%%DATADIR%%/card_2_48.png
-%%DATADIR%%/card_3.png
-%%DATADIR%%/card_3_48.png
-%%DATADIR%%/card_4.png
-%%DATADIR%%/card_4_48.png
-%%DATADIR%%/card_5.png
-%%DATADIR%%/card_5_48.png
-%%DATADIR%%/card_6.png
-%%DATADIR%%/card_6_48.png
-%%DATADIR%%/card_7.png
-%%DATADIR%%/card_7_48.png
-%%DATADIR%%/card_8.png
-%%DATADIR%%/card_8_48.png
-%%DATADIR%%/card_blank.png
-%%DATADIR%%/card_flip.wav
-%%DATADIR%%/card_flip2.wav
-%%DATADIR%%/card_unknown.png
-%%DATADIR%%/cardmatch.png
-%%DATADIR%%/checkers1.png
-%%DATADIR%%/checkers2.png
-%%DATADIR%%/chekolake.ogg
-%%DATADIR%%/circle_handle.png
-%%DATADIR%%/circlering.png
-%%DATADIR%%/click.wav
-%%DATADIR%%/clouds.png
-%%DATADIR%%/connex.png
-%%DATADIR%%/correct.png
-%%DATADIR%%/correct.wav
-%%DATADIR%%/d.png
-%%DATADIR%%/die_1.png
-%%DATADIR%%/die_2.png
-%%DATADIR%%/die_3.png
-%%DATADIR%%/die_4.png
-%%DATADIR%%/doublecircle.png
-%%DATADIR%%/doubleemptycircle.png
-%%DATADIR%%/down.wav
-%%DATADIR%%/e.png
-%%DATADIR%%/electricity.ogg
-%%DATADIR%%/emptycircle.png
-%%DATADIR%%/explosion.wav
-%%DATADIR%%/f.png
-%%DATADIR%%/filledcircle.png
-%%DATADIR%%/firstrun.png
-%%DATADIR%%/flashcounting.png
-%%DATADIR%%/flashlight.png
-%%DATADIR%%/freesans.ttf
-%%DATADIR%%/frog.png
-%%DATADIR%%/g.png
-%%DATADIR%%/gem1.png
-%%DATADIR%%/gem1_40.png
-%%DATADIR%%/gem1_hi_40.png
-%%DATADIR%%/gem1_small.png
-%%DATADIR%%/gem2.png
-%%DATADIR%%/gem2_40.png
-%%DATADIR%%/gem2_hi_40.png
-%%DATADIR%%/gem2_small.png
-%%DATADIR%%/gem3.png
-%%DATADIR%%/gem3_40.png
-%%DATADIR%%/gem3_hi_40.png
-%%DATADIR%%/gem3_small.png
-%%DATADIR%%/gem4.png
-%%DATADIR%%/gem4_40.png
-%%DATADIR%%/gem4_hi_40.png
-%%DATADIR%%/gem4_small.png
-%%DATADIR%%/gem5.png
-%%DATADIR%%/gem5_40.png
-%%DATADIR%%/gem5_hi_40.png
-%%DATADIR%%/gem5_small.png
-%%DATADIR%%/gem6.png
-%%DATADIR%%/gem6_40.png
-%%DATADIR%%/gem6_hi_40.png
-%%DATADIR%%/gem6_small.png
-%%DATADIR%%/gem7.png
-%%DATADIR%%/gem7_40.png
-%%DATADIR%%/gem7_hi_40.png
-%%DATADIR%%/gem7_small.png
-%%DATADIR%%/gem8.png
-%%DATADIR%%/gem8_40.png
-%%DATADIR%%/gem8_hi_40.png
-%%DATADIR%%/gem8_small.png
-%%DATADIR%%/gem_select.wav
-%%DATADIR%%/glass_break.wav
-%%DATADIR%%/green_cup.png
-%%DATADIR%%/gun1.wav
-%%DATADIR%%/gun2.wav
-%%DATADIR%%/h.png
-%%DATADIR%%/happy_ring.wav
-%%DATADIR%%/help.png
-%%DATADIR%%/highway.ogg
-%%DATADIR%%/history.png
-%%DATADIR%%/hudzillagames.png
-%%DATADIR%%/i.png
-%%DATADIR%%/icon.bmp
-%%DATADIR%%/iqtest.png
-%%DATADIR%%/j.png
-%%DATADIR%%/jewelflip.png
-%%DATADIR%%/jewelflip_bottombar.png
-%%DATADIR%%/jeweljam.png
-%%DATADIR%%/k.png
-%%DATADIR%%/l.png
-%%DATADIR%%/lensflare.png
-%%DATADIR%%/light_off.png
-%%DATADIR%%/light_on.png
-%%DATADIR%%/lively.ogg
-%%DATADIR%%/loading.png
-%%DATADIR%%/m.png
-%%DATADIR%%/marble_blue.png
-%%DATADIR%%/marble_blue40.png
-%%DATADIR%%/marble_green.png
-%%DATADIR%%/marble_green40.png
-%%DATADIR%%/marble_purple.png
-%%DATADIR%%/marble_purple40.png
-%%DATADIR%%/marble_red.png
-%%DATADIR%%/marble_red40.png
-%%DATADIR%%/marble_yellow.png
-%%DATADIR%%/marble_yellow40.png
-%%DATADIR%%/marbledrop.png
-%%DATADIR%%/memoryblox.png
-%%DATADIR%%/memorybox.png
-%%DATADIR%%/memorymaths.png
-%%DATADIR%%/memorymaths_remember.png
-%%DATADIR%%/menu_brainboost.png
-%%DATADIR%%/menu_credits.png
-%%DATADIR%%/menu_help.png
-%%DATADIR%%/menu_main.png
-%%DATADIR%%/menu_marathonmode.png
-%%DATADIR%%/menu_options.png
-%%DATADIR%%/menu_play.png
-%%DATADIR%%/menu_practise.png
-%%DATADIR%%/menu_practise_hider.png
-%%DATADIR%%/meow.wav
-%%DATADIR%%/minesweep.png
-%%DATADIR%%/minesweep_bombtile.png
-%%DATADIR%%/minesweep_tile.png
-%%DATADIR%%/minigame_balloonblaster.png
-%%DATADIR%%/minigame_bombhunt.png
-%%DATADIR%%/minigame_bpsays.png
-%%DATADIR%%/minigame_bubbletrouble.png
-%%DATADIR%%/minigame_cardmatch.png
-%%DATADIR%%/minigame_connex.png
-%%DATADIR%%/minigame_cupsnballs.png
-%%DATADIR%%/minigame_flashcounting.png
-%%DATADIR%%/minigame_flashlight.png
-%%DATADIR%%/minigame_iqtest.png
-%%DATADIR%%/minigame_jewelflip.png
-%%DATADIR%%/minigame_jeweljam.png
-%%DATADIR%%/minigame_marbledrop.png
-%%DATADIR%%/minigame_memoryblox.png
-%%DATADIR%%/minigame_memorybox.png
-%%DATADIR%%/minigame_memorymaths.png
-%%DATADIR%%/minigame_minesweep.png
-%%DATADIR%%/minigame_moonjump.png
-%%DATADIR%%/minigame_nextinline.png
-%%DATADIR%%/minigame_numbersnake.png
-%%DATADIR%%/minigame_oddoneout.png
-%%DATADIR%%/minigame_patchmatch.png
-%%DATADIR%%/minigame_perfectpaths.png
-%%DATADIR%%/minigame_routefinder.png
-%%DATADIR%%/minigame_rps.png
-%%DATADIR%%/minigame_scrambled.png
-%%DATADIR%%/minigame_setfinder.png
-%%DATADIR%%/minigame_sharpshooter.png
-%%DATADIR%%/minigame_shortcircuitsudoku.png
-%%DATADIR%%/minigame_shufflepuzzler.png
-%%DATADIR%%/minigame_symboliclogic.png
-%%DATADIR%%/minigame_teetertotter.png
-%%DATADIR%%/minigame_underthehat.png
-%%DATADIR%%/minigame_unknown.png
-%%DATADIR%%/minigame_untangler.png
-%%DATADIR%%/moonjump1.png
-%%DATADIR%%/moonjump2.png
-%%DATADIR%%/moonjump3.png
-%%DATADIR%%/moonjump4.png
-%%DATADIR%%/moonjump5.png
-%%DATADIR%%/moonjump6.png
-%%DATADIR%%/morningwave.ogg
-%%DATADIR%%/mouse_click.wav
-%%DATADIR%%/music_off.png
-%%DATADIR%%/n.png
-%%DATADIR%%/nevertoolate.ogg
-%%DATADIR%%/nextinline.png
-%%DATADIR%%/numbersnake.png
-%%DATADIR%%/numbersnake_black.png
-%%DATADIR%%/o.png
-%%DATADIR%%/oddoneout.png
-%%DATADIR%%/ok.png
-%%DATADIR%%/p.png
-%%DATADIR%%/paper.png
-%%DATADIR%%/patch1.png
-%%DATADIR%%/patch10.png
-%%DATADIR%%/patch11.png
-%%DATADIR%%/patch12.png
-%%DATADIR%%/patch13.png
-%%DATADIR%%/patch14.png
-%%DATADIR%%/patch15.png
-%%DATADIR%%/patch16.png
-%%DATADIR%%/patch17.png
-%%DATADIR%%/patch18.png
-%%DATADIR%%/patch19.png
-%%DATADIR%%/patch2.png
-%%DATADIR%%/patch20.png
-%%DATADIR%%/patch21.png
-%%DATADIR%%/patch22.png
-%%DATADIR%%/patch23.png
-%%DATADIR%%/patch24.png
-%%DATADIR%%/patch25.png
-%%DATADIR%%/patch26.png
-%%DATADIR%%/patch27.png
-%%DATADIR%%/patch28.png
-%%DATADIR%%/patch29.png
-%%DATADIR%%/patch3.png
-%%DATADIR%%/patch30.png
-%%DATADIR%%/patch31.png
-%%DATADIR%%/patch32.png
-%%DATADIR%%/patch33.png
-%%DATADIR%%/patch34.png
-%%DATADIR%%/patch35.png
-%%DATADIR%%/patch36.png
-%%DATADIR%%/patch37.png
-%%DATADIR%%/patch38.png
-%%DATADIR%%/patch39.png
-%%DATADIR%%/patch4.png
-%%DATADIR%%/patch40.png
-%%DATADIR%%/patch41.png
-%%DATADIR%%/patch42.png
-%%DATADIR%%/patch43.png
-%%DATADIR%%/patch44.png
-%%DATADIR%%/patch45.png
-%%DATADIR%%/patch46.png
-%%DATADIR%%/patch47.png
-%%DATADIR%%/patch48.png
-%%DATADIR%%/patch49.png
-%%DATADIR%%/patch5.png
-%%DATADIR%%/patch50.png
-%%DATADIR%%/patch51.png
-%%DATADIR%%/patch52.png
-%%DATADIR%%/patch53.png
-%%DATADIR%%/patch54.png
-%%DATADIR%%/patch55.png
-%%DATADIR%%/patch56.png
-%%DATADIR%%/patch57.png
-%%DATADIR%%/patch58.png
-%%DATADIR%%/patch59.png
-%%DATADIR%%/patch6.png
-%%DATADIR%%/patch7.png
-%%DATADIR%%/patch8.png
-%%DATADIR%%/patch9.png
-%%DATADIR%%/patchmatch.png
-%%DATADIR%%/perfect.png
-%%DATADIR%%/perfectpaths.png
-%%DATADIR%%/pp_1_hi.png
-%%DATADIR%%/pp_1_lo.png
-%%DATADIR%%/pp_3_hi.png
-%%DATADIR%%/pp_3_lo.png
-%%DATADIR%%/pp_5_hi.png
-%%DATADIR%%/pp_5_lo.png
-%%DATADIR%%/pp_7_hi.png
-%%DATADIR%%/pp_7_lo.png
-%%DATADIR%%/pp_9_hi.png
-%%DATADIR%%/pp_9_lo.png
-%%DATADIR%%/professor.ogg
-%%DATADIR%%/professor_talk.png
-%%DATADIR%%/propeller.png
-%%DATADIR%%/propeller_bad.png
-%%DATADIR%%/puff.png
-%%DATADIR%%/qu.png
-%%DATADIR%%/quit_test.png
-%%DATADIR%%/r.png
-%%DATADIR%%/red_cross.png
-%%DATADIR%%/red_cup.png
-%%DATADIR%%/remember.png
-%%DATADIR%%/result.wav
-%%DATADIR%%/results.ogg
-%%DATADIR%%/results_bronze.png
-%%DATADIR%%/results_bronze_90.png
-%%DATADIR%%/results_fail.png
-%%DATADIR%%/results_fail_90.png
-%%DATADIR%%/results_gold.png
-%%DATADIR%%/results_gold_90.png
-%%DATADIR%%/results_platinum.png
-%%DATADIR%%/results_platinum_90.png
-%%DATADIR%%/results_silver.png
-%%DATADIR%%/results_silver_90.png
-%%DATADIR%%/rock.png
-%%DATADIR%%/rockpaperscissors.png
-%%DATADIR%%/rockpaperscissors_loses.png
-%%DATADIR%%/routefinder.png
-%%DATADIR%%/s.png
-%%DATADIR%%/scissors.png
-%%DATADIR%%/scrambled.png
-%%DATADIR%%/secret_hi.png
-%%DATADIR%%/secret_lo.png
-%%DATADIR%%/selected48.png
-%%DATADIR%%/set_circle_blue_empty.png
-%%DATADIR%%/set_circle_blue_filled.png
-%%DATADIR%%/set_circle_blue_stripy.png
-%%DATADIR%%/set_circle_green_empty.png
-%%DATADIR%%/set_circle_green_filled.png
-%%DATADIR%%/set_circle_green_stripy.png
-%%DATADIR%%/set_circle_red_empty.png
-%%DATADIR%%/set_circle_red_filled.png
-%%DATADIR%%/set_circle_red_stripy.png
-%%DATADIR%%/set_square_blue_empty.png
-%%DATADIR%%/set_square_blue_filled.png
-%%DATADIR%%/set_square_blue_stripy.png
-%%DATADIR%%/set_square_green_empty.png
-%%DATADIR%%/set_square_green_filled.png
-%%DATADIR%%/set_square_green_stripy.png
-%%DATADIR%%/set_square_red_empty.png
-%%DATADIR%%/set_square_red_filled.png
-%%DATADIR%%/set_square_red_stripy.png
-%%DATADIR%%/set_triangle_blue_empty.png
-%%DATADIR%%/set_triangle_blue_filled.png
-%%DATADIR%%/set_triangle_blue_stripy.png
-%%DATADIR%%/set_triangle_green_empty.png
-%%DATADIR%%/set_triangle_green_filled.png
-%%DATADIR%%/set_triangle_green_stripy.png
-%%DATADIR%%/set_triangle_red_empty.png
-%%DATADIR%%/set_triangle_red_filled.png
-%%DATADIR%%/set_triangle_red_stripy.png
-%%DATADIR%%/setfinder.png
-%%DATADIR%%/sharpshooter.png
-%%DATADIR%%/sheep_left.png
-%%DATADIR%%/sheep_right.png
-%%DATADIR%%/shortcircuitsudoku.png
-%%DATADIR%%/shufflepuzzler.png
-%%DATADIR%%/shufflepuzzler1.png
-%%DATADIR%%/shufflepuzzler2.png
-%%DATADIR%%/shufflepuzzler3.png
-%%DATADIR%%/shufflepuzzler4.png
-%%DATADIR%%/shufflepuzzler5.png
-%%DATADIR%%/shufflepuzzler6.png
-%%DATADIR%%/shufflepuzzler7.png
-%%DATADIR%%/shufflepuzzler8.png
-%%DATADIR%%/shufflepuzzler9.png
-%%DATADIR%%/slide.wav
-%%DATADIR%%/slingshot.png
-%%DATADIR%%/soft_boom.wav
-%%DATADIR%%/sound_off.png
-%%DATADIR%%/star_bright.png
-%%DATADIR%%/star_dark.png
-%%DATADIR%%/star_medium.png
-%%DATADIR%%/starmarch.ogg
-%%DATADIR%%/stars_glow.png
-%%DATADIR%%/strangerdanger.png
-%%DATADIR%%/strangerdanger_remember.png
-%%DATADIR%%/swoosh_long.wav
-%%DATADIR%%/symboliclogic.png
-%%DATADIR%%/t.png
-%%DATADIR%%/target.png
-%%DATADIR%%/teststatus1.png
-%%DATADIR%%/teststatus2.png
-%%DATADIR%%/teststatus3.png
-%%DATADIR%%/teststatus4.png
-%%DATADIR%%/teststatus5.png
-%%DATADIR%%/theme.ogg
-%%DATADIR%%/u.png
-%%DATADIR%%/v.png
-%%DATADIR%%/w.png
-%%DATADIR%%/whack.wav
-%%DATADIR%%/whichisstranger.png
-%%DATADIR%%/white.png
-%%DATADIR%%/white_circle.png
-%%DATADIR%%/wordlist.txt
-%%DATADIR%%/wordsmash_bottom.png
-%%DATADIR%%/wordsmash_top.png
-%%DATADIR%%/wrong.png
-%%DATADIR%%/wrong.wav
-%%DATADIR%%/wrong2.wav
-%%DATADIR%%/wrong3.wav
-%%DATADIR%%/x.png
-%%DATADIR%%/y.png
-%%DATADIR%%/z.png
-%%DATADIR%%/zap.wav
-@dirrm %%DATADIR%%
OpenPOWER on IntegriCloud