diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2005-06-17 22:59:29 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2005-06-17 22:59:29 +0000 |
commit | 23b3bc4b0d01608d37199d39bb546c6c9d6a8b1d (patch) | |
tree | fa03305e656151ebe33c7e94eacc947b13d1c273 /games/linux-q3ademo | |
parent | b347391f9ad81dd1ebc74b80d713888404b304bd (diff) |
Notes
Diffstat (limited to 'games/linux-q3ademo')
-rw-r--r-- | games/linux-q3ademo/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/games/linux-q3ademo/Makefile b/games/linux-q3ademo/Makefile index be3e026c84f3..7416ed8b981c 100644 --- a/games/linux-q3ademo/Makefile +++ b/games/linux-q3ademo/Makefile @@ -10,7 +10,7 @@ PORTNAME= linux-q3ademo PORTVERSION= 1.11.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games graphics linux # fetch manually MASTER_SITES= @@ -21,8 +21,9 @@ EXTRACT_SUFX= MAINTAINER= ports@FreeBSD.org COMMENT= Linux 3d shooter from id Software / Loki Software (demo version) -PREFIX?= ${X11BASE} USE_GL= yes +USE_LINUX= yes +USE_X_PREFIX= yes .include <bsd.port.pre.mk> @@ -32,9 +33,6 @@ RUN_DEPENDS += ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_ RUN_DEPENDS += ${LINUXBASE}/lib/libGL.so:${PORTSDIR}/graphics/linux_glx .endif -# Linux binary should not be stripped by INSTALL_PROGRAM as it uses /usr/bin/strip which then brands the binary as a FreeBSD ELF one. -STRIP= - .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= may not be automatically fetched due to licensing\ restrictions. You MUST manually fetch the Linux version from:\ @@ -63,6 +61,8 @@ do-configure: @${ECHO_CMD} "quake=\"./q3demo\"" >> ${WRKSRC}/q3demo @${ECHO_CMD} "\""$$"quake\" "$$"*" >> ${WRKSRC}/q3demo @${ECHO_CMD} "exit "$$"?" >> ${WRKSRC}/q3demo + @${BRANDELF} -t Linux ${WRKSRC}/bin/x86/glibc-2.0/q3ded + @${BRANDELF} -t Linux ${WRKSRC}/bin/x86/glibc-2.0/q3demo do-install: ${INSTALL_PROGRAM} ${WRKSRC}/q3demo ${PREFIX}/bin |