summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-07-29 05:18:36 +0000
committerjlam <jlam@pkgsrc.org>2007-07-29 05:18:36 +0000
commit33f30156fb37245b360bbc293320402ecf1aba41 (patch)
tree45cad36d8470a568b9136017b2dd79c9efcc65bc /games
parentffe106498e5f63e2e945d5b6b2ac8807a10ae78f (diff)
downloadpkgsrc-33f30156fb37245b360bbc293320402ecf1aba41.tar.gz
* Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch.
Diffstat (limited to 'games')
-rw-r--r--games/adom/Makefile19
-rw-r--r--games/civctp-demo/Makefile28
-rw-r--r--games/et/Makefile16
-rw-r--r--games/eus-demo/Makefile28
-rw-r--r--games/majesty-demo/Makefile15
-rw-r--r--games/quake3arena-demo/Makefile23
-rw-r--r--games/quake3arena/Makefile23
-rw-r--r--games/quake3server/Makefile7
-rw-r--r--games/quake3server/Makefile.common9
-rw-r--r--games/rollemup/Makefile23
-rw-r--r--games/rtcw/Makefile27
11 files changed, 75 insertions, 143 deletions
diff --git a/games/adom/Makefile b/games/adom/Makefile
index 9390f37a7d3..c86abc31cae 100644
--- a/games/adom/Makefile
+++ b/games/adom/Makefile
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/12/23 10:29:49 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.14 2007/07/29 05:19:25 jlam Exp $
DISTNAME= adom-111-elf
PKGNAME= adom-1.1.1
@@ -11,22 +10,16 @@ MAINTAINER= shattered@users.sourceforge.net
HOMEPAGE= http://www.adom.de/
COMMENT= Ancient Domains of Mystery - yet another roguelike game
-ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base
-WRKSRC= ${WRKDIR}/adom
-NO_BUILD= YES
-NO_CONFIGURE= YES
-
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=6.1:../../emulators/${SUSE_DIR_PREFIX}_base
-.endif
+WRKSRC= ${WRKDIR}/adom
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin share/doc/adom
do-install:
- ${INSTALL_DATA} ${WRKSRC}/*.* ${PREFIX}/share/doc/adom
${INSTALL_PROGRAM} ${WRKSRC}/adom ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/*.* ${PREFIX}/share/doc/adom
.include "../../mk/bsd.pkg.mk"
diff --git a/games/civctp-demo/Makefile b/games/civctp-demo/Makefile
index af2d15c683a..6f811f5b6d9 100644
--- a/games/civctp-demo/Makefile
+++ b/games/civctp-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/02/05 23:09:13 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2007/07/29 05:19:25 jlam Exp $
DISTNAME= civctp-demo-10251999
PKGNAME= civctp-demo-19991025
@@ -12,23 +12,12 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.lokigames.com/products/civctp/
COMMENT= Civilization: Call to Power - graphical strategy (linux demo)
-WRKSRC= ${WRKDIR}/${WRKNAME}
-NO_CONFIGURE= yes
-
# Someone needs to look at alpha, powerpc and sparc compat_linux
-ONLY_FOR_PLATFORM=*-*-i386
-
-.if (${MACHINE_ARCH} == "i386")
-BINTYPE= x86/glibc-2.1
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= x11
-DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
-.elif (${MACHINE_ARCH} == "alpha")
-BINTYPE= alpha/glibc-2.1
-.elif (${MACHINE_ARCH} == "powerpc")
-BINTYPE= ppc/glibc-2.1
-.elif (${MACHINE_ARCH} == "sparc64")
-BINTYPE= sparc64/glibc-2.1
-.endif
+WRKSRC= ${WRKDIR}/${WRKNAME}
+BUILD_DIRS= # empty
WRKNAME= civctp_demo
DISTBINNAME= civctp
@@ -38,6 +27,12 @@ DIST_SUBDIR= lokigames
LIBDIR= ${PREFIX}/lib/lokigames/${BINNAME}
SHAREDIR= ${PREFIX}/share/doc/lokigames
+BINTYPE.i386= x86/glibc-2.1
+BINTYPE.alpha= alpha/glibc-2.1
+BINTYPE.powerpc= ppc/glibc-2.1
+BINTYPE.sparc64= sparc64/glibc-2.1
+BINTYPE= ${BINTYPE.${EMUL_ARCH}}
+
INSTALLATION_DIRS= bin
do-build:
@@ -55,5 +50,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README
cd ${WRKSRC} && ${PAX} -rw appstr.txt civpaths.txt ctp_data ${LIBDIR}
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/et/Makefile b/games/et/Makefile
index 2ccc7351db7..8c4b3bc6963 100644
--- a/games/et/Makefile
+++ b/games/et/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2007/02/22 19:26:30 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2007/07/29 05:19:25 jlam Exp $
#
DISTNAME= et-linux-2.56-2.x86
PKGNAME= et-2.56
-PKGREVISION= 1
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.idsoftware.com/idstuff/et/linux/
EXTRACT_SUFX= .run
@@ -12,19 +12,15 @@ MAINTAINER= dhowland@users.sourceforge.net
HOMEPAGE= http://games.activision.com/games/wolfenstein/
COMMENT= Wolfenstein: Enemy Territory for Linux
-NO_BUILD= yes
-ONLY_FOR_PLATFORM= *-*-i386
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base
USE_TOOLS+= gtar
-ETDIR= ${PREFIX}/lib/lokigames/et
EXTRACT_CMD= ${TAIL} +356 ${DOWNLOADED_DISTFILE} | ${GTAR} xzf - \
-C ${WRKSRC}
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
-.endif
+ETDIR= ${PREFIX}/lib/lokigames/et
+BUILD_DIRS= # empty
INSTALLATION_DIRS= bin
diff --git a/games/eus-demo/Makefile b/games/eus-demo/Makefile
index e8d5180cd90..70f21445cd0 100644
--- a/games/eus-demo/Makefile
+++ b/games/eus-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/02/05 23:09:14 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2007/07/29 05:19:25 jlam Exp $
DISTNAME= eus-demo
PKGNAME= eus-demo-1.0
@@ -12,23 +12,12 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.lokigames.com/products/eus/
COMMENT= Eric's Ultimate Solitaire (linux demo)
-WRKSRC= ${WRKDIR}/${WRKNAME}
-NO_CONFIGURE= yes
-
# Someone needs to look at alpha, powerpc and sparc compat_linux
-ONLY_FOR_PLATFORM=*-*-i386
-
-.if (${MACHINE_ARCH} == "i386")
-BINTYPE= x86/glibc-2.1
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= x11
-DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
-.elif (${MACHINE_ARCH} == "alpha")
-BINTYPE= alpha/glibc-2.1
-.elif (${MACHINE_ARCH} == "powerpc")
-BINTYPE= ppc/glibc-2.1
-.elif (${MACHINE_ARCH} == "sparc64")
-BINTYPE= sparc64/glibc-2.1
-.endif
+WRKSRC= ${WRKDIR}/${WRKNAME}
+BUILD_DIRS= # empty
WRKNAME= eus_demo
DISTBINNAME= EricsSolitaireDemo
@@ -38,6 +27,12 @@ DIST_SUBDIR= lokigames
LIBDIR= ${PREFIX}/lib/lokigames/${BINNAME}
SHAREDIR= ${PREFIX}/share/doc/lokigames
+BINTYPE.i386= x86/glibc-2.1
+BINTYPE.alpha= alpha/glibc-2.1
+BINTYPE.powerpc= ppc/glibc-2.1
+BINTYPE.sparc64= sparc64/glibc-2.1
+BINTYPE= ${BINTYPE.${EMUL_ARCH}}
+
INSTALLATION_DIRS= bin
do-build:
@@ -55,5 +50,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README
cd ${WRKSRC} && ${PAX} -rw [Eai-p]* sounds ${LIBDIR}
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/majesty-demo/Makefile b/games/majesty-demo/Makefile
index db300aa7580..d0e3a292608 100644
--- a/games/majesty-demo/Makefile
+++ b/games/majesty-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/02/22 19:26:30 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2007/07/29 05:19:25 jlam Exp $
#
DISTNAME= majesty_demo
@@ -16,17 +16,11 @@ EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \
${GZCAT} | ${PAX} -O -r
USE_TOOLS+= gzcat pax
-ONLY_FOR_PLATFORM=*-*-i386
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= x11
WRKSRC= ${WRKDIR}
-
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-.if (${MACHINE_ARCH} == "i386")
-DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
-.endif
-.endif
+BUILD_DIRS= # empty
BINNAME= maj_demo
LGP_PATH= ${PREFIX}/lib/lgp
@@ -49,5 +43,4 @@ do-install:
quests ${MAJ_PATH}
${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME}
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/quake3arena-demo/Makefile b/games/quake3arena-demo/Makefile
index cf977b14def..5c979a62da1 100644
--- a/games/quake3arena-demo/Makefile
+++ b/games/quake3arena-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/03/04 21:29:43 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2007/07/29 05:19:25 jlam Exp $
DISTNAME= linuxq3ademo-1_11-6_x86_gz
PKGREVISION= 3
@@ -14,29 +14,18 @@ COMMENT= Quake 3 Arena -- first person shooter (linux demo)
CONFLICTS= quake3arena-[0-9]*
-.include "../../mk/bsd.prefs.mk"
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base x11 glx
-.if ${OPSYS} != "Linux"
-DEPENDS+= suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
-DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
-DEPENDS+= suse_glx>=6.4:../../emulators/${SUSE_DIR_PREFIX}_glx
-.include "../../emulators/suse_linux/Makefile.application"
-.else
-.include "../../mk/x11.buildlink3.mk"
-.endif
-
-NO_CONFIGURE= yes
-EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \
- ${GTAR} xzf -
USE_TOOLS+= gtar
-
-ONLY_FOR_PLATFORM=*-*-i386
+EXTRACT_CMD= ${SED} '1,/^END_OF_STUB$$/d' ${DOWNLOADED_DISTFILE} | \
+ ${GTAR} xzf -
DISTBINNAME= q3demo
BINNAME= quake3arena-demo
-WRKSRC= ${WRKDIR}
DIST_SUBDIR= lokigames
+WRKSRC= ${WRKDIR}
LIBDIR= ${PREFIX}/lib/lokigames/${BINNAME}
SHAREDIR= ${PREFIX}/share/doc/lokigames
diff --git a/games/quake3arena/Makefile b/games/quake3arena/Makefile
index 2f4c159a644..b0817283d71 100644
--- a/games/quake3arena/Makefile
+++ b/games/quake3arena/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2007/02/19 18:48:59 joerg Exp $
+# $NetBSD: Makefile,v 1.29 2007/07/29 05:19:26 jlam Exp $
DISTNAME= linuxq3apoint-1.32b.x86
PKGREVISION= 3
@@ -14,17 +14,11 @@ COMMENT= Quake 3 Arena -- first person shooter (binary only, no data files)
CONFLICTS= quake3arena-demo-[0-9]*
-.include "../../emulators/suse_linux/Makefile.application"
-
-.if !defined(USE_NATIVE_LINUX)
-DEPENDS+= suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
-DEPENDS+= suse_x11>=6.3:../../emulators/${SUSE_DIR_PREFIX}_x11
-DEPENDS+= suse_glx>=6.4:../../emulators/${SUSE_DIR_PREFIX}_glx
-.endif
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base x11 glx
NO_SRC_ON_FTP= no
NO_BIN_ON_FTP= no
-NO_CONFIGURE= yes
USE_TOOLS+= gtar gunzip tail
@@ -33,10 +27,6 @@ USE_TOOLS+= gtar gunzip tail
#
EXTRACT_CMD= tail +266 ${DOWNLOADED_DISTFILE} | gunzip | gtar -xf -
-.if !make(fetch)
-ONLY_FOR_PLATFORM=*-*-i386
-.endif
-
DISTBINNAME= quake3.x86
BINNAME= quake3arena
@@ -63,9 +53,10 @@ do-install:
cd ${WRKSRC} && ${PAX} -rw baseq3 ${LIBDIR}
-.if ${OPSYS} == "FreeBSD"
+# Some platforms, e.g. FreeBSD, need to "brand" the ELF binaries to
+# the correct type.
+#
post-install:
- ${BRANDELF} -t Linux ${LIBDIR}/${BINNAME}
-.endif
+ ${BRANDELF:D${BRANDELF} -t Linux ${PREFIX}/bin/${BINNAME}:U${TRUE}}
.include "../../mk/bsd.pkg.mk"
diff --git a/games/quake3server/Makefile b/games/quake3server/Makefile
index e9efc2053e9..f97aff360f2 100644
--- a/games/quake3server/Makefile
+++ b/games/quake3server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/02/22 19:26:31 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2007/07/29 05:19:26 jlam Exp $
DISTNAME= linuxq3apoint-1.32b.x86
PKGNAME= quake3server-1.32b
@@ -13,10 +13,9 @@ COMMENT= Quake III Arena Dedicated Server for Linux
.include "../../games/quake3server/Makefile.common"
-ONLY_FOR_PLATFORM= NetBSD-*-i386
-USE_TOOLS+= gtar
-
+USE_TOOLS+= gtar
EXTRACT_CMD= ${SED} '1,265d' ${DOWNLOADED_DISTFILE} | ${GTAR} xzf -
+
WRKSRC= ${WRKDIR}
BASEDOCDIR= ${PREFIX}/share/doc/lokigames/quake3server
RCD_SCRIPTS= quake3server
diff --git a/games/quake3server/Makefile.common b/games/quake3server/Makefile.common
index 667d96f1ca7..7c8d0fc3b39 100644
--- a/games/quake3server/Makefile.common
+++ b/games/quake3server/Makefile.common
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile.common,v 1.4 2006/04/22 09:22:09 rillig Exp $
+# $NetBSD: Makefile.common,v 1.5 2007/07/29 05:19:26 jlam Exp $
-NO_BUILD= yes
Q3ROOTDIR= ${PREFIX}/lib/lokigames/quake3server
-ONLY_FOR_PLATFORM= NetBSD-*-i386
RESTRICTED= Size; the data set is much too big
NO_SRC_ON_CDROM= ${RESTRICTED}
@@ -10,6 +8,5 @@ NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
-DEPENDS+= suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
-
-.include "../../emulators/suse_linux/Makefile.application"
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base
diff --git a/games/rollemup/Makefile b/games/rollemup/Makefile
index b690962fb85..21137fb6359 100644
--- a/games/rollemup/Makefile
+++ b/games/rollemup/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2007/02/22 19:01:18 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2007/07/29 05:19:26 jlam Exp $
DISTNAME= Rollemup
PKGNAME= rollemup-1.0
@@ -20,22 +20,14 @@ NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-NO_CONFIGURE= yes
+USE_TOOLS+= gtar
-PLIST_SRC= ${WRKDIR}/PLIST.src
-GAMES_DIR= share/games
-MESSAGE_SUBST+= GAMES_DIR=${GAMES_DIR}
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= compat x11
-USE_TOOLS+= gtar
-
-ONLY_FOR_PLATFORM= *-*-i386
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-DEPENDS+= suse_compat>=6.1:../../emulators/${SUSE_DIR_PREFIX}_compat
-DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11
-.endif
+PLIST_SRC= ${WRKDIR}/PLIST.src
+GAMES_DIR= share/games
+MESSAGE_SUBST+= GAMES_DIR=${GAMES_DIR}
INSTALLATION_DIRS= bin
@@ -66,5 +58,4 @@ do-install:
@${CHMOD} 775 ${PREFIX}/${GAMES_DIR}/Rollemup/Upload
@${CHMOD} 664 ${PREFIX}/${GAMES_DIR}/Rollemup/Rollemup.ini
-.include "../../emulators/suse_linux/Makefile.application"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/rtcw/Makefile b/games/rtcw/Makefile
index 6505ceb7520..5c9c7492e1a 100644
--- a/games/rtcw/Makefile
+++ b/games/rtcw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/02/22 19:26:31 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2007/07/29 05:19:26 jlam Exp $
DISTNAME= wolf-linux-1.33.x86
PKGNAME= rtcw-1.33
@@ -11,28 +11,23 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://games.activision.com/games/wolfenstein/
COMMENT= Return to Castle Wolfenstein for Linux
-ONLY_FOR_PLATFORM= *-*-i386
-NOT_FOR_PLATFORM= NetBSD-*-*
-
-NO_BUILD= yes
-RTCWDIR= ${PREFIX}/lib/lokigames/rtcw
RESTRICTED= Size; the data set is much too big
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
-EXTRACT_CMD= ${SED} '1,178d' ${DOWNLOADED_DISTFILE} | ${GTAR} xzf - \
- -C ${WRKSRC}
-USE_TOOLS+= gtar
-.include "../../mk/bsd.prefs.mk"
+EMUL_PLATFORMS= linux-i386
+EMUL_MODULES.linux= base
-.if ${OPSYS} != "Linux"
-DEPENDS+= suse_base>=6.3:../../emulators/${SUSE_DIR_PREFIX}_base
-.include "../../emulators/suse_linux/Makefile.application"
-.else
-.include "../../mk/x11.buildlink3.mk"
-.endif
+# This package needs DRI support.
+NOT_FOR_PLATFORM= NetBSD-*-*
+
+BUILD_DIRS= # empty
+RTCWDIR= ${PREFIX}/lib/lokigames/rtcw
+USE_TOOLS+= gtar
+EXTRACT_CMD= ${SED} '1,178d' ${DOWNLOADED_DISTFILE} | \
+ ${GTAR} xzf - -C ${WRKSRC}
pre-extract:
${MKDIR} ${WRKSRC}