2014-03-11 00:29:12 +01:00
|
|
|
PORTNAME= fs-uae
|
2021-10-26 13:24:37 +02:00
|
|
|
PORTVERSION= 3.1.35
|
2014-03-11 00:29:12 +01:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= http://fs-uae.net/stable/${PORTVERSION}/
|
|
|
|
|
2019-10-16 23:41:11 +02:00
|
|
|
MAINTAINER= sirdice@gmail.com
|
2014-03-11 00:29:12 +01:00
|
|
|
COMMENT= Amiga emulator
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://fs-uae.net/
|
2014-03-11 00:29:12 +01:00
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2015-09-18 16:22:25 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-03-11 00:29:12 +01:00
|
|
|
|
2018-12-08 19:00:22 +01:00
|
|
|
BUILD_DEPENDS= zip:archivers/zip
|
2019-10-16 23:41:11 +02:00
|
|
|
LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 \
|
2018-12-08 19:00:22 +01:00
|
|
|
libopenal.so:audio/openal-soft \
|
2019-10-16 23:41:11 +02:00
|
|
|
libpng.so:graphics/png
|
2014-03-11 00:29:12 +01:00
|
|
|
|
2019-10-16 23:41:11 +02:00
|
|
|
USES= compiler:c11 desktop-file-utils gettext gl gmake gnome \
|
|
|
|
localbase pkgconfig sdl shared-mime-info xorg
|
2018-12-08 19:00:22 +01:00
|
|
|
|
|
|
|
USE_SDL= sdl2
|
2014-03-11 00:29:12 +01:00
|
|
|
USE_GL= gl
|
|
|
|
USE_GNOME= glib20
|
2018-12-08 19:00:22 +01:00
|
|
|
USE_XORG= x11
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CFLAGS+= -Wno-c++11-narrowing
|
2020-03-20 00:02:30 +01:00
|
|
|
LDFLAGS_i386= -Wl,-znotext
|
2014-03-11 00:29:12 +01:00
|
|
|
|
2020-05-28 17:02:37 +02:00
|
|
|
OPTIONS_DEFINE= DOCS DEBUG
|
|
|
|
OPTIONS_DEFINE_i386= JIT
|
|
|
|
OPTIONS_DEFINE_amd64= JIT
|
2020-03-08 19:44:05 +01:00
|
|
|
|
|
|
|
JIT_DESC= Enable JIT compiler (experimental)
|
|
|
|
JIT_CONFIGURE_ENABLE= jit
|
2014-07-16 01:30:05 +02:00
|
|
|
|
2020-05-28 17:02:37 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
# JIT is not supported on non-x86 make sure it's off
|
|
|
|
.if ${ARCH} != amd64 && ${ARCH} != i386
|
2020-06-07 17:48:30 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-jit
|
2020-05-28 17:02:37 +02:00
|
|
|
.endif
|
|
|
|
|
2019-10-16 23:41:11 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|= bind|= ::bind|' \
|
|
|
|
${WRKSRC}/src/od-fs/bsdsocket_posix.cpp \
|
|
|
|
${WRKSRC}/src/support/socket.cpp
|
2020-10-13 08:13:20 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|return NULL|return 0|' \
|
|
|
|
${WRKSRC}/src/memory.cpp
|
2019-10-16 23:41:11 +02:00
|
|
|
|
2020-05-28 17:02:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|