diff options
author | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2013-11-21 13:36:51 +0000 |
---|---|---|
committer | Ganael LAPLANCHE <martymac@FreeBSD.org> | 2013-11-21 13:36:51 +0000 |
commit | 21dddead382d36d7474865658c776bc440564605 (patch) | |
tree | 1d5776b5c132177d61afe71424f59b9e813e4d59 /games/cosmosmash | |
parent | 7052cd696b35af1754f009709074333556c90909 (diff) |
Notes
Diffstat (limited to 'games/cosmosmash')
-rw-r--r-- | games/cosmosmash/Makefile | 21 | ||||
-rw-r--r-- | games/cosmosmash/pkg-plist | 3 |
2 files changed, 5 insertions, 19 deletions
diff --git a/games/cosmosmash/Makefile b/games/cosmosmash/Makefile index 5e52ea26aadc..37c2b52ac16d 100644 --- a/games/cosmosmash/Makefile +++ b/games/cosmosmash/Makefile @@ -13,35 +13,22 @@ COMMENT= A clone of the Intellivision(TM) game Astrosmash(TM) LICENSE= GPLv2 -LIB_DEPENDS= flatzebra:${PORTSDIR}/devel/flatzebra \ - aa:${PORTSDIR}/graphics/aalib \ - mikmod:${PORTSDIR}/audio/libmikmod \ +LIB_DEPENDS= libflatzebra-0.1.so:${PORTSDIR}/devel/flatzebra \ + libaa.so:${PORTSDIR}/graphics/aalib \ + libmikmod.so:${PORTSDIR}/audio/libmikmod \ libaudiofile.so:${PORTSDIR}/audio/libaudiofile USE_SDL= sdl image mixer USE_XORG= x11 xau xdmcp -USES= iconv pkgconfig -USE_GNOME= desktopfileutils +USES= iconv pkgconfig desktop-file-utils GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs` -MAN6= cosmosmash.6 - -NO_STAGE= yes -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} 's|^docdir = .*|docdir = ${DOCSDIR}|' \ ${WRKSRC}/Makefile.in -.if empty(PORT_OPTIONS:MDOCS) - @${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-man|' \ - ${WRKSRC}/Makefile.in -.endif - -post-install: - @-update-desktop-database .include <bsd.port.mk> diff --git a/games/cosmosmash/pkg-plist b/games/cosmosmash/pkg-plist index 5abcf7c49b5c..5cfdb228d507 100644 --- a/games/cosmosmash/pkg-plist +++ b/games/cosmosmash/pkg-plist @@ -1,4 +1,5 @@ bin/cosmosmash +man/man6/cosmosmash.6.gz share/applications/cosmosmash.desktop share/pixmaps/cosmosmash.png %%DATADIR%%/sounds/rock-hit-0.wav @@ -18,5 +19,3 @@ share/pixmaps/cosmosmash.png %%PORTDOCS%%%%DOCSDIR%%/THANKS %%PORTDOCS%%%%DOCSDIR%%/TODO %%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |