diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-25 12:58:11 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-25 12:58:11 +0000 |
commit | 8bef066b7c4084b3818e8810a9db068c1362c2c0 (patch) | |
tree | 4d6349217be734bd07b00b296b12e3f3ecd6c159 /games | |
parent | - Fix build on 10.x (diff) |
- Change master sites
- USES gmake instead of USE_GMAKE
- Add USE_GCC=yes
- Add DOCS Option
- Support STAGEDIR, add CONFIGURE_ARGS
- Change Desktop entry file
- Break lines around 80 characters
- Change WWW
- Change pkg-plist, use %%DATADIR%%
Approved by: pawel / wg (mentors, implicit)
Notes
Notes:
svn path=/head/; revision=337412
Diffstat (limited to 'games')
-rw-r--r-- | games/sdlroids/Makefile | 24 | ||||
-rw-r--r-- | games/sdlroids/pkg-descr | 2 | ||||
-rw-r--r-- | games/sdlroids/pkg-plist | 67 |
3 files changed, 46 insertions, 47 deletions
diff --git a/games/sdlroids/Makefile b/games/sdlroids/Makefile index 90261bee8c52..b2470a3b9a19 100644 --- a/games/sdlroids/Makefile +++ b/games/sdlroids/Makefile @@ -6,7 +6,7 @@ PORTVERSION= 1.3.4 PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons DIST_SUBDIR= ${PORTNAME} @@ -18,27 +18,25 @@ COMMENT= Enhanced shoot-the-asteroids game LICENSE= GPLv2 USE_BZIP2= yes +USES= gmake GNU_CONFIGURE= yes -USE_GMAKE= yes +CONFIGURE_ARGS= --datadir=${STAGEDIR}${PREFIX}/share +USE_GCC= yes USE_CSTD= gnu89 USE_SDL= mixer sdl -MAN6= sdlroids.6 - PORTDOCS= ChangeLog README README.orig README.petopt README.xhyperoid TODO -DESKTOP_ENTRIES="SDLRoids" "${COMMENT}" "${PORTNAME}" \ - "${PORTNAME} -n 2" "Game;ArcadeGame;" false +OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> +DESKTOP_ENTRIES="SDLRoids" "" "${PORTNAME}" \ + "${PORTNAME} -n 2" "Game;ArcadeGame;" "" post-install: - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/games/sdlroids/pkg-descr b/games/sdlroids/pkg-descr index 887705033373..491ee4da9db8 100644 --- a/games/sdlroids/pkg-descr +++ b/games/sdlroids/pkg-descr @@ -4,4 +4,4 @@ is a UNIX port of the 16-bit Windows game Hyperoid. Major changes from xhyperoid are that it's using SDL for sound and graphics, has a couple of extra powerups and that the shield behaves differently. -WWW: http://david.hedbor.org/projects/sdlroids/ +WWW: https://sourceforge.net/projects/sdlroids/ diff --git a/games/sdlroids/pkg-plist b/games/sdlroids/pkg-plist index 7d244d769ad6..e45b14e66817 100644 --- a/games/sdlroids/pkg-plist +++ b/games/sdlroids/pkg-plist @@ -1,35 +1,36 @@ bin/sdlroids +man/man6/sdlroids.6.gz share/pixmaps/sdlroids.png -share/sdlroids/bmp/blank.bmp -share/sdlroids/bmp/bomb.bmp -share/sdlroids/bmp/icon.bmp -share/sdlroids/bmp/level.bmp -share/sdlroids/bmp/life.bmp -share/sdlroids/bmp/num0.bmp -share/sdlroids/bmp/num1.bmp -share/sdlroids/bmp/num2.bmp -share/sdlroids/bmp/num3.bmp -share/sdlroids/bmp/num4.bmp -share/sdlroids/bmp/num5.bmp -share/sdlroids/bmp/num6.bmp -share/sdlroids/bmp/num7.bmp -share/sdlroids/bmp/num8.bmp -share/sdlroids/bmp/num9.bmp -share/sdlroids/bmp/plus.bmp -share/sdlroids/bmp/score.bmp -share/sdlroids/bmp/shield.bmp -share/sdlroids/sounds/bonusgot.wav -share/sdlroids/sounds/bshot.wav -share/sdlroids/sounds/bwound.wav -share/sdlroids/sounds/explode.wav -share/sdlroids/sounds/explode2.wav -share/sdlroids/sounds/newbad.wav -share/sdlroids/sounds/newbonus.wav -share/sdlroids/sounds/phit.wav -share/sdlroids/sounds/pshot.wav -share/sdlroids/sounds/swarmsplit.wav -share/sdlroids/sounds/thrust.wav -share/sdlroids/sounds/title.wav -@dirrm share/sdlroids/sounds -@dirrm share/sdlroids/bmp -@dirrm share/sdlroids +%%DATADIR%%/bmp/blank.bmp +%%DATADIR%%/bmp/bomb.bmp +%%DATADIR%%/bmp/icon.bmp +%%DATADIR%%/bmp/level.bmp +%%DATADIR%%/bmp/life.bmp +%%DATADIR%%/bmp/num0.bmp +%%DATADIR%%/bmp/num1.bmp +%%DATADIR%%/bmp/num2.bmp +%%DATADIR%%/bmp/num3.bmp +%%DATADIR%%/bmp/num4.bmp +%%DATADIR%%/bmp/num5.bmp +%%DATADIR%%/bmp/num6.bmp +%%DATADIR%%/bmp/num7.bmp +%%DATADIR%%/bmp/num8.bmp +%%DATADIR%%/bmp/num9.bmp +%%DATADIR%%/bmp/plus.bmp +%%DATADIR%%/bmp/score.bmp +%%DATADIR%%/bmp/shield.bmp +%%DATADIR%%/sounds/bonusgot.wav +%%DATADIR%%/sounds/bshot.wav +%%DATADIR%%/sounds/bwound.wav +%%DATADIR%%/sounds/explode.wav +%%DATADIR%%/sounds/explode2.wav +%%DATADIR%%/sounds/newbad.wav +%%DATADIR%%/sounds/newbonus.wav +%%DATADIR%%/sounds/phit.wav +%%DATADIR%%/sounds/pshot.wav +%%DATADIR%%/sounds/swarmsplit.wav +%%DATADIR%%/sounds/thrust.wav +%%DATADIR%%/sounds/title.wav +@dirrm %%DATADIR%%/sounds +@dirrm %%DATADIR%%/bmp +@dirrm %%DATADIR%% |