pkgsrc/emulators/hatari/Makefile
2021-09-08 21:04:53 +00:00

49 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.61 2021/09/08 21:05:00 nia Exp $
DISTNAME= hatari-2.3.1
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= https://download.tuxfamily.org/hatari/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://hatari.tuxfamily.org/
COMMENT= Atari ST emulator
LICENSE= gnu-gpl-v2
USE_CMAKE= yes
USE_LANGUAGES= c99
CMAKE_ARGS+= -DENABLE_OSX_BUNDLE=OFF
CMAKE_ARGS+= -DMANDIR=${PKGMANDIR}/man1
REPLACE_PYTHON+= python-ui/config.py
REPLACE_PYTHON+= python-ui/debugui.py
REPLACE_PYTHON+= python-ui/dialogs.py
REPLACE_PYTHON+= python-ui/gentypes.py
REPLACE_PYTHON+= python-ui/hatari.py
REPLACE_PYTHON+= python-ui/hatariui.py
REPLACE_PYTHON+= python-ui/uihelpers.py
REPLACE_PYTHON+= tests/tosboot/tos_tester.py
REPLACE_PYTHON+= tools/atari-convert-dir.py
REPLACE_PYTHON+= tools/debugger/hatari_profile.py
REPLACE_PYTHON+= tools/debugger/hatari_spinloop.py
REPLACE_PYTHON+= tools/hconsole/example.py
REPLACE_PYTHON+= tools/hconsole/hconsole.py
INSTALLATION_DIRS+= share/doc/hatari
.include "../../mk/bsd.prefs.mk"
.include "../../audio/portaudio/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.if ${OPSYS} != "Darwin"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.endif
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"