mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Drop @dirrm* from plist
- Add LICENSE_FILE - Simplify WRKSRC handling
This commit is contained in:
parent
3f3b5ee23d
commit
a9c0c0c838
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370071
@ -16,8 +16,7 @@ MAINTAINER= games@FreeBSD.org
|
||||
COMMENT= Your mission is to defend little penguinoids
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
|
||||
|
||||
USE_SDL= mixer sdl
|
||||
|
||||
@ -28,22 +27,22 @@ DESKTOP_ENTRIES="Defendguin" "" "${PORTNAME}" \
|
||||
"${PORTNAME}" "Game;ArcadeGame;" ""
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${CC} ${CFLAGS} -DDATA_PREFIX=\"${DATADIR}/\" \
|
||||
cd ${WRKSRC}/src && ${CC} ${CFLAGS} -DDATA_PREFIX=\"${DATADIR}/\" \
|
||||
`${SDL_CONFIG} --cflags` defendguin.c -o defendguin \
|
||||
`${SDL_CONFIG} --libs` -lSDL_mixer -lm
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
||||
|
||||
.for d in images music sounds
|
||||
@(cd ${WRKSRC}/../data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
||||
@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR})
|
||||
.endfor
|
||||
|
||||
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
||||
${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
|
||||
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../docs/|} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- defendguin.c.orig 2009-11-05 22:20:59.000000000 +0100
|
||||
+++ defendguin.c 2012-09-10 22:01:37.000000000 +0200
|
||||
--- src/defendguin.c.orig 2009-11-05 22:20:59.000000000 +0100
|
||||
+++ src/defendguin.c 2012-09-10 22:01:37.000000000 +0200
|
||||
@@ -4322,6 +4322,7 @@
|
||||
"%s\n\n", SDL_GetError());
|
||||
exit(1);
|
||||
|
@ -169,27 +169,3 @@ man/man6/defendguin.6.gz
|
||||
%%DATADIR%%/sounds/title/impatience.wav
|
||||
%%DATADIR%%/sounds/title/select.wav
|
||||
share/pixmaps/defendguin.png
|
||||
@dirrm %%DATADIR%%/sounds/title
|
||||
@dirrm %%DATADIR%%/sounds/ship
|
||||
@dirrm %%DATADIR%%/sounds/peng
|
||||
@dirrm %%DATADIR%%/sounds/gameover
|
||||
@dirrm %%DATADIR%%/sounds/evilbill
|
||||
@dirrm %%DATADIR%%/sounds
|
||||
@dirrm %%DATADIR%%/music
|
||||
@dirrm %%DATADIR%%/images/ufo
|
||||
@dirrm %%DATADIR%%/images/tux
|
||||
@dirrm %%DATADIR%%/images/title
|
||||
@dirrm %%DATADIR%%/images/swarmer
|
||||
@dirrm %%DATADIR%%/images/status
|
||||
@dirrm %%DATADIR%%/images/ship
|
||||
@dirrm %%DATADIR%%/images/points
|
||||
@dirrm %%DATADIR%%/images/pod
|
||||
@dirrm %%DATADIR%%/images/mutant
|
||||
@dirrm %%DATADIR%%/images/loader
|
||||
@dirrm %%DATADIR%%/images/land
|
||||
@dirrm %%DATADIR%%/images/evilbill
|
||||
@dirrm %%DATADIR%%/images/bullet
|
||||
@dirrm %%DATADIR%%/images/bomber
|
||||
@dirrm %%DATADIR%%/images/baiter
|
||||
@dirrm %%DATADIR%%/images
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user