# Created by: Alexey Dokuchaev PORTNAME= netradiant PORTVERSION= 20150621 PORTREVISION= 2 CATEGORIES= games cad MASTER_SITES= http://ingar.intranifty.net/gtkradiant/files/ LOCAL/danfe \ http://ingar.intranifty.net/gtkradiant/files/gamepacks/:gp DISTNAME= ${PORTNAME}-${PORTVERSION}-src DISTFILES= ${DISTNAME}${EXTRACT_SUFX} q3map2.6 EXTRACT_ONLY= ${_DISTFILES:Nq3map2.6} MAINTAINER= danfe@FreeBSD.org COMMENT= Fork of GtkRadiant v1.5 FPS games map editor LICENSE= GPLv2 BROKEN_armv6= fails to build: h2data.armv6: No such file or directory BROKEN_armv7= fails to build: h2data.armv7: No such file or directory LIB_DEPENDS= libpng.so:graphics/png \ libwebp.so:graphics/webp \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext USES= compiler:c++11-lang gl gmake gnome jpeg localbase:ldflags \ pkgconfig tar:xz xorg USE_GL= gl glu USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 libxml2 pango pangox-compat USE_XORG= ice sm x11 xmu xt MAKE_ENV= BUILD=release DOWNLOAD_GAMEPACKS=no EXE=${ARCH} \ RADIANT_ABOUTMSG="For ${OPSYS} ${OSREL} (${ARCH})" SUB_FILES= ${PORTNAME} SUB_LIST= ARCH=${ARCH} PLIST_SUB:= ${SUB_LIST} OPTIONS_DEFINE= GAMEPACK OPTIONS_DEFAULT= GAMEPACK GAMEPACK_DESC= Install gamepacks for some popular games OPTIONS_SUB= yes GAMES= DarkPlaces Doom3 ET Neverball Nexuiz OpenArena Osirion Quake1 \ Quake2 Quake2World Quake3 Quake4 Quake Quetoo Tremulous UFOAI \ Unvanquished Warsow Xonotic GAMEPACK_DISTFILES= ${GAMES:S/$/Pack.zip:gp/} post-patch: @${REINPLACE_CMD} -e '/#include/s,