1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/games/el/Makefile
Jose Alonso Cardenas Marquez fe7a2e6e1a - Update to 1.9.2
- Add ELSOUND and ELMUSIC options. It installs additional sound and music files
- Remove Makefile.linux patch file
- Re-add Makefile.bsd patch file
- Respect CC/CXX/LINK [1]
- Few others modifications

PR:	161561
Submitted by:	Nali Toja <nalitoja __ at __ gmail.com> [1]
2011-10-20 17:47:59 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: el
# Date created: 25 January 2005
# Whom: Janni
#
# $FreeBSD$
#
PORTNAME= el
PORTVERSION= 192
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= Eternal Lands is a free 3D MMORPG
LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png \
vorbis.4:${PORTSDIR}/audio/libvorbis \
cal3d.12:${PORTSDIR}/graphics/cal3d
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:${PORTSDIR}/games/el-data
PROJECTHOST= bsdistfiles
USE_BZIP2= yes
USE_GMAKE= yes
USE_OPENAL= al alut
USE_GNOME= libxml2
USE_SDL= sdl net image
USE_GL= yes
ALL_TARGET= el.bin
MAKEFILE= Makefile.bsd
PLIST= ${WRKDIR}/pkg-plist
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
pre-install:
@${ECHO} "#!/bin/sh" > ${WRKDIR}/el
@${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/el
@${ECHO} "exec ${DATADIR}/el.bin" >> ${WRKDIR}/el
@${ECHO} "bin/el" > ${PLIST}
@${ECHO} "%%DATADIR%%/el.bin" >> ${PLIST}
@${ECHO} "@dirrmtry %%DATADIR%%" >> ${PLIST}
do-install:
@${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/el ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/el.bin ${DATADIR}
.include <bsd.port.post.mk>