diff options
author | xtraeme <xtraeme> | 2004-04-15 00:20:29 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-04-15 00:20:29 +0000 |
commit | d78ec21e302c40486ff87e00291fa9d2e2c0b9e8 (patch) | |
tree | 8185281b8c7de1cf0d770127f3b930c02b972a29 /games/quake3arena/Makefile | |
parent | f5357eb49785630fc9a763cddecfc1559687423b (diff) | |
download | pkgsrc-d78ec21e302c40486ff87e00291fa9d2e2c0b9e8.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/Makefile')
-rw-r--r-- | games/quake3arena/Makefile | 11 |
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" |