1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Convert USE_DOS2UNIX to USES

This commit is contained in:
Dmitry Marakasov 2014-05-08 03:58:56 +00:00
parent 3d651db17f
commit 057bc4044d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353259
4 changed files with 8 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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}