svn commit: r334490 - head/games/cosmosmash
Ganael LAPLANCHE
martymac at FreeBSD.org
Thu Nov 21 13:36:52 UTC 2013
Author: martymac
Date: Thu Nov 21 13:36:51 2013
New Revision: 334490
URL: http://svnweb.freebsd.org/changeset/ports/334490
Log:
- Enable staging
- Use new LIB_DEPENDS format
- Update USES
- Always stage documentation
Modified:
head/games/cosmosmash/Makefile
head/games/cosmosmash/pkg-plist
Modified: head/games/cosmosmash/Makefile
==============================================================================
--- head/games/cosmosmash/Makefile Thu Nov 21 13:34:33 2013 (r334489)
+++ head/games/cosmosmash/Makefile Thu Nov 21 13:36:51 2013 (r334490)
@@ -13,35 +13,22 @@ COMMENT= A clone of the Intellivision(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>
Modified: head/games/cosmosmash/pkg-plist
==============================================================================
--- head/games/cosmosmash/pkg-plist Thu Nov 21 13:34:33 2013 (r334489)
+++ head/games/cosmosmash/pkg-plist Thu Nov 21 13:36:51 2013 (r334490)
@@ -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%%
- at exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
- at unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
More information about the svn-ports-head
mailing list