svn commit: r330756 - head/games/paintown

Bernhard Froehlich decke at FreeBSD.org
Fri Oct 18 14:46:43 UTC 2013


Author: decke
Date: Fri Oct 18 14:46:42 2013
New Revision: 330756
URL: http://svnweb.freebsd.org/changeset/ports/330756

Log:
  - Support staging
  - Convert LIB_DEPENDS to new shlib format
  - Clanup
  - Bump PORTREVISION

Modified:
  head/games/paintown/Makefile

Modified: head/games/paintown/Makefile
==============================================================================
--- head/games/paintown/Makefile	Fri Oct 18 14:40:44 2013	(r330755)
+++ head/games/paintown/Makefile	Fri Oct 18 14:46:42 2013	(r330756)
@@ -3,7 +3,7 @@
 
 PORTNAME=	paintown
 PORTVERSION=	3.6.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	SF
 
@@ -11,11 +11,10 @@ MAINTAINER=	decke at FreeBSD.org
 COMMENT=	Fighting game similar to Streets of Rage and TMNT
 
 LICENSE=	BSD
-LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS+=	alleg:${PORTSDIR}/devel/allegro \
-		png15:${PORTSDIR}/graphics/png \
-		freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	liballeg.so:${PORTSDIR}/devel/allegro \
+		libpng.so:${PORTSDIR}/graphics/png \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 
 USE_BZIP2=	yes
 USE_SCONS=	yes
@@ -31,12 +30,11 @@ DESKTOP_ENTRIES="Paintown" "Fighting gam
 		"${LOCALBASE}/share/icons/hicolor/32x32/apps/paintown.png" \
 		"paintown" "Game;ActionGame;" false
 
-NO_STAGE=	yes
 do-install:
-		${MKDIR} ${DATADIR}
-		(cd ${WRKSRC} && ./install.sh -d ${DATADIR} -b ${PREFIX}/bin)
-		${MKDIR} ${LOCALBASE}/share/icons/hicolor/32x32/apps
+		${MKDIR} ${STAGEDIR}${DATADIR}
+		(cd ${WRKSRC} && ./install.sh -d ${STAGEDIR}${DATADIR} -b ${STAGEDIR}${PREFIX}/bin)
+		${MKDIR} ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/32x32/apps
 		${INSTALL_DATA} ${WRKSRC}/misc/icon.png \
-			${LOCALBASE}/share/icons/hicolor/32x32/apps/paintown.png
+			${STAGEDIR}${LOCALBASE}/share/icons/hicolor/32x32/apps/paintown.png
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list