Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 02:58:18 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336040 - head/games/pushover
Message-ID:  <201312100258.rBA2wIFN018298@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec 10 02:58:18 2013
New Revision: 336040
URL: http://svnweb.freebsd.org/changeset/ports/336040

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Modified:
  head/games/pushover/Makefile
  head/games/pushover/pkg-plist

Modified: head/games/pushover/Makefile
==============================================================================
--- head/games/pushover/Makefile	Tue Dec 10 02:39:57 2013	(r336039)
+++ head/games/pushover/Makefile	Tue Dec 10 02:58:18 2013	(r336040)
@@ -9,7 +9,7 @@ MASTER_SITES=	SF/${PORTNAME}/Pushover/${
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	A puzzle game where the goal is to push over all dominoes
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 
 GNU_CONFIGURE=	yes
 USE_SDL=	sdl mixer ttf
@@ -19,6 +19,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib
 USES=		gettext gmake pkgconfig
 
 PORTDOCS=	*
+PORTDATA=	*
 
 DESKTOP_ENTRIES="Pushover" \
 		"Push over all dominoes" \
@@ -27,14 +28,9 @@ DESKTOP_ENTRIES="Pushover" \
 		"Game;LogicGame;" \
 		false
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|lua5.1|lua-5.1|' ${WRKSRC}/configure
-.if ! ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -e '/install-data-am/ s|install-dist_docDATA||' \
-		${WRKSRC}/Makefile.in
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/pushover/pkg-plist
==============================================================================
--- head/games/pushover/pkg-plist	Tue Dec 10 02:39:57 2013	(r336039)
+++ head/games/pushover/pkg-plist	Tue Dec 10 02:58:18 2013	(r336040)
@@ -7,61 +7,3 @@ share/locale/fr/LC_MESSAGES/pushover.mo
 share/locale/it/LC_MESSAGES/pushover.mo
 share/locale/ru/LC_MESSAGES/pushover.mo
 share/locale/sv/LC_MESSAGES/pushover.mo
-%%DATADIR%%/data/01_StandardFalling.ogg
-%%DATADIR%%/data/02_StopperHit.ogg
-%%DATADIR%%/data/03_Splitter.ogg
-%%DATADIR%%/data/04_Exploder.ogg
-%%DATADIR%%/data/05_Delay.ogg
-%%DATADIR%%/data/06_TumblerFalling.ogg
-%%DATADIR%%/data/07_BridgerFalling.ogg
-%%DATADIR%%/data/09_TriggerFalling.ogg
-%%DATADIR%%/data/0A_Ascender.ogg
-%%DATADIR%%/data/0B_Falling.ogg
-%%DATADIR%%/data/0C_Landing.ogg
-%%DATADIR%%/data/0D_PickUpDomino.ogg
-%%DATADIR%%/data/0E_Tapping.ogg
-%%DATADIR%%/data/0F_Schrugging.ogg
-%%DATADIR%%/data/10_DoorClose.ogg
-%%DATADIR%%/data/11_DoorOpen.ogg
-%%DATADIR%%/data/13_Victory.ogg
-%%DATADIR%%/data/FreeSans.ttf
-%%DATADIR%%/data/ant.png
-%%DATADIR%%/data/box.png
-%%DATADIR%%/data/carried.png
-%%DATADIR%%/data/dominos.png
-%%DATADIR%%/levels/av.gz
-%%DATADIR%%/levels/original.gz
-%%DATADIR%%/pushover.ico
-%%DATADIR%%/themes/aztec.lua
-%%DATADIR%%/themes/aztec.ogg
-%%DATADIR%%/themes/aztec.png
-%%DATADIR%%/themes/castle.lua
-%%DATADIR%%/themes/castle.ogg
-%%DATADIR%%/themes/castle.png
-%%DATADIR%%/themes/cavern.lua
-%%DATADIR%%/themes/cavern.png
-%%DATADIR%%/themes/dungeon.lua
-%%DATADIR%%/themes/dungeon.ogg
-%%DATADIR%%/themes/dungeon.png
-%%DATADIR%%/themes/electro.lua
-%%DATADIR%%/themes/electro.png
-%%DATADIR%%/themes/greek.lua
-%%DATADIR%%/themes/greek.ogg
-%%DATADIR%%/themes/greek.png
-%%DATADIR%%/themes/japanese.lua
-%%DATADIR%%/themes/japanese.ogg
-%%DATADIR%%/themes/japanese.png
-%%DATADIR%%/themes/mechanic.lua
-%%DATADIR%%/themes/mechanic.ogg
-%%DATADIR%%/themes/mechanic.png
-%%DATADIR%%/themes/space.lua
-%%DATADIR%%/themes/space.ogg
-%%DATADIR%%/themes/space.png
-%%DATADIR%%/themes/tools.lua
-%%DATADIR%%/themes/toxcity.lua
-%%DATADIR%%/themes/toxcity.ogg
-%%DATADIR%%/themes/toxcity.png
-@dirrm %%DATADIR%%/themes
-@dirrm %%DATADIR%%/levels
-@dirrm %%DATADIR%%/data
-@dirrm %%DATADIR%%



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