diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-25 16:53:53 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-25 16:53:53 +0000 |
commit | 9bb4096ac4c8faabd8537ec3ed90e9d29c778a47 (patch) | |
tree | 3022ab34c2fc2f2f75d5f06ebe6db9dc810985af /games/madbomber | |
parent | 32bb1cf264a70582e6d2ef0e734163160dd2dc7e (diff) | |
download | ports-9bb4096ac4c8faabd8537ec3ed90e9d29c778a47.tar.gz ports-9bb4096ac4c8faabd8537ec3ed90e9d29c778a47.zip |
Notes
Diffstat (limited to 'games/madbomber')
-rw-r--r-- | games/madbomber/Makefile | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/games/madbomber/Makefile b/games/madbomber/Makefile index b591a5304a1e..ac41ac08f998 100644 --- a/games/madbomber/Makefile +++ b/games/madbomber/Makefile @@ -20,30 +20,26 @@ LDFLAGS+= `${SDL_CONFIG} --libs` PORTDOCS= AUTHORS.txt CHANGES.txt README.txt TODO.txt -DESKTOP_ENTRIES="Mad Bomber" "${COMMENT}" \ - "${PREFIX}/share/pixmaps/${PORTNAME}" \ - "${PORTNAME}" "Game;ArcadeGame;" false +OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> +DESKTOP_ENTRIES="Mad Bomber" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME} \ ${PORTNAME}.c ${LDFLAGS} -lSDL_mixer -lSDL_image do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${DATADIR} .for d in images music sounds - @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${DATADIR}) + @(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor - ${INSTALL_DATA} ${WRKSRC}/data/images/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + ${LN} -sf ${DATADIR}/images/icon.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png -.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> |