summaryrefslogtreecommitdiff
path: root/games/quake3arena
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-15 00:20:29 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-15 00:20:29 +0000
commitbd9f98c6ce2bcd6871a85fd72cdf480f649b6977 (patch)
tree8185281b8c7de1cf0d770127f3b930c02b972a29 /games/quake3arena
parent9563c0618e58b416a1dc7b9525724b02724efe41 (diff)
downloadpkgsrc-bd9f98c6ce2bcd6871a85fd72cdf480f649b6977.tar.gz
Mark quake3 binary as Linux ELF after installation, so we could run
it in FreeBSD without any problem (doesn't affect the other systems).
Diffstat (limited to 'games/quake3arena')
-rw-r--r--games/quake3arena/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/games/quake3arena/Makefile b/games/quake3arena/Makefile
index c33d1f55b26..2b2210ca134 100644
--- a/games/quake3arena/Makefile
+++ b/games/quake3arena/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2004/01/20 12:15:41 agc Exp $
+# $NetBSD: Makefile,v 1.16 2004/04/15 00:20:29 xtraeme Exp $
DISTNAME= linuxq3apoint-1.32b.x86
PKGREVISION= 1
@@ -12,7 +12,7 @@ MAINTAINER= jmcneill@invisible.yi.org
HOMEPAGE= http://www.quake3arena.com/
COMMENT= Quake 3 Arena -- first person shooter (binary only, no data files)
-CONFLICTS= quake3arena-demo-[0-9]*
+CONFLICTS= quake3arena-demo-[0-9]*
.include "../../mk/bsd.prefs.mk"
@@ -29,6 +29,8 @@ USE_X11= yes
NO_SRC_ON_FTP= no
NO_BIN_ON_FTP= no
NO_CONFIGURE= yes
+CHECK_SHLIBS= NO
+
EXTRACT_CMD= ${SED} '1,265d' ${DOWNLOADED_DISTFILE} | ${GTAR} xzf -
.if !make(fetch)
@@ -59,4 +61,9 @@ do-install:
cd ${WRKSRC} && ${PAX} -rw baseq3 ${LIBDIR}
+.if ${OPSYS} == "FreeBSD"
+post-install:
+ ${BRANDELF} -t Linux ${LIBDIR}/${BINNAME}
+.endif
+
.include "../../mk/bsd.pkg.mk"