aboutsummaryrefslogtreecommitdiffstats
path: root/games/el/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-12-22 21:09:29 +0800
committerpav <pav@FreeBSD.org>2005-12-22 21:09:29 +0800
commitc7f0cc7e11d073a7b70e47ca6694914975a9f7d3 (patch)
tree92b0d615e04af76bd6baee3d68292e6558bf895a /games/el/Makefile
parentdd74642813679c2973b3c5ca2b12fb38f7e9db8b (diff)
downloadfreebsd-ports-graphics-c7f0cc7e11d073a7b70e47ca6694914975a9f7d3.tar.gz
freebsd-ports-graphics-c7f0cc7e11d073a7b70e47ca6694914975a9f7d3.tar.zst
freebsd-ports-graphics-c7f0cc7e11d073a7b70e47ca6694914975a9f7d3.zip
- Update to 1.12
PR: ports/90766 Submitted by: Melvyn Sopacua <portmaint@melvyn.homeunix.org>
Diffstat (limited to 'games/el/Makefile')
-rw-r--r--games/el/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/games/el/Makefile b/games/el/Makefile
index 2aabda5c332..19dc04cec85 100644
--- a/games/el/Makefile
+++ b/games/el/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= el
-PORTVERSION= 101
+PORTVERSION= 112
CATEGORIES= games
MASTER_SITES= ftp://ftp.berlios.de/pub/elc/ http://el.tfm.ro/
DISTFILES= ${EL_PROG} ${EL_DATA}
@@ -16,21 +16,27 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Eternal Lands is a free 3D MMORPG
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
- vorbis.3:${PORTSDIR}/audio/libvorbis
+ vorbis.3:${PORTSDIR}/audio/libvorbis \
+ cal3d.11:${PORTSDIR}/graphics/cal3d
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-USE_GMAKE= yes
USE_GNOME= libxml2
USE_SDL= sdl net
EL_PROG= elc_${PORTVERSION}.tgz
-EL_DATA= el_${PORTVERSION}.zip
+EL_DATA= el_${PORTVERSION}_linux.zip
WRKSRC= ${WRKDIR}/elc
-ALL_TARGET= el.x86.bsd.bin
+ALL_TARGET= cal3d
MAKEFILE= Makefile.bsd
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64
+CFLAGS+= -DX86_64
+.endif
+
do-install:
${ECHO} "#!/bin/sh" > ${WRKDIR}/el
${ECHO} "cd ${DATADIR}; ./el.x86.bsd.bin" >> ${WRKDIR}/el
@@ -40,4 +46,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/el.x86.bsd.bin ${DATADIR}
${UNZIP_CMD} ${DISTDIR}/${EL_DATA} -d ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>