aboutsummaryrefslogtreecommitdiff
path: root/games/zdoom
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-08 14:19:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-08 14:19:46 +0000
commit5314590453436e6f240211a4dca39485390173e6 (patch)
tree07bca4cc9ed1a540b5c8a5207276bd611bdabad2 /games/zdoom
parent7cf4f3682fe99adacfdfa3f0b46850c30af981c6 (diff)
downloadports-5314590453436e6f240211a4dca39485390173e6.tar.gz
ports-5314590453436e6f240211a4dca39485390173e6.zip
- Fix path to data files
- Add LICENSE PR: 212247 Submitted by: bsdports@kyle-evans.net (maintainer)
Notes
Notes: svn path=/head/; revision=421558
Diffstat (limited to 'games/zdoom')
-rw-r--r--games/zdoom/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/games/zdoom/Makefile b/games/zdoom/Makefile
index d8c890b2cc4d..f6ec4f4652e7 100644
--- a/games/zdoom/Makefile
+++ b/games/zdoom/Makefile
@@ -3,11 +3,17 @@
PORTNAME= zdoom
PORTVERSION= 2.8.1
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= bsdports@kyle-evans.net
COMMENT= Source port for Doom-engine games
+LICENSE= DOOM
+LICENSE_NAME= Limited Use Software License Agreement
+LICENSE_FILE= ${WRKSRC}/docs/doomlic.txt
+LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
+
BUILD_DEPENDS= zip:archivers/zip
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
@@ -18,11 +24,13 @@ GH_ACCOUNT= rheit
PORTSCOUT= limit:^.+\.[1-9]{1,3}[1-8]?$$
+DATADIR= ${DMDIR}/${PORTNAME}
+
USES= cmake:outsource gettext jpeg openal pkgconfig
USE_GNOME= atk cairo gdkpixbuf2 gtk20 pango
USE_SDL= sdl2
CMAKE_ARGS= -DNO_FMOD:BOOL=ON
-CMAKE_BUILD_TYPE?= Release
+CXXFLAGS+= -DSHARE_DIR=\\\"${DATADIR}\\\"
PLIST_FILES= bin/${PORTNAME} \
${DATADIR}/${PORTNAME}.pk3