diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-01-16 20:44:43 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-01-16 20:44:43 +0000 |
commit | 6bab5063a53758b4e9778c4f78ccf925f72aec4d (patch) | |
tree | 68e8417d2c166d6e35c2d2137d51cfee922eeffa /games/doomsday/Makefile | |
parent | 1dea55304529dd7972dc914d2b555b89381c1167 (diff) | |
download | ports-6bab5063a53758b4e9778c4f78ccf925f72aec4d.tar.gz ports-6bab5063a53758b4e9778c4f78ccf925f72aec4d.zip |
Notes
Diffstat (limited to 'games/doomsday/Makefile')
-rw-r--r-- | games/doomsday/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games/doomsday/Makefile b/games/doomsday/Makefile new file mode 100644 index 000000000000..a8f08fceb366 --- /dev/null +++ b/games/doomsday/Makefile @@ -0,0 +1,49 @@ +# Created by: Igor Pokrovsky <ip@doom.homeunix.org> +# $FreeBSD$ + +PORTNAME= doomsday +PORTVERSION= 1.12.2 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/Doomsday%20Engine/${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Enhanced Doom, Heretic, and Hexen source port + +LICENSE= GPLv2 + +BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip +LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ + libpng15.so:${PORTSDIR}/graphics/png +RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity + +USE_GL= gl glu +USE_LDCONFIG= yes +USE_SDL= sdl mixer net +USE_XORG= x11 +USE_PYTHON_BUILD= yes +USES= pkgconfig qmake:outsource +USE_QT4= corelib network opengl moc_build +QMAKE_SOURCE_PATH= ${WRKSRC}/doomsday +CFLAGS+= -I${LOCALBASE}/include/libpng15 +QMAKE_ARGS+= QMAKE_LFLAGS+="-Wl,--export-dynamic" \ + CONFIG+="deng_notools deng_nosnowberry" \ + SCRIPT_PYTHON=${PYTHON_CMD} +LDFLAGS+= -lm + +OPTIONS_DEFINE= OPENAL +OPTIONS_SUB= yes + +OPENAL_DESC= Build OpenAL sound plugin +OPENAL_USES= openal:al +OPENAL_QMAKE_ON= CONFIG+=deng_openal +OPENAL_QMAKE_OFF= CONFIG+=deng_noopenal + +post-patch: + ${REINPLACE_CMD} 's,share/man,man,' \ + ${PATCH_WRKSRC}/doomsday/client/client.pro \ + ${PATCH_WRKSRC}/doomsday/server/server.pro + ${REINPLACE_CMD} 's,python,${PYTHON_CMD},' \ + ${PATCH_WRKSRC}/doomsday/config.pri \ + ${PATCH_WRKSRC}/doomsday/build/build.pro + +.include <bsd.port.mk> |