Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 03:58:56 +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: r353259 - in head/games: connectfive solarconquest untahris violetland
Message-ID:  <201405080358.s483wus5067992@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu May  8 03:58:56 2014
New Revision: 353259
URL: http://svnweb.freebsd.org/changeset/ports/353259
QAT: https://qat.redports.org/buildarchive/r353259/

Log:
  - Convert USE_DOS2UNIX to USES

Modified:
  head/games/connectfive/Makefile
  head/games/solarconquest/Makefile
  head/games/untahris/Makefile
  head/games/violetland/Makefile

Modified: head/games/connectfive/Makefile
==============================================================================
--- head/games/connectfive/Makefile	Thu May  8 03:56:04 2014	(r353258)
+++ head/games/connectfive/Makefile	Thu May  8 03:58:56 2014	(r353259)
@@ -11,11 +11,11 @@ DISTNAME=	connectFive
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Place five pieces in a row on a 3D board
 
-USES=		gmake
+USES=		gmake dos2unix
 USE_SDL=	sdl
 USE_GL=		gl
 USE_XORG=	xmu xext x11
-USE_DOS2UNIX=	glfont2.h
+DOS2UNIX_FILES=	glfont2.h
 
 MAKEFILE=	Makefile.linux
 ALL_TARGET=	default

Modified: head/games/solarconquest/Makefile
==============================================================================
--- head/games/solarconquest/Makefile	Thu May  8 03:56:04 2014	(r353258)
+++ head/games/solarconquest/Makefile	Thu May  8 03:58:56 2014	(r353259)
@@ -13,9 +13,10 @@ DISTNAME=	SolarConquest
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Space 2D action game with plenty of shooting
 
+USES=		dos2unix
 USE_SDL=	sdl mixer image
 USE_GL=		yes
-USE_DOS2UNIX=	makefile source/MenuScreen.h source/main.cpp
+DOS2UNIX_FILES=	makefile source/MenuScreen.h source/main.cpp
 
 MAKEFILE=	makefile
 

Modified: head/games/untahris/Makefile
==============================================================================
--- head/games/untahris/Makefile	Thu May  8 03:56:04 2014	(r353258)
+++ head/games/untahris/Makefile	Thu May  8 03:58:56 2014	(r353259)
@@ -11,8 +11,9 @@ EXTRACT_SUFX=	-src.tgz
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Play several classic fun, simple arcade games in multiplayer mode
 
+USES=		dos2unix
 USE_SDL=	sdl net ttf mixer
-USE_DOS2UNIX=	intface.cpp
+DOS2UNIX_FILES=	intface.cpp
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PLIST_FILES=	bin/${PORTNAME}
@@ -21,8 +22,6 @@ PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|VeraBd.ttf|${DATADIR}/VeraBd.ttf|; \
 		s|graph%d|${DATADIR}/&|; s|[a-z]*\.wav|${DATADIR}/&|' \
@@ -38,9 +37,7 @@ do-install:
 .for f in VeraBd.ttf graph16*.unt *.wav
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/
 .endfor
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}/
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/violetland/Makefile
==============================================================================
--- head/games/violetland/Makefile	Thu May  8 03:56:04 2014	(r353258)
+++ head/games/violetland/Makefile	Thu May  8 03:58:56 2014	(r353259)
@@ -14,10 +14,10 @@ COMMENT=	Top-down survival shoot 'em up
 
 LIB_DEPENDS=	libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
 
+USES=		cmake gettext zip dos2unix
 USE_SDL=	sdl mixer image ttf
 USE_GL=		gl glu
-USES=		cmake gettext zip
-USE_DOS2UNIX=	CMakeLists.txt src/system/utility/FileUtility.cpp
+DOS2UNIX_FILES=	CMakeLists.txt src/system/utility/FileUtility.cpp
 CMAKE_ARGS=	-DDATA_INSTALL_DIR="${DATADIR}"
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-v${PORTVERSION}



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