1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/el/Makefile
Oliver Lehmann c36bc8fc88 update to openal 20060211 [1]
fix dependant ports [2]

PR:		ports/96172 [1]
		ports/95192 [2]
Submitted by:	maintainer  [1]
		oliver      [2]
Approved by:	maintainer
2006-04-23 10:14:30 +00:00

59 lines
1.2 KiB
Makefile

# New ports collection makefile for: el
# Date created: 25 January 2005
# Whom: Janni
#
# $FreeBSD$
#
PORTNAME= el
PORTVERSION= 112
CATEGORIES= games
MASTER_SITES= ftp://ftp.berlios.de/pub/elc/ http://el.tfm.ro/
DISTFILES= ${EL_PROG} ${EL_DATA}
EXTRACT_ONLY= ${EL_PROG}
MAINTAINER= ports@FreeBSD.org
COMMENT= Eternal Lands is a free 3D MMORPG
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
vorbis.3:${PORTSDIR}/audio/libvorbis \
cal3d.11:${PORTSDIR}/graphics/cal3d \
alut.0:${PORTSDIR}/audio/freealut
RUN_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
USE_GNOME= libxml2
USE_SDL= sdl net
EL_PROG= elc_${PORTVERSION}.tgz
EL_DATA= el_${PORTVERSION}_linux.zip
WRKSRC= ${WRKDIR}/elc
ALL_TARGET= cal3d
MAKEFILE= Makefile.bsd
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
CFLAGS+= -DX86_64
.endif
.if ${OSVERSION} < 500000
BROKEN= "does not compile"
.endif
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
do-install:
${ECHO} "#!/bin/sh" > ${WRKDIR}/el
${ECHO} "cd ${DATADIR}; ./el.x86.bsd.bin" >> ${WRKDIR}/el
${INSTALL_SCRIPT} ${WRKDIR}/el ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/el.x86.bsd.bin ${DATADIR}
${UNZIP_CMD} ${DISTDIR}/${EL_DATA} -d ${DATADIR}
.include <bsd.port.post.mk>