svn commit: r353204 - in head: converters/osm2mp devel/bennugd-core devel/bennugd-modules devel/gnucflow devel/love5 devel/py-ode games/blackshadeselite games/bloodfrontier games/caph games/critter...

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 7 20:42:41 UTC 2014


Author: amdmi3
Date: Wed May  7 20:42:38 2014
New Revision: 353204
URL: http://svnweb.freebsd.org/changeset/ports/353204
QAT: https://qat.redports.org/buildarchive/r353204/

Log:
  - Convert USE_BZIP2 and USE_DOS2UNIX to USES

Modified:
  head/converters/osm2mp/Makefile
  head/devel/bennugd-core/Makefile
  head/devel/bennugd-modules/Makefile
  head/devel/gnucflow/Makefile
  head/devel/love5/Makefile
  head/devel/py-ode/Makefile
  head/games/blackshadeselite/Makefile
  head/games/bloodfrontier/Makefile
  head/games/caph/Makefile
  head/games/critterding/Makefile
  head/games/diameter/Makefile

Modified: head/converters/osm2mp/Makefile
==============================================================================
--- head/converters/osm2mp/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/converters/osm2mp/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -20,8 +20,7 @@ RUN_DEPENDS=	p5-YAML>=0:${PORTSDIR}/text
 
 LICENSE=	GPLv2
 
-USE_BZIP2=	yes
-USES=		perl5
+USES=		tar:bzip2 perl5
 USE_PERL5=	run
 NO_BUILD=	yes
 

Modified: head/devel/bennugd-core/Makefile
==============================================================================
--- head/devel/bennugd-core/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/devel/bennugd-core/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -11,12 +11,12 @@ DISTNAME=	bennugd-${PORTVERSION}
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	High level open source game development suite, core libs
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 dos2unix
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS= --bindir="${PREFIX}/libexec"
 SUB_FILES=	bgdc bgdi
 USE_LDCONFIG=	yes
-USE_DOS2UNIX=	*.c *.h
+DOS2UNIX_GLOB=	*.c *.h
 
 ONLY_FOR_ARCHS=	i386
 ONLY_FOR_ARCHS_REASON=	Segfaults on !i386

Modified: head/devel/bennugd-modules/Makefile
==============================================================================
--- head/devel/bennugd-modules/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/devel/bennugd-modules/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -14,16 +14,14 @@ COMMENT=	High level open source game dev
 LIB_DEPENDS=	libbgdrtm.so:${PORTSDIR}/devel/bennugd-core \
 		libpng.so:${PORTSDIR}/graphics/png
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 dos2unix pkgconfig
 USE_SDL=	sdl mixer
 GNU_CONFIGURE=	yes
-USES=		pkgconfig
 CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--libdir="${PREFIX}/lib/bennugd"
 CONFIGURE_ENV=	ZLIB_CFLAGS=" " ZLIB_LIBS="-lz"
-
-USE_DOS2UNIX=	*.c
+DOS2UNIX_GLOB=	*.c
 
 WRKSRC=		${WRKDIR}/bennugd/${PORTNAME}
 

Modified: head/devel/gnucflow/Makefile
==============================================================================
--- head/devel/gnucflow/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/devel/gnucflow/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -13,9 +13,8 @@ COMMENT=	Tool to chart control flow with
 
 CONFLICTS=	bsdcflow-[0-9]* cflow-[0-9]*
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake
 GNU_CONFIGURE=	yes
-USES=		gmake
 
 INFO=		cflow
 

Modified: head/devel/love5/Makefile
==============================================================================
--- head/devel/love5/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/devel/love5/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -16,8 +16,7 @@ LIB_DEPENDS=	libIL.so:${PORTSDIR}/graphi
 		libfreetype.so:${PORTSDIR}/print/freetype2
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
-USE_BZIP2=	yes
-USES=		gmake
+USES=		tar:bzip2 gmake dos2unix
 USE_SDL=	sdl mixer
 USE_GL=		gl glu
 USE_LUA=	5.1+
@@ -27,7 +26,7 @@ CPPFLAGS+=	-I${LOCALBASE}/include -I${LO
 LDFLAGS+=	-L${LOCALBASE}/lib -L${LUA_LIBDIR}
 CONFIGURE_ARGS=	--bindir=${PREFIX}/bin --libdir=${PREFIX}/lib \
 		--program-suffix=5
-USE_DOS2UNIX=	yes
+DOS2UNIX_FILES=	src/system/love_system.cpp
 
 PLIST_FILES=	bin/love5
 

Modified: head/devel/py-ode/Makefile
==============================================================================
--- head/devel/py-ode/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/devel/py-ode/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -15,8 +15,7 @@ COMMENT=	Python bindings for The Open Dy
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode
 
-USE_BZIP2=	yes
-
+USES=		tar:bzip2
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
 PYDISTUTILS_PKGNAME=	PyODE

Modified: head/games/blackshadeselite/Makefile
==============================================================================
--- head/games/blackshadeselite/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/games/blackshadeselite/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -13,8 +13,7 @@ COMMENT=	Psychic Bodyguard FPS - protect
 
 LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 
-USES=		gmake openal:al,alut
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake openal:al,alut
 USE_SDL=	sdl
 USE_GL=		yes
 

Modified: head/games/bloodfrontier/Makefile
==============================================================================
--- head/games/bloodfrontier/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/games/bloodfrontier/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -13,9 +13,8 @@ COMMENT=	Single- and multi-player first-
 
 LICENSE=	ZLIB
 
-USES=		gmake
+USES=		tar:bzip2 gmake
 GNU_CONFIGURE=	yes
-USE_BZIP2=	yes
 CONFIGURE_WRKSRC=	${WRKSRC}/src/enet
 BUILD_WRKSRC=	${WRKSRC}/src
 WRKSRC=		${WRKDIR}/${PORTNAME}

Modified: head/games/caph/Makefile
==============================================================================
--- head/games/caph/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/games/caph/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -14,8 +14,7 @@ LICENSE=	GPLv3
 
 LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 
-USES=		iconv
-USE_BZIP2=	yes
+USES=		tar:bzip2 iconv
 USE_SDL=	sdl
 USE_GL=		gl
 

Modified: head/games/critterding/Makefile
==============================================================================
--- head/games/critterding/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/games/critterding/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -12,8 +12,7 @@ COMMENT=	Evolving Artificial Life
 
 LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
 
-USE_BZIP2=	yes
-USES=		pkgconfig
+USES=		tar:bzip2 pkgconfig
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	autoconf:env aclocal:env automake:env libtool
 USE_SDL=	sdl
@@ -27,8 +26,6 @@ PORTDOCS=	README AUTHORS Changelog
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|../share/critterding|${DATADIR}|' \
 		${WRKSRC}/src/gui/textprinter.cpp ${WRKSRC}/src/gl/glwindow.cpp
@@ -36,12 +33,10 @@ post-patch:
 pre-configure:
 	cd ${WRKSRC} && ${AUTORECONF} -fi
 
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/diameter/Makefile
==============================================================================
--- head/games/diameter/Makefile	Wed May  7 20:27:29 2014	(r353203)
+++ head/games/diameter/Makefile	Wed May  7 20:42:38 2014	(r353204)
@@ -13,9 +13,8 @@ COMMENT=	Arcade-style game with elements
 LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png \
 		libguichan.so:${PORTSDIR}/devel/guichan
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake pkgconfig
 GNU_CONFIGURE=	yes
-USES=		gmake pkgconfig
 USE_GL=		gl
 USE_SDL=	sdl mixer image
 USE_PYTHON=	yes


More information about the svn-ports-head mailing list