svn commit: r353186 - in head/games: hedgewars meritous openlierox openmortal osgg peg-e reminiscence ri-li sdl-ball simplevaders tomatoes vor xorgramana zaz

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 7 18:06:24 UTC 2014


Author: amdmi3
Date: Wed May  7 18:06:21 2014
New Revision: 353186
URL: http://svnweb.freebsd.org/changeset/ports/353186
QAT: https://qat.redports.org/buildarchive/r353186/

Log:
  - Convert USE_BZIP2 and USE_DOS2UNIX to USES

Modified:
  head/games/hedgewars/Makefile
  head/games/meritous/Makefile
  head/games/openlierox/Makefile
  head/games/openmortal/Makefile
  head/games/osgg/Makefile
  head/games/peg-e/Makefile
  head/games/reminiscence/Makefile
  head/games/ri-li/Makefile
  head/games/sdl-ball/Makefile
  head/games/simplevaders/Makefile
  head/games/tomatoes/Makefile
  head/games/vor/Makefile
  head/games/xorgramana/Makefile
  head/games/zaz/Makefile

Modified: head/games/hedgewars/Makefile
==============================================================================
--- head/games/hedgewars/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/hedgewars/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -18,8 +18,7 @@ LICENSE_COMB=	multi
 ONLY_FOR_ARCHS=	i386 amd64
 ONLY_FOR_ARCHS_REASON=	depends on fpc which is only available for i386 and amd64
 
-USE_BZIP2=	yes
-USES=		cmake
+USES=		tar:bzip2 cmake
 USE_SDL=	sdl mixer image ttf net
 USE_FPC=	opengl libpng
 USE_LUA=	5.1+

Modified: head/games/meritous/Makefile
==============================================================================
--- head/games/meritous/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/meritous/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -14,11 +14,10 @@ COMMENT=	Action-adventure dungeon crawl 
 
 LICENSE=	GPLv3
 
-USE_BZIP2=	yes
-USES=		gmake
+USES=		tar:bzip2 dos2unix gmake
 USE_SDL=	sdl mixer image
 ALL_TARGET=	default
-USE_DOS2UNIX=	dat/d/helpfile.txt src/*.c
+DOS2UNIX_FILES=	dat/d/helpfile.txt src/boss.c src/levelblit.c
 
 PLIST_FILES=	bin/${PORTNAME}
 

Modified: head/games/openlierox/Makefile
==============================================================================
--- head/games/openlierox/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/openlierox/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -17,7 +17,7 @@ LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphi
 		libcurl.so:${PORTSDIR}/ftp/curl \
 		libalut.so:${PORTSDIR}/audio/freealut
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 cmake openal pkgconfig
 USE_SDL=	sdl image
 USE_GNOME=	libxml2
 USE_GCC=	any # too many gcc'isms
@@ -26,7 +26,6 @@ CFLAGS+=	-I${LOCALBASE}/include
 CXXFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-USES=		cmake openal pkgconfig
 CMAKE_ARGS=	-DHAWKNL_BUILTIN=YES \
 		-DLIBZIP_BUILTIN=YES \
 		-DBREAKPAD=NO \

Modified: head/games/openmortal/Makefile
==============================================================================
--- head/games/openmortal/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/openmortal/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -12,11 +12,10 @@ COMMENT=	A parody of the once popular co
 
 LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 dos2unix perl5
 GNU_CONFIGURE=	yes
-USES=		perl5
 USE_SDL=	mixer image sdl net
-USE_DOS2UNIX=	src/gfx.cpp
+DOS2UNIX_FILES=	src/gfx.cpp
 
 PLIST_FILES=	bin/${PORTNAME}
 PORTDATA=	*

Modified: head/games/osgg/Makefile
==============================================================================
--- head/games/osgg/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/osgg/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -10,7 +10,7 @@ MASTER_SITES=	SF
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	OldSkool Gravity Game
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 USE_SDL=	sdl image ttf mixer
 USE_GL=		yes
 

Modified: head/games/peg-e/Makefile
==============================================================================
--- head/games/peg-e/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/peg-e/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -11,8 +11,7 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Peg elimination game
 
-USES=		qmake
-USE_BZIP2=	yes
+USES=		tar:bzip2 qmake
 USE_QT4=	corelib gui moc_build rcc_build
 INSTALLS_ICONS=	yes
 

Modified: head/games/reminiscence/Makefile
==============================================================================
--- head/games/reminiscence/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/reminiscence/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -11,8 +11,7 @@ MASTER_SITES=	http://cyxdown.free.fr/rem
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	A rewritten engine for Flashback
 
-USE_BZIP2=	yes
-USES=		gmake
+USES=		tar:bzip2 gmake
 USE_SDL=	sdl
 
 ALL_TARGET=	rs

Modified: head/games/ri-li/Makefile
==============================================================================
--- head/games/ri-li/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/ri-li/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -10,9 +10,8 @@ MASTER_SITES=	SF/${PORTNAME:tl}/${PORTNA
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Drive a toy wood train in many levels - snake-like arcade game
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake
 GNU_CONFIGURE=	yes
-USES=		gmake
 USE_SDL=	sdl mixer
 
 CPPFLAGS+=	`${SDL_CONFIG} --cflags` -I${LOCALBASE}/include

Modified: head/games/sdl-ball/Makefile
==============================================================================
--- head/games/sdl-ball/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/sdl-ball/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -13,12 +13,11 @@ COMMENT=	Arkanoid/Breakout clone with pr
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		gmake
-USE_BZIP2=	yes
+USES=		tar:bzip2 dos2unix gmake
 USE_SDL=	sdl mixer image ttf
 USE_GL=		gl glu
 MAKE_ENV=	DATADIR=${DATADIR}/
-USE_DOS2UNIX=	main.cpp
+DOS2UNIX_FILES=	main.cpp
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -28,8 +27,6 @@ PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-build:
 	cd ${WRKSRC} && ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --cflags --libs` \
 		-lGL -lGLU -lSDL_image -lSDL_ttf -lSDL_mixer \
@@ -39,9 +36,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/simplevaders/Makefile
==============================================================================
--- head/games/simplevaders/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/simplevaders/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -13,7 +13,7 @@ COMMENT=	A Space-Invaders like 2D space 
 
 LICENSE=	GPLv3
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 USE_SDL=	sdl mixer image ttf
 USE_GL=		gl glu
 

Modified: head/games/tomatoes/Makefile
==============================================================================
--- head/games/tomatoes/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/tomatoes/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -15,10 +15,9 @@ COMMENT=	Tomato-smashing, Q-Bert style
 WRKSRC=		${WRKDIR}/tomatoes-${PORTVERSION}5
 TDATA=		${WRKDIR}/tomatoes-${PORTVERSION}
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake
 USE_SDL=	mixer image
 USE_GL=		gl
-USES=		gmake
 MAKEFILE=	makefile
 MAKE_ARGS=	CC="${CXX}" \
 		MPKDIR="${DATADIR}/" \

Modified: head/games/vor/Makefile
==============================================================================
--- head/games/vor/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/vor/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -11,9 +11,8 @@ MASTER_SITES=	http://qualdan.com/vor/ \
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Dodge the rocks until you die
 
-USES=		gmake
+USES=		tar:bzip2 gmake
 USE_SDL=	mixer image sdl
-USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/${PORTNAME}
@@ -29,12 +28,8 @@ DESKTOP_ENTRIES="Variations on Rockdodge
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/xorgramana/Makefile
==============================================================================
--- head/games/xorgramana/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/xorgramana/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -12,8 +12,7 @@ DISTNAME=	XorGramana-${PORTVERSION}
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Logic word puzzle game set inside a series of mazes
 
-USE_BZIP2=	yes
-USES=		gmake
+USES=		tar:bzip2 gmake
 USE_SDL=	sdl image
 USE_GL=		glu
 
@@ -30,8 +29,6 @@ DESKTOP_ENTRIES="XorGramana" \
 		"Game;LogicGame;" \
 		false
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
 

Modified: head/games/zaz/Makefile
==============================================================================
--- head/games/zaz/Makefile	Wed May  7 17:52:29 2014	(r353185)
+++ head/games/zaz/Makefile	Wed May  7 18:06:21 2014	(r353186)
@@ -15,9 +15,8 @@ LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/
 		libvorbis.so:${PORTSDIR}/audio/libvorbis \
 		libftgl.so:${PORTSDIR}/graphics/ftgl
 
-USE_BZIP2=	yes
+USES=		tar:bzip2 pkgconfig
 GNU_CONFIGURE=	yes
-USES=		pkgconfig
 USE_SDL=	sdl image
 USE_GL=		gl glu
 


More information about the svn-ports-all mailing list