aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-08 11:58:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-08 11:58:56 +0800
commita3f59ee64a449f72f9e6340512e499fd5e615f3c (patch)
treee2ce00173b84f95f04f41f98fba4da41b18cc74c /games
parent8dbb897ab1fd9811b37f73783dfe6d26798dc47d (diff)
downloadfreebsd-ports-gnome-a3f59ee64a449f72f9e6340512e499fd5e615f3c.tar.gz
freebsd-ports-gnome-a3f59ee64a449f72f9e6340512e499fd5e615f3c.tar.zst
freebsd-ports-gnome-a3f59ee64a449f72f9e6340512e499fd5e615f3c.zip
- Convert USE_DOS2UNIX to USES
Diffstat (limited to 'games')
-rw-r--r--games/connectfive/Makefile4
-rw-r--r--games/solarconquest/Makefile3
-rw-r--r--games/untahris/Makefile7
-rw-r--r--games/violetland/Makefile4
4 files changed, 8 insertions, 10 deletions
diff --git a/games/connectfive/Makefile b/games/connectfive/Makefile
index b036b1c7ecbe..d4145f7f984b 100644
--- a/games/connectfive/Makefile
+++ b/games/connectfive/Makefile
@@ -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
diff --git a/games/solarconquest/Makefile b/games/solarconquest/Makefile
index 585dee2b0646..6f8132dcbf10 100644
--- a/games/solarconquest/Makefile
+++ b/games/solarconquest/Makefile
@@ -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
diff --git a/games/untahris/Makefile b/games/untahris/Makefile
index 988d5f4f168e..6c5c35c3308f 100644
--- a/games/untahris/Makefile
+++ b/games/untahris/Makefile
@@ -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>
diff --git a/games/violetland/Makefile b/games/violetland/Makefile
index 5216511e39af..d7628e441f35 100644
--- a/games/violetland/Makefile
+++ b/games/violetland/Makefile
@@ -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}