diff options
author | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2016-08-17 00:45:17 +0000 |
---|---|---|
committer | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2016-08-17 00:45:17 +0000 |
commit | 8041ceaae9de6cd278f5fe373699febe4ab37ee8 (patch) | |
tree | 56535c13fe8a0aa9aa15190c7da99f759e16cacc /games/iortcw/Makefile | |
parent | 0ab7535f9ba539fa23f7750c869b0c7d38f577bb (diff) | |
download | ports-8041ceaae9de6cd278f5fe373699febe4ab37ee8.tar.gz ports-8041ceaae9de6cd278f5fe373699febe4ab37ee8.zip |
Notes
Diffstat (limited to 'games/iortcw/Makefile')
-rw-r--r-- | games/iortcw/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/games/iortcw/Makefile b/games/iortcw/Makefile new file mode 100644 index 000000000000..f3fd39c90e37 --- /dev/null +++ b/games/iortcw/Makefile @@ -0,0 +1,56 @@ +# Created by: Tobias Kortkamp <t@tobik.me> +# $FreeBSD$ + +PORTNAME= iortcw +PORTVERSION= 1.42d +CATEGORIES= games + +MAINTAINER= t@tobik.me +COMMENT= Game engine for Return to Castle Wolfenstein + +LICENSE= GPLv3 + +BUILD_DEPENDS= opusfile>0:audio/opusfile +LIB_DEPENDS= libcurl.so:ftp/curl \ + libopus.so:audio/opus \ + libfreetype.so:print/freetype2 + +USES= jpeg openal pkgconfig gmake +USE_GL= gl +USE_SDL= sdl2 + +USE_GITHUB= yes + +WOLFDIR= "libexec/${PORTNAME}" +MAKE_ARGS= BINDIR="${STAGEDIR}${PREFIX}/bin" \ + COPYDIR="${STAGEDIR}${PREFIX}/${WOLFDIR}" + +PLIST_SUB= ARCH="${ARCH}" WOLFDIR="${WOLFDIR}" + +SUB_FILES= iowolfsp iowolfmp iowolfded +SUB_LIST= ARCH="${ARCH}" WOLFDIR="${PREFIX}/${WOLFDIR}" + +OPTIONS_DEFINE= MP SP +OPTIONS_DEFAULT= MP SP +OPTIONS_SUB= yes + +MP_DESC= Build multiplayer support +SP_DESC= Build singleplayer support + +SP_ALL_TARGET= sp +SP_INSTALL_TARGET= sp-install + +MP_ALL_TARGET= mp +MP_INSTALL_TARGET= mp-install + +post-extract: + ${CP} ${FILESDIR}/Makefile ${WRKSRC} + +post-install-MP-on: + ${INSTALL_SCRIPT} ${WRKDIR}/iowolfmp ${STAGEDIR}${PREFIX}/bin/iowolfmp + ${INSTALL_SCRIPT} ${WRKDIR}/iowolfded ${STAGEDIR}${PREFIX}/bin/iowolfded + +post-install-SP-on: + ${INSTALL_SCRIPT} ${WRKDIR}/iowolfsp ${STAGEDIR}${PREFIX}/bin/iowolfsp + +.include <bsd.port.mk> |