Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2013 13:36:51 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334490 - head/games/cosmosmash
Message-ID:  <201311211336.rALDap1e004675@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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%%
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311211336.rALDap1e004675>