aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-alienarena
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-11-08 08:12:10 +0800
committeracm <acm@FreeBSD.org>2006-11-08 08:12:10 +0800
commitbc5a3588315a66d144a8d582cb28579226f9ab95 (patch)
treee88d3b869c10be6ad23738130e6ad877e25b4939 /games/linux-alienarena
parent62235f4ef65579032c741fc4d8a1532aa99f52db (diff)
downloadfreebsd-ports-gnome-bc5a3588315a66d144a8d582cb28579226f9ab95.tar.gz
freebsd-ports-gnome-bc5a3588315a66d144a8d582cb28579226f9ab95.tar.zst
freebsd-ports-gnome-bc5a3588315a66d144a8d582cb28579226f9ab95.zip
- Remove ONLY_FOR_ARCHS
Suggested by: kris Noticed by: alepulver
Diffstat (limited to 'games/linux-alienarena')
-rw-r--r--games/linux-alienarena/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/games/linux-alienarena/Makefile b/games/linux-alienarena/Makefile
index 2b600bcabe44..4d27b0564dec 100644
--- a/games/linux-alienarena/Makefile
+++ b/games/linux-alienarena/Makefile
@@ -7,6 +7,7 @@
PORTNAME= alienarena
PORTVERSION= 2007
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= games linux
MASTER_SITES= http://www.alienarena.org/downloads/ \
@@ -21,7 +22,6 @@ COMMENT= Alien Arena 2006 (Linux version)
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 \
${DATADIR}/arena/default.cfg:${PORTSDIR}/games/alienarena-data
-ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -48,12 +48,6 @@ RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \
RUN_DEPENDS+= ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux_dri
.endif
-.if ${ARCH} == "i386"
-ENGINE_ARCH= x86
-.elif ${ARCH} == "amd64"
-ENGINE_ARCH= x86_64
-.endif
-
do-extract:
@${MKDIR} ${WRKDIR}
@cd ${WRKDIR} && \
@@ -62,14 +56,14 @@ do-extract:
do-install:
${MKDIR} ${LIBDIR}/arena ${LIBDIR}/data1
- cd ${WRKSRC}/engine/${ENGINE_ARCH} && \
+ cd ${WRKSRC}/engine/x86 && \
${INSTALL_PROGRAM} arena/gamei386.so ${LIBDIR}/arena && \
${INSTALL_PROGRAM} data1/gamei386.so ${LIBDIR}/data1
${LN} -sf ${DATADIR}/arena/* ${LIBDIR}/arena
${LN} -sf ${DATADIR}/botinfo ${LIBDIR}
${LN} -sf ${DATADIR}/data1/* ${LIBDIR}/data1
.for f in crx.sdl crded
- ${INSTALL_PROGRAM} ${WRKSRC}/engine/${ENGINE_ARCH}/${f} ${LIBDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/engine/x86/${f} ${LIBDIR}
.endfor
.for f in linux-alienarena linux-alienarena-ded
${INSTALL_SCRIPT} ${WRKDIR}/${f} ${PREFIX}/bin