2017-02-22 11:34:06 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ags
|
2019-02-12 15:10:10 +00:00
|
|
|
DISTVERSION= 3.4.3.1
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 20:46:53 +00:00
|
|
|
PORTREVISION= 1
|
2017-02-22 11:34:06 +00:00
|
|
|
CATEGORIES= games
|
2018-07-19 21:27:40 +00:00
|
|
|
MASTER_SITES= https://github.com/adventuregamestudio/ags/releases/download/v.${DISTVERSION}/
|
|
|
|
DISTNAME= ags_linux_v.${DISTVERSION}
|
2017-02-22 11:34:06 +00:00
|
|
|
|
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
|
|
|
COMMENT= Adventure Game Studio Engine
|
|
|
|
|
|
|
|
LICENSE= ART20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/License.txt
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libaldmb.a:audio/dumb-allegro
|
|
|
|
LIB_DEPENDS= liballeg.so:devel/allegro \
|
|
|
|
libogg.so:audio/libogg \
|
|
|
|
libtheora.so:multimedia/libtheora \
|
|
|
|
libvorbis.so:audio/libvorbis \
|
|
|
|
libfreetype.so:print/freetype2
|
|
|
|
|
2018-07-19 21:27:40 +00:00
|
|
|
USES= compiler:c++11-lib gmake localbase pkgconfig tar:xz
|
2017-02-22 11:34:06 +00:00
|
|
|
USE_XORG= x11
|
|
|
|
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/Engine
|
|
|
|
|
|
|
|
MAKE_ARGS= V=1
|
|
|
|
|
|
|
|
PLIST_FILES= bin/ags
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's|<endian.h>|<sys/endian.h>|' \
|
|
|
|
${WRKSRC}/Common/core/endianness.h
|
|
|
|
@${REINPLACE_CMD} -e 's|return cd_player|return 0; // cd_player|g' \
|
|
|
|
-e 's|cd_exit|//cd_exit|g' \
|
|
|
|
${WRKSRC}/Engine/platform/linux/acpllnx.cpp
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Engine/ags ${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|