ports/93668: [NEW PORT] games/gtkradiant: Level design program developed by id Software and Loki Software

Alejandro Pulver alejandro at varnet.biz
Fri Mar 17 22:10:22 UTC 2006


The following reply was made to PR ports/93668; it has been noted by GNATS.

From: "Alejandro Pulver" <alejandro at varnet.biz>
To: "FreeBSD gnats submit" <bug-followup at freebsd.org>
Cc:  
Subject: Re: ports/93668: [NEW PORT] games/gtkradiant: Level design program developed by id Software and Loki Software
Date: Fri, 17 Mar 2006 19:08:14 -0300

 >Submitter-Id:	current-users 
 >Originator:	Alejandro Pulver 
 >Organization:	 
 >Confidential:	no 
 >Synopsis:	Re: ports/93668: [NEW PORT] games/gtkradiant: Level design program developed by id Software and Loki Software 
 >Severity:	non-critical 
 >Priority:	low 
 >Category:	ports 
 >Class:		change-request 
 >Release:	FreeBSD 5.4-RELEASE i386 
 >Environment:
 
 
 System: FreeBSD 5.4-RELEASE #1: Sat Feb 25 17:20:39 ART 2006
     ale at phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE
 
 
 
 >Description:
 
 
 This new shar fixes problems with the other one (the regex to add __FreeBSD__ checks).
 
 
 >How-To-Repeat:
 
 
 
 
 
 >Fix:
 
 
 --- gtkradiant.shar begins here ---
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	gtkradiant
 #	gtkradiant/files
 #	gtkradiant/files/extra-patch-libs__bytestreamutils.h
 #	gtkradiant/files/patch-makeversion.py
 #	gtkradiant/files/patch-radiant__commands.cpp
 #	gtkradiant/files/patch-radiant__mainframe.cpp
 #	gtkradiant/files/patch-radiant__qe3.cpp
 #	gtkradiant/files/patch-radiant__url.cpp
 #	gtkradiant/files/patch-radiant__watchbsp.cpp
 #	gtkradiant/files/patch-radiant__qgl.cpp
 #	gtkradiant/files/patch-install.py
 #	gtkradiant/files/gtkradiant.in
 #	gtkradiant/files/extra-patch-libs__math__vector.h
 #	gtkradiant/files/patch-SConstruct
 #	gtkradiant/files/patch-libs__l_net__l_net.c
 #	gtkradiant/files/patch-tools__quake2__common__threads.c
 #	gtkradiant/files/patch-tools__quake2__qdata_heretic2__common__threads.c
 #	gtkradiant/files/patch-tools__quake3__common__threads.c
 #	gtkradiant/files/patch-contrib__bobtoolz__misc.cpp
 #	gtkradiant/Makefile
 #	gtkradiant/pkg-plist
 #	gtkradiant/distinfo
 #	gtkradiant/pkg-descr
 #
 echo c - gtkradiant
 mkdir -p gtkradiant > /dev/null 2>&1
 echo c - gtkradiant/files
 mkdir -p gtkradiant/files > /dev/null 2>&1
 echo x - gtkradiant/files/extra-patch-libs__bytestreamutils.h
 sed 's/^X//' >gtkradiant/files/extra-patch-libs__bytestreamutils.h << 'END-of-gtkradiant/files/extra-patch-libs__bytestreamutils.h'
 X--- libs/bytestreamutils.h.orig	Fri Feb 10 19:01:20 2006
 X+++ libs/bytestreamutils.h	Tue Feb 21 12:32:25 2006
 X@@ -39,7 +39,7 @@
 X #define	__USE_ISOC9X	1
 X #define	__USE_ISOC99	1
 X 
 X-#include <stdint.h>
 X+#include <inttypes.h>
 X 
 X #endif
 X 
 END-of-gtkradiant/files/extra-patch-libs__bytestreamutils.h
 echo x - gtkradiant/files/patch-makeversion.py
 sed 's/^X//' >gtkradiant/files/patch-makeversion.py << 'END-of-gtkradiant/files/patch-makeversion.py'
 X--- ./makeversion.py.orig	Sun Feb 12 16:47:01 2006
 X+++ ./makeversion.py	Thu Mar 16 16:09:46 2006
 X@@ -82,7 +82,7 @@
 X     line = f.readline()
 X     f.close()
 X   else:
 X-    line = "Custom build based on revision " + str(svn.getRevision(os.getcwd()))
 X+    line = "Custom build based on revision 1.0"
 X   # optional additional message
 X   if ( not append_about is None ):
 X     line += append_about
 END-of-gtkradiant/files/patch-makeversion.py
 echo x - gtkradiant/files/patch-radiant__commands.cpp
 sed 's/^X//' >gtkradiant/files/patch-radiant__commands.cpp << 'END-of-gtkradiant/files/patch-radiant__commands.cpp'
 X--- ./radiant/commands.cpp.orig	Fri Feb 10 19:01:20 2006
 X+++ ./radiant/commands.cpp	Thu Mar 16 16:09:46 2006
 X@@ -128,7 +128,7 @@
 X #include <gdk/gdkkeysyms.h>
 X #include <ctype.h>
 X 
 X-#ifdef __APPLE__
 X+#if defined(__APPLE__) || defined(__FreeBSD__)
 X #define __toascii(c)    ((c) & 0x7f)
 X #endif
 X 
 END-of-gtkradiant/files/patch-radiant__commands.cpp
 echo x - gtkradiant/files/patch-radiant__mainframe.cpp
 sed 's/^X//' >gtkradiant/files/patch-radiant__mainframe.cpp << 'END-of-gtkradiant/files/patch-radiant__mainframe.cpp'
 X--- ./radiant/mainframe.cpp.orig	Thu Mar 16 16:09:46 2006
 X+++ ./radiant/mainframe.cpp	Thu Mar 16 16:09:46 2006
 X@@ -510,7 +510,7 @@
 X const char* const c_library_extension =
 X #if defined(WIN32)
 X "dll"
 X-#elif defined(__linux__)
 X+#elif defined(__linux__) || defined(__FreeBSD__)
 X "so"
 X #elif defined (__APPLE__)
 X "dylib"
 X@@ -3479,7 +3479,7 @@
 X     const char* ENGINEPATH_ATTRIBUTE =
 X #if defined(WIN32)
 X       "enginepath_win32"
 X-#elif defined(__linux__)
 X+#elif defined(__linux__) || defined(__FreeBSD__)
 X       "enginepath_linux"
 X #elif defined(__APPLE__)
 X       "enginepath_macos"
 END-of-gtkradiant/files/patch-radiant__mainframe.cpp
 echo x - gtkradiant/files/patch-radiant__qe3.cpp
 sed 's/^X//' >gtkradiant/files/patch-radiant__qe3.cpp << 'END-of-gtkradiant/files/patch-radiant__qe3.cpp'
 X--- ./radiant/qe3.cpp.orig	Thu Mar 16 16:09:46 2006
 X+++ ./radiant/qe3.cpp	Thu Mar 16 16:09:46 2006
 X@@ -172,7 +172,7 @@
 X 
 X 
 X const char* const EXECUTABLE_TYPE = 
 X-#if defined(__linux__)
 X+#if defined(__linux__) || defined(__FreeBSD__)
 X "x86"
 X #elif defined(__APPLE__)
 X "ppc"
 END-of-gtkradiant/files/patch-radiant__qe3.cpp
 echo x - gtkradiant/files/patch-radiant__url.cpp
 sed 's/^X//' >gtkradiant/files/patch-radiant__url.cpp << 'END-of-gtkradiant/files/patch-radiant__url.cpp'
 X--- ./radiant/url.cpp.orig	Fri Feb 10 19:01:20 2006
 X+++ ./radiant/url.cpp	Thu Mar 16 16:09:46 2006
 X@@ -33,7 +33,7 @@
 X }
 X #endif
 X 
 X-#ifdef __linux__
 X+#if defined(__linux__) || defined(__FreeBSD__)
 X #include <stdlib.h>
 X bool open_url(const char* url)
 X {
 END-of-gtkradiant/files/patch-radiant__url.cpp
 echo x - gtkradiant/files/patch-radiant__watchbsp.cpp
 sed 's/^X//' >gtkradiant/files/patch-radiant__watchbsp.cpp << 'END-of-gtkradiant/files/patch-radiant__watchbsp.cpp'
 X--- ./radiant/watchbsp.cpp.orig	Thu Mar 16 16:09:46 2006
 X+++ ./radiant/watchbsp.cpp	Thu Mar 16 16:09:46 2006
 X@@ -614,7 +614,7 @@
 X #if defined(WIN32)
 X #define ENGINE_ATTRIBUTE "engine_win32"
 X #define MP_ENGINE_ATTRIBUTE "mp_engine_win32"
 X-#elif defined(__linux__)
 X+#elif defined(__linux__) || defined(__FreeBSD__)
 X #define ENGINE_ATTRIBUTE "engine_linux"
 X #define MP_ENGINE_ATTRIBUTE "mp_engine_linux"
 X #elif defined(__APPLE__)
 END-of-gtkradiant/files/patch-radiant__watchbsp.cpp
 echo x - gtkradiant/files/patch-radiant__qgl.cpp
 sed 's/^X//' >gtkradiant/files/patch-radiant__qgl.cpp << 'END-of-gtkradiant/files/patch-radiant__qgl.cpp'
 X--- ./radiant/qgl.cpp.orig	Thu Mar 16 16:09:46 2006
 X+++ ./radiant/qgl.cpp	Thu Mar 16 16:09:46 2006
 X@@ -654,7 +654,7 @@
 X   qglXWaitX                    = glXWaitX;
 X   qglXUseXFont                 = glXUseXFont;
 X //  qglXGetProcAddressARB        = glXGetProcAddressARB; // Utah-GLX fix
 X-  qglXGetProcAddressARB = (glXGetProcAddressARBProc)dlsym(NULL, "glXGetProcAddressARB"); 
 X+  qglXGetProcAddressARB = (glXGetProcAddressARBProc)dlsym(RTLD_DEFAULT, "glXGetProcAddressARB"); 
 X #endif
 X 
 X #if defined (__linux__) || defined (__APPLE__) || defined (__FreeBSD__)
 END-of-gtkradiant/files/patch-radiant__qgl.cpp
 echo x - gtkradiant/files/patch-install.py
 sed 's/^X//' >gtkradiant/files/patch-install.py << 'END-of-gtkradiant/files/patch-install.py'
 X--- ./install.py.orig	Sun Feb 12 16:47:01 2006
 X+++ ./install.py	Thu Mar 16 16:09:46 2006
 X@@ -98,8 +98,6 @@
 X ]
 X 
 X # copy games
 X-for game in games:
 X-  copyGame(gamesRoot, game, installRoot)
 X 
 X # copy win32 dlls
 X gtk2Root = os.path.normpath(os.path.join(thisDir, "../gtk2-2.4"))
 END-of-gtkradiant/files/patch-install.py
 echo x - gtkradiant/files/gtkradiant.in
 sed 's/^X//' >gtkradiant/files/gtkradiant.in << 'END-of-gtkradiant/files/gtkradiant.in'
 X#!/bin/sh
 X
 Xcd %%DATADIR%% || exit 1
 X
 Xexec ./radiant.x86 "$@"
 END-of-gtkradiant/files/gtkradiant.in
 echo x - gtkradiant/files/extra-patch-libs__math__vector.h
 sed 's/^X//' >gtkradiant/files/extra-patch-libs__math__vector.h << 'END-of-gtkradiant/files/extra-patch-libs__math__vector.h'
 X--- ./libs/math/vector.h.orig	Fri Feb 10 19:01:20 2006
 X+++ ./libs/math/vector.h	Tue Feb 21 12:29:34 2006
 X@@ -25,7 +25,7 @@
 X /// \file
 X /// \brief Vector data types and related operations.
 X 
 X-#if 0
 X+#if 1
 X 
 X #define	lrint(dbl)		((int)((dbl) + 0.5))
 X #define	lrintf(flt)		((int)((flt) + 0.5))
 END-of-gtkradiant/files/extra-patch-libs__math__vector.h
 echo x - gtkradiant/files/patch-SConstruct
 sed 's/^X//' >gtkradiant/files/patch-SConstruct << 'END-of-gtkradiant/files/patch-SConstruct'
 X--- SConstruct.orig	Fri Feb 10 19:01:20 2006
 X+++ SConstruct	Tue Feb 21 12:46:47 2006
 X@@ -3,7 +3,6 @@
 X 
 X import commands, re, sys, os, pickle, string, popen2
 X from makeversion import radiant_makeversion, get_version
 X-from osx_setup import do_osx_setup
 X 
 X # to access some internal stuff
 X import SCons
 X@@ -85,10 +84,10 @@
 X 
 X # default settings -------------------------------
 X 
 X-CC='gcc'
 X-CXX='g++'
 X+CC='%%CC%%'
 X+CXX='%%CXX%%'
 X JOBS='1'
 X-BUILD='debug'
 X+BUILD='release'
 X INSTALL='#install'
 X SETUP='0'
 X g_build_root = 'build'
 X@@ -172,9 +171,9 @@
 X # common flags
 X warningFlags = '-W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter '
 X warningFlagsCXX = '-Wno-non-virtual-dtor -Wreorder ' # -Wold-style-cast
 X-CCFLAGS = '' + warningFlags
 X-CXXFLAGS = '-pipe -DQ_NO_STLPORT ' + warningFlags + warningFlagsCXX
 X-CPPPATH = []
 X+CCFLAGS = '%%CFLAGS%% '
 X+CXXFLAGS = '%%CFLAGS%% -pipe -DQ_NO_STLPORT '
 X+CPPPATH = ['%%LOCALBASE%%/include', '%%X11BASE%%/include']
 X if (BUILD == 'debug'):
 X 	CXXFLAGS += '-g -D_DEBUG '
 X 	CCFLAGS += '-g -D_DEBUG '
 X@@ -190,7 +189,7 @@
 X 	print 'Unknown build configuration ' + BUILD
 X 	sys.exit( 0 )
 X 
 X-LINKFLAGS = ''
 X+LINKFLAGS = '-L%%LOCALBASE%%/lib -L%%X11BASE%%/lib '
 X if ( OS == 'Linux' ):
 X 
 X   # static
 X@@ -270,7 +269,9 @@
 X     if ( OS == 'Darwin' ):
 X       self['LINKFLAGS'] += '-lpthread -Wl,-stack_size,0x400000 '
 X     else:
 X-      self['LINKFLAGS'] += '-lpthread '
 X+      self['CCFLAGS'] += '%%PTHREAD_CFLAGS%% '
 X+      self['CXXFLAGS'] += '%%PTHREAD_CFLAGS%% '
 X+      self['LINKFLAGS'] += '%%PTHREAD_LIBS%% '
 X 
 X   def CheckLDD(self, target, source, env):
 X     file = target[0]
 X@@ -278,7 +279,7 @@
 X         print('ERROR: CheckLDD: target %s not found\n' % target[0])
 X         Exit(1)
 X     # not using os.popen3 as I want to check the return code
 X-    ldd = popen2.Popen3('`which ldd` -r %s' % target[0], 1)
 X+    ldd = popen2.Popen3('`which ldd` %s' % target[0], 1)
 X     stdout_lines = ldd.fromchild.readlines()
 X     stderr_lines = ldd.childerr.readlines()
 X     ldd_ret = ldd.wait()
 END-of-gtkradiant/files/patch-SConstruct
 echo x - gtkradiant/files/patch-libs__l_net__l_net.c
 sed 's/^X//' >gtkradiant/files/patch-libs__l_net__l_net.c << 'END-of-gtkradiant/files/patch-libs__l_net__l_net.c'
 X--- ./libs/l_net/l_net.c.orig	Fri Feb 10 19:01:20 2006
 X+++ ./libs/l_net/l_net.c	Thu Mar 16 16:37:04 2006
 X@@ -84,8 +84,7 @@
 X {
 X #ifdef WIN32
 X 	return stricmp(addr1->ip, addr2->ip);
 X-#endif
 X-#ifdef __linux__
 X+#else
 X 	return strcasecmp(addr1->ip, addr2->ip);
 X #endif
 X } //end of the function Net_AddressCompare
 END-of-gtkradiant/files/patch-libs__l_net__l_net.c
 echo x - gtkradiant/files/patch-tools__quake2__common__threads.c
 sed 's/^X//' >gtkradiant/files/patch-tools__quake2__common__threads.c << 'END-of-gtkradiant/files/patch-tools__quake2__common__threads.c'
 X--- ./tools/quake2/common/threads.c.orig	Thu Mar 16 16:09:46 2006
 X+++ ./tools/quake2/common/threads.c	Thu Mar 16 16:21:27 2006
 X@@ -542,11 +542,7 @@
 X 
 X     if(pthread_mutexattr_init(&mattrib) != 0)
 X       Error("pthread_mutexattr_init failed");
 X-#if __GLIBC_MINOR__ == 1
 X-    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_FAST_NP) != 0)
 X-#else
 X-    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_ADAPTIVE_NP) != 0)
 X-#endif
 X+    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_NORMAL) != 0)
 X       Error ("pthread_mutexattr_settype failed");
 X     recursive_mutex_init(mattrib);
 X 
 END-of-gtkradiant/files/patch-tools__quake2__common__threads.c
 echo x - gtkradiant/files/patch-tools__quake2__qdata_heretic2__common__threads.c
 sed 's/^X//' >gtkradiant/files/patch-tools__quake2__qdata_heretic2__common__threads.c << 'END-of-gtkradiant/files/patch-tools__quake2__qdata_heretic2__common__threads.c'
 X--- ./tools/quake2/qdata_heretic2/common/threads.c.orig	Fri Feb 10 19:01:20 2006
 X+++ ./tools/quake2/qdata_heretic2/common/threads.c	Thu Mar 16 16:35:19 2006
 X@@ -415,7 +415,7 @@
 X =======================================================================
 X */
 X 
 X-#ifdef __linux__
 X+#if defined (__linux__) || defined (__APPLE__) || defined (__FreeBSD__)
 X #define USED
 X 
 X int numthreads = 4;
 X@@ -540,11 +540,7 @@
 X 
 X     if(pthread_mutexattr_init(&mattrib) != 0)
 X       Error("pthread_mutexattr_init failed");
 X-#if __GLIBC_MINOR__ == 1
 X-    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_FAST_NP) != 0)
 X-#else
 X-    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_ADAPTIVE_NP) != 0)
 X-#endif
 X+    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_NORMAL) != 0)
 X       Error ("pthread_mutexattr_settype failed");
 X     recursive_mutex_init(mattrib);
 X 
 END-of-gtkradiant/files/patch-tools__quake2__qdata_heretic2__common__threads.c
 echo x - gtkradiant/files/patch-tools__quake3__common__threads.c
 sed 's/^X//' >gtkradiant/files/patch-tools__quake3__common__threads.c << 'END-of-gtkradiant/files/patch-tools__quake3__common__threads.c'
 X--- ./tools/quake3/common/threads.c.orig	Fri Feb 10 19:01:20 2006
 X+++ ./tools/quake3/common/threads.c	Thu Mar 16 16:36:04 2006
 X@@ -415,7 +415,7 @@
 X =======================================================================
 X */
 X 
 X-#ifdef __linux__
 X+#if defined (__linux__) || defined (__APPLE__) || defined (__FreeBSD__)
 X #define USED
 X 
 X int numthreads = 4;
 X@@ -540,11 +540,7 @@
 X 
 X     if(pthread_mutexattr_init(&mattrib) != 0)
 X       Error("pthread_mutexattr_init failed");
 X-#if __GLIBC_MINOR__ == 1
 X-    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_FAST_NP) != 0)
 X-#else
 X-    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_ADAPTIVE_NP) != 0)
 X-#endif
 X+    if (pthread_mutexattr_settype(&mattrib, PTHREAD_MUTEX_NORMAL) != 0)
 X       Error ("pthread_mutexattr_settype failed");
 X     recursive_mutex_init(mattrib);
 X 
 END-of-gtkradiant/files/patch-tools__quake3__common__threads.c
 echo x - gtkradiant/files/patch-contrib__bobtoolz__misc.cpp
 sed 's/^X//' >gtkradiant/files/patch-contrib__bobtoolz__misc.cpp << 'END-of-gtkradiant/files/patch-contrib__bobtoolz__misc.cpp'
 X--- ./contrib/bobtoolz/misc.cpp.orig	Thu Mar 16 16:09:46 2006
 X+++ ./contrib/bobtoolz/misc.cpp	Thu Mar 16 16:37:50 2006
 X@@ -33,7 +33,7 @@
 X 
 X #include "funchandlers.h"
 X 
 X-#ifdef __linux__
 X+#if defined (__linux__) || defined(__FreeBSD__)
 X #include <sys/types.h>
 X #include <unistd.h>
 X #endif
 END-of-gtkradiant/files/patch-contrib__bobtoolz__misc.cpp
 echo x - gtkradiant/Makefile
 sed 's/^X//' >gtkradiant/Makefile << 'END-of-gtkradiant/Makefile'
 X# New ports collection makefile for:	gtkradiant
 X# Date created:				21 Feb 2006
 X# Whom:					Alejandro Pulver <alejandro at varnet.biz>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	gtkradiant
 XPORTVERSION=	1.5.0
 XCATEGORIES=	games
 XMASTER_SITES=	${MASTER_SITE_IDSOFTWARE:S|$|source/:id|} \
 X		http://www.bsd-geek.de/FreeBSD/distfiles/:fb
 XDISTNAME=	GtkRadiant-GPL
 XDISTFILES=	${DISTNAME}${EXTRACT_SUFX}:id \
 X		${PORTNAME}_gamepacks${EXTRACT_SUFX}:fb
 X
 XMAINTAINER=	alejandro at varnet.biz
 XCOMMENT=	Level design program developed by id Software and Loki Software
 X
 XBUILD_DEPENDS=	${PYTHON_SITELIBDIR}/libsvn/__init__.py:${PORTSDIR}/devel/subversion-python \
 X		scons:${PORTSDIR}/devel/scons
 XLIB_DEPENDS=	gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext \
 X		mhash.2:${PORTSDIR}/security/mhash \
 X		png.5:${PORTSDIR}/graphics/png
 X
 XWRKSRC=		${WRKDIR}/GPL/GtkRadiant
 X
 XUSE_ZIP=	yes
 XUSE_GCC=	3.4+
 XUSE_GNOME=	gtk20 libxml2
 XUSE_PYTHON_BUILD=	yes
 X
 XSUB_FILES=	${PORTNAME}
 X
 XDATADIR=	${PREFIX}/lib/${PORTNAME}
 X
 X.include <bsd.port.pre.mk>
 X
 X.if ${OSVERSION} < 500000
 XEXTRA_PATCHES+=	${FILESDIR}/extra-patch-libs__bytestreamutils.h \
 X		${FILESDIR}/extra-patch-libs__math__vector.h
 X.endif
 X
 Xpost-patch:
 X.for f in CC CXX CFLAGS LOCALBASE PTHREAD_CFLAGS PTHREAD_LIBS X11BASE
 X	@${REINPLACE_CMD} -i '' -e 's|%%${f}%%|${${f}}|g' ${WRKSRC}/SConstruct
 X.endfor
 X	@${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/SConscript
 X	@${GREP} -Rl 'defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)' ${WRKSRC} | \
 X		${XARGS} ${REINPLACE_CMD} -e \
 X		's/\(defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)\)/\1 || defined (__FreeBSD__)/'
 X
 Xdo-build:
 X	cd ${WRKSRC} && scons && ${PYTHON_CMD} install.py
 X	${CP} -R ${WRKDIR}/${PORTNAME}_gamepacks/* ${WRKSRC}/install
 X
 Xdo-install:
 X	${MKDIR} ${DATADIR}
 X	${CP} -R ${WRKSRC}/install/* ${DATADIR}
 X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
 X
 X.include <bsd.port.post.mk>
 END-of-gtkradiant/Makefile
 echo x - gtkradiant/pkg-plist
 sed 's/^X//' >gtkradiant/pkg-plist << 'END-of-gtkradiant/pkg-plist'
 Xbin/gtkradiant
 X%%DATADIR%%/RADIANT_MAJOR
 X%%DATADIR%%/RADIANT_MINOR
 X%%DATADIR%%/bitmaps/black.bmp
 X%%DATADIR%%/bitmaps/brush_flipx.bmp
 X%%DATADIR%%/bitmaps/brush_flipy.bmp
 X%%DATADIR%%/bitmaps/brush_flipz.bmp
 X%%DATADIR%%/bitmaps/brush_rotatex.bmp
 X%%DATADIR%%/bitmaps/brush_rotatey.bmp
 X%%DATADIR%%/bitmaps/brush_rotatez.bmp
 X%%DATADIR%%/bitmaps/cap_bevel.bmp
 X%%DATADIR%%/bitmaps/cap_cylinder.bmp
 X%%DATADIR%%/bitmaps/cap_endcap.bmp
 X%%DATADIR%%/bitmaps/cap_ibevel.bmp
 X%%DATADIR%%/bitmaps/cap_iendcap.bmp
 X%%DATADIR%%/bitmaps/curve_cap.bmp
 X%%DATADIR%%/bitmaps/dontselectcurve.bmp
 X%%DATADIR%%/bitmaps/dontselectmodel.bmp
 X%%DATADIR%%/bitmaps/ellipsis.bmp
 X%%DATADIR%%/bitmaps/file_open.bmp
 X%%DATADIR%%/bitmaps/file_save.bmp
 X%%DATADIR%%/bitmaps/icon.bmp
 X%%DATADIR%%/bitmaps/logo.bmp
 X%%DATADIR%%/bitmaps/modify_edges.bmp
 X%%DATADIR%%/bitmaps/modify_faces.bmp
 X%%DATADIR%%/bitmaps/modify_vertices.bmp
 X%%DATADIR%%/bitmaps/noFalloff.bmp
 X%%DATADIR%%/bitmaps/notex.bmp
 X%%DATADIR%%/bitmaps/patch_bend.bmp
 X%%DATADIR%%/bitmaps/patch_drilldown.bmp
 X%%DATADIR%%/bitmaps/patch_insdel.bmp
 X%%DATADIR%%/bitmaps/patch_showboundingbox.bmp
 X%%DATADIR%%/bitmaps/patch_weld.bmp
 X%%DATADIR%%/bitmaps/patch_wireframe.bmp
 X%%DATADIR%%/bitmaps/popup_selection.bmp
 X%%DATADIR%%/bitmaps/scalelockx.bmp
 X%%DATADIR%%/bitmaps/scalelocky.bmp
 X%%DATADIR%%/bitmaps/scalelockz.bmp
 X%%DATADIR%%/bitmaps/select_mouseresize.bmp
 X%%DATADIR%%/bitmaps/select_mouserotate.bmp
 X%%DATADIR%%/bitmaps/select_mousescale.bmp
 X%%DATADIR%%/bitmaps/select_mousetranslate.bmp
 X%%DATADIR%%/bitmaps/selection_csgmerge.bmp
 X%%DATADIR%%/bitmaps/selection_csgsubtract.bmp
 X%%DATADIR%%/bitmaps/selection_makehollow.bmp
 X%%DATADIR%%/bitmaps/selection_selectcompletetall.bmp
 X%%DATADIR%%/bitmaps/selection_selectinside.bmp
 X%%DATADIR%%/bitmaps/selection_selectpartialtall.bmp
 X%%DATADIR%%/bitmaps/selection_selecttouching.bmp
 X%%DATADIR%%/bitmaps/shadernotex.bmp
 X%%DATADIR%%/bitmaps/show_entities.bmp
 X%%DATADIR%%/bitmaps/splash.bmp
 X%%DATADIR%%/bitmaps/texture_lock.bmp
 X%%DATADIR%%/bitmaps/textures_popup.bmp
 X%%DATADIR%%/bitmaps/view_cameratoggle.bmp
 X%%DATADIR%%/bitmaps/view_cameraupdate.bmp
 X%%DATADIR%%/bitmaps/view_change.bmp
 X%%DATADIR%%/bitmaps/view_clipper.bmp
 X%%DATADIR%%/bitmaps/view_cubicclipping.bmp
 X%%DATADIR%%/bitmaps/view_entity.bmp
 X%%DATADIR%%/bitmaps/white.bmp
 X%%DATADIR%%/bitmaps/window1.bmp
 X%%DATADIR%%/bitmaps/window2.bmp
 X%%DATADIR%%/bitmaps/window3.bmp
 X%%DATADIR%%/bitmaps/window4.bmp
 X%%DATADIR%%/doom3.game/base/default_shaderlist.txt
 X%%DATADIR%%/doom3.game/default_build_menu.xml
 X%%DATADIR%%/et.game/bitmaps/splash.bmp
 X%%DATADIR%%/et.game/default_build_menu.txt
 X%%DATADIR%%/et.game/default_build_menu.xml
 X%%DATADIR%%/et.game/etmain/default_shaderlist.txt
 X%%DATADIR%%/et.game/etmain/et_entities.def
 X%%DATADIR%%/et.game/etmain/et_entities.ent
 X%%DATADIR%%/et.game/game.xlink
 X%%DATADIR%%/games/doom3.game
 X%%DATADIR%%/games/et.game
 X%%DATADIR%%/games/heretic2.game
 X%%DATADIR%%/games/hl.game
 X%%DATADIR%%/games/hlcs.game
 X%%DATADIR%%/games/ja.game
 X%%DATADIR%%/games/jabp.game
 X%%DATADIR%%/games/jk2.game
 X%%DATADIR%%/games/q1.game
 X%%DATADIR%%/games/q2.game
 X%%DATADIR%%/games/q3.game
 X%%DATADIR%%/games/q3bp.game
 X%%DATADIR%%/games/q4.game
 X%%DATADIR%%/games/sof2.game
 X%%DATADIR%%/games/stvef.game
 X%%DATADIR%%/games/wolf.game
 X%%DATADIR%%/gl/lighting_DBS_XY_Z_arbfp1.cg
 X%%DATADIR%%/gl/lighting_DBS_XY_Z_arbvp1.cg
 X%%DATADIR%%/gl/lighting_DBS_omni_fp.glp
 X%%DATADIR%%/gl/lighting_DBS_omni_fp.glsl
 X%%DATADIR%%/gl/lighting_DBS_omni_vp.glp
 X%%DATADIR%%/gl/lighting_DBS_omni_vp.glsl
 X%%DATADIR%%/gl/zfill_arbfp1.cg
 X%%DATADIR%%/gl/zfill_arbvp1.cg
 X%%DATADIR%%/gl/zfill_fp.glp
 X%%DATADIR%%/gl/zfill_fp.glsl
 X%%DATADIR%%/gl/zfill_vp.glp
 X%%DATADIR%%/gl/zfill_vp.glsl
 X%%DATADIR%%/global.xlink
 X%%DATADIR%%/heretic2.game/base/entities.def
 X%%DATADIR%%/heretic2.game/default_build_menu.xml
 X%%DATADIR%%/heretic2.game/game.xlink
 X%%DATADIR%%/heretic2/h2data
 X%%DATADIR%%/hl.game/cstrike/halflife-cs.fgd
 X%%DATADIR%%/hl.game/default_build_menu.xml
 X%%DATADIR%%/hl.game/valve/default_shaderlist.txt
 X%%DATADIR%%/hl.game/valve/halflife.fgd
 X%%DATADIR%%/ja.game/base/default_shaderlist.txt
 X%%DATADIR%%/ja.game/base/mp_entities.def
 X%%DATADIR%%/ja.game/base/sp_entities.def
 X%%DATADIR%%/ja.game/default_build_menu.xml
 X%%DATADIR%%/ja.game/game.xlink
 X%%DATADIR%%/jk2.game/BehavEd.bhc
 X%%DATADIR%%/jk2.game/ChangeLog.txt
 X%%DATADIR%%/jk2.game/base/default_shaderlist.txt
 X%%DATADIR%%/jk2.game/base/mp_entities.def
 X%%DATADIR%%/jk2.game/base/sp_entities.def
 X%%DATADIR%%/jk2.game/default_build_menu.xml
 X%%DATADIR%%/jk2.game/game.xlink
 X%%DATADIR%%/modules/archivepak.so
 X%%DATADIR%%/modules/archivewad.so
 X%%DATADIR%%/modules/archivezip.so
 X%%DATADIR%%/modules/entity.so
 X%%DATADIR%%/modules/image.so
 X%%DATADIR%%/modules/imagehl.so
 X%%DATADIR%%/modules/imagepng.so
 X%%DATADIR%%/modules/imageq2.so
 X%%DATADIR%%/modules/mapq3.so
 X%%DATADIR%%/modules/mapxml.so
 X%%DATADIR%%/modules/md3model.so
 X%%DATADIR%%/modules/model.so
 X%%DATADIR%%/modules/shaders.so
 X%%DATADIR%%/modules/vfspk3.so
 X%%DATADIR%%/q1.game/default_build_menu.xml
 X%%DATADIR%%/q1.game/id1/entities.ent
 X%%DATADIR%%/q2.game/baseq2/entities.def
 X%%DATADIR%%/q2.game/default_build_menu.xml
 X%%DATADIR%%/q2.game/game.xlink
 X%%DATADIR%%/q2map
 X%%DATADIR%%/q3.game/baseq3/default_shaderlist.txt
 X%%DATADIR%%/q3.game/baseq3/entities.def
 X%%DATADIR%%/q3.game/baseq3/entities.ent
 X%%DATADIR%%/q3.game/default_build_menu.xml
 X%%DATADIR%%/q3.game/game.xlink
 X%%DATADIR%%/q3.game/missionpack/default_shaderlist.txt
 X%%DATADIR%%/q3.game/missionpack/entities-ta.def
 X%%DATADIR%%/q3.game/missionpack/entities-ta.ent
 X%%DATADIR%%/q3bp.game/baseq3/default_shaderlist.txt
 X%%DATADIR%%/q3bp.game/default_build_menu.xml
 X%%DATADIR%%/q3bp.game/game.xlink
 X%%DATADIR%%/q3data.qdt
 X%%DATADIR%%/q3data.x86
 X%%DATADIR%%/q3map2.x86
 X%%DATADIR%%/q4.game/default_build_menu.xml
 X%%DATADIR%%/q4.game/q4base/default_shaderlist.txt
 X%%DATADIR%%/qdata3
 X%%DATADIR%%/radiant.x86
 X%%DATADIR%%/sof2.game/BehavEd.bhc
 X%%DATADIR%%/sof2.game/ChangeLog.txt
 X%%DATADIR%%/sof2.game/base/default_shaderlist.txt
 X%%DATADIR%%/sof2.game/base/mp_entities.def
 X%%DATADIR%%/sof2.game/base/sp_entities.def
 X%%DATADIR%%/sof2.game/default_build_menu.xml
 X%%DATADIR%%/sof2.game/game.xlink
 X%%DATADIR%%/stvef.game/baseEF/default_shaderlist.txt
 X%%DATADIR%%/stvef.game/baseEF/hm_entities.def
 X%%DATADIR%%/stvef.game/baseEF/mp_entities.def
 X%%DATADIR%%/stvef.game/baseEF/sp_entities.def
 X%%DATADIR%%/stvef.game/default_build_menu.xml
 X%%DATADIR%%/stvef.game/game.xlink
 X%%DATADIR%%/wolf.game/default_build_menu.xml
 X%%DATADIR%%/wolf.game/game.xlink
 X%%DATADIR%%/wolf.game/main/default_shaderlist.txt
 X%%DATADIR%%/wolf.game/main/wolf_entities.def
 X%%DATADIR%%/wolf.game/main/wolf_entities.ent
 X at dirrm %%DATADIR%%/wolf.game/main
 X at dirrm %%DATADIR%%/wolf.game
 X at dirrm %%DATADIR%%/stvef.game/baseEF
 X at dirrm %%DATADIR%%/stvef.game
 X at dirrm %%DATADIR%%/sof2.game/base
 X at dirrm %%DATADIR%%/sof2.game
 X at dirrm %%DATADIR%%/q4.game/q4base
 X at dirrm %%DATADIR%%/q4.game
 X at dirrm %%DATADIR%%/q3bp.game/baseq3
 X at dirrm %%DATADIR%%/q3bp.game
 X at dirrm %%DATADIR%%/q3.game/missionpack
 X at dirrm %%DATADIR%%/q3.game/baseq3
 X at dirrm %%DATADIR%%/q3.game
 X at dirrm %%DATADIR%%/q2.game/baseq2
 X at dirrm %%DATADIR%%/q2.game
 X at dirrm %%DATADIR%%/q1.game/id1
 X at dirrm %%DATADIR%%/q1.game
 X at dirrm %%DATADIR%%/plugins
 X at dirrm %%DATADIR%%/modules
 X at dirrm %%DATADIR%%/jk2.game/base
 X at dirrm %%DATADIR%%/jk2.game
 X at dirrm %%DATADIR%%/jabp.game
 X at dirrm %%DATADIR%%/ja.game/base
 X at dirrm %%DATADIR%%/ja.game
 X at dirrm %%DATADIR%%/hlcs.game
 X at dirrm %%DATADIR%%/hl.game/valve
 X at dirrm %%DATADIR%%/hl.game/cstrike
 X at dirrm %%DATADIR%%/hl.game
 X at dirrm %%DATADIR%%/heretic2.game/base
 X at dirrm %%DATADIR%%/heretic2.game
 X at dirrm %%DATADIR%%/heretic2
 X at dirrm %%DATADIR%%/gl
 X at dirrm %%DATADIR%%/games
 X at dirrm %%DATADIR%%/et.game/etmain
 X at dirrm %%DATADIR%%/et.game/bitmaps
 X at dirrm %%DATADIR%%/et.game
 X at dirrm %%DATADIR%%/doom3.game/base
 X at dirrm %%DATADIR%%/doom3.game
 X at dirrm %%DATADIR%%/bitmaps
 X at dirrm %%DATADIR%%
 END-of-gtkradiant/pkg-plist
 echo x - gtkradiant/distinfo
 sed 's/^X//' >gtkradiant/distinfo << 'END-of-gtkradiant/distinfo'
 XMD5 (GtkRadiant-GPL.zip) = fa29a5a5bdd261dbe6577b566f58d9c0
 XSHA256 (GtkRadiant-GPL.zip) = 9c5490e340aa60687ca64a16b059712a4d151caeeaed3258b0f5ea1ca965e86c
 XSIZE (GtkRadiant-GPL.zip) = 5466094
 XMD5 (gtkradiant_gamepacks.zip) = 8a2b5a89c4f817e0277d3940c6b8e59e
 XSHA256 (gtkradiant_gamepacks.zip) = a8634a8c6a0c879bd03035f17bd72fd79591f9e248c9a4b6f0fd4ebdb2e4a9b3
 XSIZE (gtkradiant_gamepacks.zip) = 501706
 END-of-gtkradiant/distinfo
 echo x - gtkradiant/pkg-descr
 sed 's/^X//' >gtkradiant/pkg-descr << 'END-of-gtkradiant/pkg-descr'
 XGtkRadiant is a level design program developed by id Software and Loki
 XSoftware. It is used to create maps for a number of computer games.
 X
 XGtkRadiant originated as Q3Radiant, the Quake III Arena level design tool,
 Xwhich was a Windows-only application. Two major things are different in
 XGtkRadiant: it is based on the GTK+ toolkit, so it also works in Linux and Mac
 XOS X, and it's also game engine-independent, with functionality for new games
 Xadded as game packs.
 X
 XGtkRadiant is an Open Source application. Source code is publicly available
 Xfrom id Software's Subversion repository and new additions to the code are
 Xcovered under open source licenses. The core Q3Radiant code, however, was
 Xoriginally under id Software's proprietary license. The license for both the
 Xeditor and toolset (notably Q3Map2, the BSP compiler) was changed in February
 X2006, and publicly released under the GPL on February 17.
 X
 XWWW: http://www.qeradiant.com/
 END-of-gtkradiant/pkg-descr
 exit
 
 --- gtkradiant.shar ends here ---
 
 
 



More information about the freebsd-ports-bugs mailing list