mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# Created by: Janni
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= el
|
|
PORTVERSION= 1.9.5.2
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Eternal Lands is a free 3D MMORPG
|
|
|
|
BROKEN_powerpc64= fails to compile: cal3d_io_wrapper.cpp: undefined reference to CalCoreAnimation::setFilename
|
|
BROKEN_sparc64= fails to build on sparc64
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
libvorbis.so:audio/libvorbis \
|
|
libcal3d.so:graphics/cal3d
|
|
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/el.ini:games/el-data
|
|
|
|
USES= compiler:c++11-lang gmake iconv openal:al,alut
|
|
USE_GNOME= libxml2
|
|
USE_SDL= sdl net image
|
|
USE_GL= gl
|
|
USE_XORG= x11
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= raduprv
|
|
GH_PROJECT= Eternal-Lands
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lX11
|
|
LLD_UNSAFE= yes
|
|
|
|
ALL_TARGET= el.bin
|
|
MAKEFILE= Makefile.bsd
|
|
PLIST_FILES= bin/el \
|
|
%%DATADIR%%/el.bin
|
|
|
|
pre-install:
|
|
@${ECHO} "#!/bin/sh" > ${WRKDIR}/el
|
|
@${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/el
|
|
@${ECHO} "exec ${DATADIR}/el.bin" >> ${WRKDIR}/el
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/el ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/el.bin ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|