2017-02-22 11:34:06 +00:00
|
|
|
PORTNAME= ags
|
2019-09-26 04:17:04 +00:00
|
|
|
DISTVERSION= 3.4.4.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
|
|
|
|
2020-09-28 05:05:24 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2017-02-22 11:34:06 +00:00
|
|
|
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
|
|
|
|
|
2019-09-26 04:20:48 +00:00
|
|
|
USES= compiler:c++11-lang gmake localbase pkgconfig tar:xz xorg
|
2017-02-22 11:34:06 +00:00
|
|
|
USE_XORG= x11
|
|
|
|
|
|
|
|
MAKE_ARGS= V=1
|
2019-09-26 04:17:04 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/Engine
|
2017-02-22 11:34:06 +00:00
|
|
|
|
|
|
|
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>
|