svn commit: r328588 - in head/devel: love love07 love5

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Sep 28 15:48:39 UTC 2013


Author: amdmi3
Date: Sat Sep 28 15:48:37 2013
New Revision: 328588
URL: http://svnweb.freebsd.org/changeset/ports/328588

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Convert USE_GMAKE to USES

Modified:
  head/devel/love/Makefile
  head/devel/love07/Makefile
  head/devel/love5/Makefile

Modified: head/devel/love/Makefile
==============================================================================
--- head/devel/love/Makefile	Sat Sep 28 15:42:18 2013	(r328587)
+++ head/devel/love/Makefile	Sat Sep 28 15:48:37 2013	(r328588)
@@ -12,15 +12,15 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-lin
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Open-source 2D game engine
 
-LIB_DEPENDS=	IL:${PORTSDIR}/graphics/devil \
-		modplug:${PORTSDIR}/audio/libmodplug \
-		mpg123:${PORTSDIR}/audio/mpg123 \
-		vorbisfile:${PORTSDIR}/audio/libvorbis \
-		physfs:${PORTSDIR}/devel/physfs \
-		freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libIL.so:${PORTSDIR}/graphics/devil \
+		libmodplug.so:${PORTSDIR}/audio/libmodplug \
+		libmpg123.so:${PORTSDIR}/audio/mpg123 \
+		libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
+		libphysfs.so:${PORTSDIR}/devel/physfs \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_OPENAL=	yes
 USE_SDL=	sdl mixer
 USE_GL=		gl glu
@@ -37,7 +37,6 @@ PLIST_FILES=	bin/love
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -46,9 +45,9 @@ post-patch:
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in changes.txt readme.md
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/devel/love07/Makefile
==============================================================================
--- head/devel/love07/Makefile	Sat Sep 28 15:42:18 2013	(r328587)
+++ head/devel/love07/Makefile	Sat Sep 28 15:48:37 2013	(r328588)
@@ -12,19 +12,19 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-lin
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Open-source 2D game engine
 
-LIB_DEPENDS=	IL:${PORTSDIR}/graphics/devil \
-		modplug:${PORTSDIR}/audio/libmodplug \
-		mpg123:${PORTSDIR}/audio/mpg123 \
-		vorbisfile:${PORTSDIR}/audio/libvorbis \
-		physfs:${PORTSDIR}/devel/physfs \
-		freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libIL.so:${PORTSDIR}/graphics/devil \
+		libmodplug.so:${PORTSDIR}/audio/libmodplug \
+		libmpg123.so:${PORTSDIR}/audio/mpg123 \
+		libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
+		libphysfs.so:${PORTSDIR}/devel/physfs \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
 LATEST_LINK=	${PORTNAME}07
 
 PORTSCOUT=	limit:^0\.7\.
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_OPENAL=	yes
 USE_SDL=	sdl mixer
 USE_GL=		gl glu
@@ -43,7 +43,6 @@ PLIST_FILES=	bin/love07
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}07
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -52,9 +51,9 @@ post-patch:
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in changes.txt readme.txt
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/devel/love5/Makefile
==============================================================================
--- head/devel/love5/Makefile	Sat Sep 28 15:42:18 2013	(r328587)
+++ head/devel/love5/Makefile	Sat Sep 28 15:48:37 2013	(r328588)
@@ -10,14 +10,15 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Open-source 2D game engine
 
-LIB_DEPENDS=	IL:${PORTSDIR}/graphics/devil \
-		physfs:${PORTSDIR}/devel/physfs \
-		freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libIL.so:${PORTSDIR}/graphics/devil \
+		libphysfs.so:${PORTSDIR}/devel/physfs \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
 LATEST_LINK=	love5
+
 USE_BZIP2=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_SDL=	sdl mixer
 USE_GL=		gl glu
 USE_LUA=	5.1+
@@ -34,7 +35,6 @@ PLIST_FILES=	bin/love5
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}5
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -45,9 +45,9 @@ post-patch:
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in changes.txt readme.txt
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 


More information about the svn-ports-all mailing list