aboutsummaryrefslogtreecommitdiff
path: root/games/chapping
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-29 01:37:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-29 01:37:14 +0000
commit0d08d9b1e56b2e9385f2ba49fdf4aa4fb6440ff0 (patch)
tree5553794c80b2f1b7dca4f55f07c64175cebedf37 /games/chapping
parente1d548a722b5452677ae7e4c43e0a97f33b1f6a7 (diff)
downloadports-0d08d9b1e56b2e9385f2ba49fdf4aa4fb6440ff0.tar.gz
ports-0d08d9b1e56b2e9385f2ba49fdf4aa4fb6440ff0.zip
Notes
Diffstat (limited to 'games/chapping')
-rw-r--r--games/chapping/Makefile13
-rw-r--r--games/chapping/pkg-plist221
2 files changed, 7 insertions, 227 deletions
diff --git a/games/chapping/Makefile b/games/chapping/Makefile
index fbbbe4e3d915..92c1e3a6ed0b 100644
--- a/games/chapping/Makefile
+++ b/games/chapping/Makefile
@@ -13,15 +13,17 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Turn based board football game
USE_BZIP2= yes
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl image gfx ttf
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
ALL_TARGET= linux
-NO_STAGE= yes
+PLIST_FILES= bin/${PORTNAME}
+PORTDATA= *
+
post-patch:
- @${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|make|$${MAKE}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e '/^CXX=/ d; s|^SDL=.*|SDL=${SDL_CONFIG}|; \
/\.o:/ d; /^CXXFLAGS=/ s|=-g -Wall -O2|+=|' \
${WRKSRC}/library/Makefile ${WRKSRC}/game/Makefile
@@ -29,8 +31,7 @@ post-patch:
${WRKSRC}/game/*.cpp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/chapping ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
- cd ${WRKSRC} && ${COPYTREE_SHARE} "menuimg themes" ${DATADIR}/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "menuimg themes" ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
diff --git a/games/chapping/pkg-plist b/games/chapping/pkg-plist
deleted file mode 100644
index 106a31a770d4..000000000000
--- a/games/chapping/pkg-plist
+++ /dev/null
@@ -1,221 +0,0 @@
-bin/chapping
-%%DATADIR%%/menuimg/active.png
-%%DATADIR%%/menuimg/click.png
-%%DATADIR%%/menuimg/joinpd.ttf
-%%DATADIR%%/menuimg/logo.png
-%%DATADIR%%/menuimg/menu.png
-%%DATADIR%%/menuimg/noactive.png
-%%DATADIR%%/menuimg/rect.png
-%%DATADIR%%/menuimg/selection.png
-%%DATADIR%%/menuimg/startgame.png
-%%DATADIR%%/themes/beach/accelarrow.png
-%%DATADIR%%/themes/beach/activecap.png
-%%DATADIR%%/themes/beach/activecapyellow.png
-%%DATADIR%%/themes/beach/arrow.png
-%%DATADIR%%/themes/beach/ball.png
-%%DATADIR%%/themes/beach/cap_left.png
-%%DATADIR%%/themes/beach/cap_right.png
-%%DATADIR%%/themes/beach/caps/g18620.png
-%%DATADIR%%/themes/beach/caps/g18621.png
-%%DATADIR%%/themes/beach/caps/g18623.png
-%%DATADIR%%/themes/beach/caps/g18624.png
-%%DATADIR%%/themes/beach/caps/g18625.png
-%%DATADIR%%/themes/beach/caps/g18626.png
-%%DATADIR%%/themes/beach/caps/g18627.png
-%%DATADIR%%/themes/beach/caps/g18628.png
-%%DATADIR%%/themes/beach/caps/g18629.png
-%%DATADIR%%/themes/beach/caps/g18630.png
-%%DATADIR%%/themes/beach/caps/g18631.png
-%%DATADIR%%/themes/beach/capture.png
-%%DATADIR%%/themes/beach/goal.png
-%%DATADIR%%/themes/beach/goal_.png
-%%DATADIR%%/themes/beach/goalmen.png
-%%DATADIR%%/themes/beach/goldenmen.png
-%%DATADIR%%/themes/beach/name.png
-%%DATADIR%%/themes/beach/pass.png
-%%DATADIR%%/themes/beach/passmen.png
-%%DATADIR%%/themes/beach/redmen.png
-%%DATADIR%%/themes/beach/scoreboard.png
-%%DATADIR%%/themes/beach/select.png
-%%DATADIR%%/themes/beach/stadium.png
-%%DATADIR%%/themes/beach/theme.txt
-%%DATADIR%%/themes/beach/timeboard.png
-%%DATADIR%%/themes/beach/timemen.png
-%%DATADIR%%/themes/beach/winmen.png
-%%DATADIR%%/themes/beach/yellowmen.png
-%%DATADIR%%/themes/ice/accelarrow.png
-%%DATADIR%%/themes/ice/activecap.png
-%%DATADIR%%/themes/ice/activecapyellow.png
-%%DATADIR%%/themes/ice/arrow.png
-%%DATADIR%%/themes/ice/ball.png
-%%DATADIR%%/themes/ice/cap_left.png
-%%DATADIR%%/themes/ice/cap_right.png
-%%DATADIR%%/themes/ice/caps/g18728.png
-%%DATADIR%%/themes/ice/caps/g18789.png
-%%DATADIR%%/themes/ice/caps/g18797.png
-%%DATADIR%%/themes/ice/caps/g18818.png
-%%DATADIR%%/themes/ice/caps/g18832.png
-%%DATADIR%%/themes/ice/caps/g18846.png
-%%DATADIR%%/themes/ice/caps/g19658.png
-%%DATADIR%%/themes/ice/caps/g21128.png
-%%DATADIR%%/themes/ice/caps/g21149.png
-%%DATADIR%%/themes/ice/caps/g21161.png
-%%DATADIR%%/themes/ice/caps/g21172.png
-%%DATADIR%%/themes/ice/caps/g21183.png
-%%DATADIR%%/themes/ice/caps/g21194.png
-%%DATADIR%%/themes/ice/caps/g21202.png
-%%DATADIR%%/themes/ice/caps/g21607.png
-%%DATADIR%%/themes/ice/caps/g21620.png
-%%DATADIR%%/themes/ice/caps/g21630.png
-%%DATADIR%%/themes/ice/caps/g21640.png
-%%DATADIR%%/themes/ice/caps/g21650.png
-%%DATADIR%%/themes/ice/caps/g21660.png
-%%DATADIR%%/themes/ice/caps/g21670.png
-%%DATADIR%%/themes/ice/capture.png
-%%DATADIR%%/themes/ice/goal.png
-%%DATADIR%%/themes/ice/goalmen.png
-%%DATADIR%%/themes/ice/goldenmen.png
-%%DATADIR%%/themes/ice/name.png
-%%DATADIR%%/themes/ice/pass.png
-%%DATADIR%%/themes/ice/passmen.png
-%%DATADIR%%/themes/ice/redmen.png
-%%DATADIR%%/themes/ice/scoreboard.png
-%%DATADIR%%/themes/ice/select.png
-%%DATADIR%%/themes/ice/select_.png
-%%DATADIR%%/themes/ice/stadium.png
-%%DATADIR%%/themes/ice/theme.txt
-%%DATADIR%%/themes/ice/timeboard.png
-%%DATADIR%%/themes/ice/timemen.png
-%%DATADIR%%/themes/ice/winmen.png
-%%DATADIR%%/themes/ice/yellowmen.png
-%%DATADIR%%/themes/original/accelarrow.png
-%%DATADIR%%/themes/original/activecap.png
-%%DATADIR%%/themes/original/activecapyellow.png
-%%DATADIR%%/themes/original/arrow.png
-%%DATADIR%%/themes/original/ball.png
-%%DATADIR%%/themes/original/cap_left.png
-%%DATADIR%%/themes/original/cap_right.png
-%%DATADIR%%/themes/original/caps/g10500.png
-%%DATADIR%%/themes/original/caps/g10534.png
-%%DATADIR%%/themes/original/caps/g10544.png
-%%DATADIR%%/themes/original/caps/g10570.png
-%%DATADIR%%/themes/original/caps/g9563.png
-%%DATADIR%%/themes/original/caps/g9606.png
-%%DATADIR%%/themes/original/caps/g9610.png
-%%DATADIR%%/themes/original/caps/g9614.png
-%%DATADIR%%/themes/original/caps/g9618.png
-%%DATADIR%%/themes/original/caps/g9622.png
-%%DATADIR%%/themes/original/caps/g9626.png
-%%DATADIR%%/themes/original/caps/g9630.png
-%%DATADIR%%/themes/original/caps/g9634.png
-%%DATADIR%%/themes/original/caps/g9638.png
-%%DATADIR%%/themes/original/caps/g9642.png
-%%DATADIR%%/themes/original/caps/g9646.png
-%%DATADIR%%/themes/original/caps/g9650.png
-%%DATADIR%%/themes/original/caps/g9654.png
-%%DATADIR%%/themes/original/caps/g9658.png
-%%DATADIR%%/themes/original/caps/g9662.png
-%%DATADIR%%/themes/original/capture.png
-%%DATADIR%%/themes/original/goal.png
-%%DATADIR%%/themes/original/goalmen.png
-%%DATADIR%%/themes/original/goldenmen.png
-%%DATADIR%%/themes/original/mini_timer_num.png
-%%DATADIR%%/themes/original/name.png
-%%DATADIR%%/themes/original/pass.png
-%%DATADIR%%/themes/original/passmen.png
-%%DATADIR%%/themes/original/redmen.png
-%%DATADIR%%/themes/original/scoreboard.png
-%%DATADIR%%/themes/original/select.png
-%%DATADIR%%/themes/original/stadium.png
-%%DATADIR%%/themes/original/theme.txt
-%%DATADIR%%/themes/original/timeboard.png
-%%DATADIR%%/themes/original/timemen.png
-%%DATADIR%%/themes/original/winmen.png
-%%DATADIR%%/themes/original/yellowmen.png
-%%DATADIR%%/themes/pool/accelarrow.png
-%%DATADIR%%/themes/pool/activecap.png
-%%DATADIR%%/themes/pool/activecapyellow.png
-%%DATADIR%%/themes/pool/arrow.png
-%%DATADIR%%/themes/pool/ball.png
-%%DATADIR%%/themes/pool/cap_left.png
-%%DATADIR%%/themes/pool/cap_right.png
-%%DATADIR%%/themes/pool/caps/1.png
-%%DATADIR%%/themes/pool/caps/10.png
-%%DATADIR%%/themes/pool/caps/11.png
-%%DATADIR%%/themes/pool/caps/12.png
-%%DATADIR%%/themes/pool/caps/13.png
-%%DATADIR%%/themes/pool/caps/14.png
-%%DATADIR%%/themes/pool/caps/15.png
-%%DATADIR%%/themes/pool/caps/2.png
-%%DATADIR%%/themes/pool/caps/3.png
-%%DATADIR%%/themes/pool/caps/4.png
-%%DATADIR%%/themes/pool/caps/5.png
-%%DATADIR%%/themes/pool/caps/6.png
-%%DATADIR%%/themes/pool/caps/7.png
-%%DATADIR%%/themes/pool/caps/8.png
-%%DATADIR%%/themes/pool/caps/9.png
-%%DATADIR%%/themes/pool/caps/pong.svg
-%%DATADIR%%/themes/pool/caps/rect3004.png
-%%DATADIR%%/themes/pool/capture.png
-%%DATADIR%%/themes/pool/goal.png
-%%DATADIR%%/themes/pool/goalmen.png
-%%DATADIR%%/themes/pool/goldenmen.png
-%%DATADIR%%/themes/pool/name.png
-%%DATADIR%%/themes/pool/pass.png
-%%DATADIR%%/themes/pool/passmen.png
-%%DATADIR%%/themes/pool/redmen.png
-%%DATADIR%%/themes/pool/scoreboard.png
-%%DATADIR%%/themes/pool/select.png
-%%DATADIR%%/themes/pool/stadium.png
-%%DATADIR%%/themes/pool/theme.txt
-%%DATADIR%%/themes/pool/timeboard.png
-%%DATADIR%%/themes/pool/timemen.png
-%%DATADIR%%/themes/pool/winmen.png
-%%DATADIR%%/themes/pool/yellowmen.png
-%%DATADIR%%/themes/retro/accelarrow.png
-%%DATADIR%%/themes/retro/activecap.png
-%%DATADIR%%/themes/retro/activecapyellow.png
-%%DATADIR%%/themes/retro/arrow.png
-%%DATADIR%%/themes/retro/ball.png
-%%DATADIR%%/themes/retro/cap_left.png
-%%DATADIR%%/themes/retro/cap_right.png
-%%DATADIR%%/themes/retro/caps/g3272.png
-%%DATADIR%%/themes/retro/caps/g3288.png
-%%DATADIR%%/themes/retro/caps/g3294.png
-%%DATADIR%%/themes/retro/caps/g3300.png
-%%DATADIR%%/themes/retro/caps/g3323.png
-%%DATADIR%%/themes/retro/caps/g3343.png
-%%DATADIR%%/themes/retro/caps/g3353.png
-%%DATADIR%%/themes/retro/caps/g3373.png
-%%DATADIR%%/themes/retro/caps/path2469.png
-%%DATADIR%%/themes/retro/caps/path3379.png
-%%DATADIR%%/themes/retro/caps/pong.svg
-%%DATADIR%%/themes/retro/capture.png
-%%DATADIR%%/themes/retro/goal.png
-%%DATADIR%%/themes/retro/goalmen.png
-%%DATADIR%%/themes/retro/goldenmen.png
-%%DATADIR%%/themes/retro/name.png
-%%DATADIR%%/themes/retro/pass.png
-%%DATADIR%%/themes/retro/passmen.png
-%%DATADIR%%/themes/retro/redmen.png
-%%DATADIR%%/themes/retro/scoreboard.png
-%%DATADIR%%/themes/retro/select.png
-%%DATADIR%%/themes/retro/stadium.png
-%%DATADIR%%/themes/retro/theme.txt
-%%DATADIR%%/themes/retro/timeboard.png
-%%DATADIR%%/themes/retro/timemen.png
-%%DATADIR%%/themes/retro/winmen.png
-%%DATADIR%%/themes/retro/yellowmen.png
-@dirrm %%DATADIR%%/themes/retro/caps
-@dirrm %%DATADIR%%/themes/retro
-@dirrm %%DATADIR%%/themes/pool/caps
-@dirrm %%DATADIR%%/themes/pool
-@dirrm %%DATADIR%%/themes/original/caps
-@dirrm %%DATADIR%%/themes/original
-@dirrm %%DATADIR%%/themes/ice/caps
-@dirrm %%DATADIR%%/themes/ice
-@dirrm %%DATADIR%%/themes/beach/caps
-@dirrm %%DATADIR%%/themes/beach
-@dirrm %%DATADIR%%/themes
-@dirrm %%DATADIR%%/menuimg
-@dirrm %%DATADIR%%