Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 03:36:47 +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: r336042 - head/games/widelands
Message-ID:  <201312100336.rBA3al2p034072@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec 10 03:36:47 2013
New Revision: 336042
URL: http://svnweb.freebsd.org/changeset/ports/336042

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Modified:
  head/games/widelands/Makefile

Modified: head/games/widelands/Makefile
==============================================================================
--- head/games/widelands/Makefile	Tue Dec 10 03:04:48 2013	(r336041)
+++ head/games/widelands/Makefile	Tue Dec 10 03:36:47 2013	(r336042)
@@ -12,9 +12,9 @@ DISTNAME=	${PORTNAME}-${DISTVERSION}-src
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Realtime strategy game inspired by Settlers II
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
-		GLEW:${PORTSDIR}/graphics/glew \
-		execinfo:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
+		libGLEW.so:${PORTSDIR}/graphics/glew \
+		libexecinfo.so:${PORTSDIR}/devel/libexecinfo
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
 USE_BZIP2=	yes
@@ -28,6 +28,7 @@ USE_SDL=	sdl mixer image net ttf gfx
 USE_PYTHON_BUILD=2.5+
 
 PLIST_FILES=	bin/widelands
+PORTDATA=	*
 
 DESKTOP_ENTRIES="Widelands" \
 		"Realtime strategy game inspired by Settlers II" \
@@ -36,15 +37,8 @@ DESKTOP_ENTRIES="Widelands" \
 		"Game;StrategyGame;" \
 		false
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/cmake/Modules/*.cmake
 
-post-install:
-	@${FIND} ${DATADIR} -type f | \
-		${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
-	@${FIND} ${DATADIR} -type d | ${SORT} -r | \
-		${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
-
 .include <bsd.port.mk>



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