diff options
Diffstat (limited to 'emulators/hatari/Makefile')
-rw-r--r-- | emulators/hatari/Makefile | 54 |
1 files changed, 31 insertions, 23 deletions
diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile index e4f43322717f..01c91dfe4cc4 100644 --- a/emulators/hatari/Makefile +++ b/emulators/hatari/Makefile @@ -1,8 +1,7 @@ PORTNAME= hatari -PORTVERSION= 2.5.0 -PORTREVISION= 1 +DISTVERSIONPREFIX= v +DISTVERSION= 2.6.1 CATEGORIES= emulators -MASTER_SITES= http://download.tuxfamily.org/hatari/${PORTVERSION}/ MAINTAINER= laurent.chardon@gmail.com COMMENT= Atari ST emulator @@ -18,48 +17,56 @@ LIB_DEPENDS= libpng.so:graphics/png \ libreadline.so:devel/readline \ libcapstone.so:devel/capstone -USES= cmake desktop-file-utils gnome python readline \ - sdl shared-mime-info shebangfix tar:bzip2 xorg iconv +USES= cmake desktop-file-utils gnome localbase python readline sdl \ + shared-mime-info shebangfix tar:bzip2 xorg + +USE_GITLAB= yes +GL_SITE= https://framagit.org/ + USE_GNOME= gtk30 pygobject3 -USE_XORG= sm ice x11 xext USE_SDL= sdl2 +USE_XORG= ice sm x11 xext SHEBANG_FILES= python-ui/*.py tools/*.py \ tools/debugger/*.py tools/hconsole/*.py CMAKE_ARGS= -DETCDIR:PATH="${PREFIX}/etc" -OPTIONS_DEFINE= DEBUG DOCS DSP TRACE SMALL +TEST_TARGET= test + +OPTIONS_DEFINE= DEBUG DOCS DSP SMALL TRACE OPTIONS_DEFAULT= DOCS DSP TRACE DEBUG_DESC= Build with debug information DOCS_DESC= Install extra documentation DSP_DESC= DSP 56k emulator for Falcon mode -TRACE_DESC= Tracing messages for debugging SMALL_DESC= Use less memory at the expense of emulation speed +TRACE_DESC= Tracing messages for debugging DSP_CMAKE_BOOL= ENABLE_DSP_EMU -TRACE_CMAKE_BOOL= ENABLE_TRACING SMALL_CMAKE_BOOL= ENABLE_SMALL_MEM - -TEST_TARGET= test +TRACE_CMAKE_BOOL= ENABLE_TRACING .include <bsd.port.options.mk> # CMAKE_ARGS CMAKE_BUILD_TYPE is getting overriden .if ${PORT_OPTIONS:MDEBUG} -CMAKE_BUILD_TYPE=Debug -INSTALL_TARGET=install +CMAKE_BUILD_TYPE= Debug +INSTALL_TARGET= install .else -CMAKE_BUILD_TYPE=Release +CMAKE_BUILD_TYPE= Release .endif post-patch: -.for i in doc/*.1 python-ui/*.1 tools/*.1 tools/debugger/*.1 tools/hconsole/*.1 tools/hmsa/*.1 @${REINPLACE_CMD} -e \ 's|^/etc/hatari.cfg .*|${PREFIX}/etc/hatari.cfg| ; \ - s|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i} -.endfor + s|/usr/share|${PREFIX}/share|' \ + ${WRKSRC}/doc/*.1 \ + ${WRKSRC}/python-ui/*.1 \ + ${WRKSRC}/tools/*.1 \ + ${WRKSRC}/tools/debugger/*.1 \ + ${WRKSRC}/tools/hconsole/*.1 \ + ${WRKSRC}/tools/hmsa/*.1 @${REINPLACE_CMD} -e \ 's|-Wno-maybe-uninitialized||' ${WRKSRC}/src/cpu/CMakeLists.txt @${REINPLACE_CMD} -e \ @@ -68,12 +75,13 @@ post-patch: post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/python-ui/*.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/tools/*.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/tools/debugger/*.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/tools/hconsole/*.1 ${STAGEDIR}${PREFIX}/share/man/man1 - ${INSTALL_MAN} ${WRKSRC}/tools/hmsa/*.1 ${STAGEDIR}${PREFIX}/share/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/*.1 \ + ${WRKSRC}/python-ui/*.1 \ + ${WRKSRC}/tools/*.1 \ + ${WRKSRC}/tools/debugger/*.1 \ + ${WRKSRC}/tools/hconsole/*.1 \ + ${WRKSRC}/tools/hmsa/*.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} |