aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-09-12 22:20:16 +0800
committerdanfe <danfe@FreeBSD.org>2013-09-12 22:20:16 +0800
commitf36904c410be0bb966f70f9b0304fdce38f27474 (patch)
treedb6fd567c23f38fd30a1d78739d09d5087938df9
parented39d284ca4fac1185cd3f76698dba3946fa92fb (diff)
downloadfreebsd-ports-gnome-f36904c410be0bb966f70f9b0304fdce38f27474.tar.gz
freebsd-ports-gnome-f36904c410be0bb966f70f9b0304fdce38f27474.tar.zst
freebsd-ports-gnome-f36904c410be0bb966f70f9b0304fdce38f27474.zip
- Install q3map2.6 manual page
- Define LICENSE (GPLv2) - Reformat port description
-rw-r--r--games/netradiant/Makefile9
-rw-r--r--games/netradiant/distinfo2
-rw-r--r--games/netradiant/pkg-descr22
3 files changed, 21 insertions, 12 deletions
diff --git a/games/netradiant/Makefile b/games/netradiant/Makefile
index d162c0b99d32..9f7ec0e1a887 100644
--- a/games/netradiant/Makefile
+++ b/games/netradiant/Makefile
@@ -8,10 +8,14 @@ CATEGORIES= games cad
MASTER_SITES= http://ingar.satgnu.net/gtkradiant/files/ \
http://freebsd.nsu.ru/distfiles/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} q3map2.6
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Fork of the well-known GtkRadiant 1.5 FPS games map editor
+LICENSE= GPLv2
+
LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libwebp.so:${PORTSDIR}/graphics/webp
@@ -29,6 +33,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
SUB_FILES= ${PORTNAME}
SUB_LIST= ARCH=${ARCH}
+MAN6= q3map2.6
+
post-patch:
# Add missing checks for __FreeBSD__
@${FIND} ${WRKSRC}/tools -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} \
@@ -44,10 +50,11 @@ do-install:
# Fix permissions of some files (drop bogus execute bit)
@${FIND} ${WRKSRC}/install/osirion.game -type f | ${XARGS} ${CHMOD} a-x
@${CHMOD} a-x ${WRKSRC}/install/games/osirion.game
-# Remove extra copy of GNU GPL
+# Remove extra copy of GNU GPL from what we install
@${RM} ${WRKSRC}/install/GPL.txt
@${MKDIR} ${DATADIR}
${CP} -a ${WRKSRC}/install/* ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${DISTDIR}/${MAN6} ${MANPREFIX}/man/man6
.include <bsd.port.mk>
diff --git a/games/netradiant/distinfo b/games/netradiant/distinfo
index 2f71c9784c3a..63149fd88b26 100644
--- a/games/netradiant/distinfo
+++ b/games/netradiant/distinfo
@@ -1,2 +1,4 @@
SHA256 (netradiant-20130630-src.tar.bz2) = 798877df6d5aeb9c9f18dc15d91d31d0c08f18bc1baf1aa2b4d959afd89ef2be
SIZE (netradiant-20130630-src.tar.bz2) = 2639725
+SHA256 (q3map2.6) = 104e5180547f1c55997b744559f66d860d4693a79e1ad0ab70c17346636b5a99
+SIZE (q3map2.6) = 17143
diff --git a/games/netradiant/pkg-descr b/games/netradiant/pkg-descr
index f763cb91dae2..25e2f2adfbb5 100644
--- a/games/netradiant/pkg-descr
+++ b/games/netradiant/pkg-descr
@@ -4,17 +4,17 @@ map compiler, q3map2, so it can become a reliable tool for map authors.
Fixes include:
- - Better decompiling by q3map2 (texcoords no longer get lost)
- - Fixed 3D display in the Windows XP software renderer
- - Fixed deluxemapping when a surface is lit from both sides
- - Fixed some buffer overruns
- - Fixed the "expand selection to whole entities" feature
- - Fixed the origin of mirrored eclassmodel entities
- - Key bindings no longer disappear when using an international
- keyboard layout
- - Plane snapping fixed (no more fall-through holes in imported
- model terrain)
- - Various other map compiler fixes
+ - Better decompiling by q3map2 (texcoords no longer get lost)
+ - Fixed 3D display in the Windows XP software renderer
+ - Fixed deluxemapping when a surface is lit from both sides
+ - Fixed some buffer overruns
+ - Fixed the "expand selection to whole entities" feature
+ - Fixed the origin of mirrored eclassmodel entities
+ - Key bindings no longer disappear when using an international
+ keyboard layout
+ - Plane snapping fixed (no more fall-through holes in imported
+ model terrain)
+ - Various other map compiler fixes
Original, classic GtkRadiant 1.5 is available as `games/gtkradiant' port.