From 9da83ec7ee413576b51d214516b4c86f61a41f59 Mon Sep 17 00:00:00 2001 From: nemysis Date: Tue, 14 Jan 2014 13:20:13 +0000 Subject: - Change master sites - Change icons - USES dos2unix and DOS2UNIX_FILES instead of USE_DOS2UNIX - Change Desktop entry file - Support STAGEDIR - Change WWW --- games/syobon/Makefile | 31 +++++++++++++++---------------- games/syobon/distinfo | 4 ++-- games/syobon/pkg-descr | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) (limited to 'games') diff --git a/games/syobon/Makefile b/games/syobon/Makefile index 91d1450e12dc..66c66c2563cb 100644 --- a/games/syobon/Makefile +++ b/games/syobon/Makefile @@ -6,7 +6,7 @@ PORTVERSION= 1.0.1 PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://download.zapek.com/software/${PORTNAME}/ \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}_${DISTVERSION}_src${EXTRACT_SUFX} @@ -16,9 +16,9 @@ COMMENT= Platform game as Super Mario Bros WRKSRC= ${WRKDIR}/${PORTNAME} -USES= gmake pkgconfig +USES= dos2unix gmake pkgconfig +DOS2UNIX_FILES= *.cpp *.txt USE_SDL= sdl gfx image mixer ttf -USE_DOS2UNIX= *.cpp *.txt USE_GCC= yes ALL_TARGET= ${PORTNAME} @@ -26,22 +26,21 @@ MAKE_ENV= GAMEDATA="${DATADIR}" PORTDOCS= README.txt -DESKTOP_ENTRIES="Syobon Action" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" false - OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include +DESKTOP_ENTRIES="Syobon Action" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - @(cd ${WRKSRC} && ${COPYTREE_SHARE} "BGM SE res" ${DATADIR}) - ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps - -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ +.for d in BGM SE res + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) +.endfor + + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/syobon/distinfo b/games/syobon/distinfo index 758c729ae65e..f66a0cbd3b7e 100644 --- a/games/syobon/distinfo +++ b/games/syobon/distinfo @@ -1,4 +1,4 @@ SHA256 (syobon_1.0.1_src.tar.gz) = e7aaf73098e6bd748ae682aab4e959e887a742647124aac813f864e5106b943a SIZE (syobon_1.0.1_src.tar.gz) = 2721153 -SHA256 (syobon.png) = ef9c5d27c855ef4d83da98562e8f7d4515d232ca4352ecdbf75b0725490f4111 -SIZE (syobon.png) = 1760 +SHA256 (syobon.png) = b515697da7daad8e3fad799efcad522d1cdd77e9abd6074c414aeaf3f7d9a54a +SIZE (syobon.png) = 2480 diff --git a/games/syobon/pkg-descr b/games/syobon/pkg-descr index 813ba70e1259..b181af713273 100644 --- a/games/syobon/pkg-descr +++ b/games/syobon/pkg-descr @@ -2,4 +2,4 @@ Syobon Action (also known as Cat Mario or Neko Mario) is a platform game with a similar gameplay experience as Super Mario Bros, except it s more difficult and was written by some psychopath. -WWW: http://zapek.com/?p=189 +WWW: http://zapek.com/blog/syobon-action/ -- cgit