Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # $OpenBSD: Makefile,v 1.4 2016/12/02 13:08:21 jca Exp $
  2. ONLY_FOR_ARCHS = i386 amd64 powerpc arm
  3. COMMENT = Atari ST/STE/TT/Falcon emulator
  4. V = 2.0.0
  5. DISTNAME = hatari-${V}
  6. EXTRACT_SUFX = .tar.bz2
  7. CATEGORIES = emulators
  8. HOMEPAGE = http://hatari.tuxfamily.org/
  9. MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
  10. # GPLv2+
  11. PERMIT_PACKAGE_CDROM = Yes
  12. WANTLIB += ICE SDL2 SM X11 Xext c m png pthread readline termcap z
  13. MASTER_SITES = http://download.tuxfamily.org/hatari/$V/
  14. RUN_DEPENDS = devel/desktop-file-utils \
  15. misc/shared-mime-info \
  16. sysutils/mtools \
  17. x11/gtk+3,-guic
  18. LIB_DEPENDS = devel/sdl2 \
  19. graphics/png
  20. MODULES = devel/cmake \
  21. lang/python
  22. MODPY_ADJ_FILES = tools/debugger/*.py \
  23. tools/hconsole/*.py \
  24. tools/*.py
  25. CONFIGURE_ARGS = -DMANDIR=${PREFIX}/man/man1
  26. NO_TEST = Yes
  27. pre-configure:
  28. @sed -i 's,/usr/share,${PREFIX}/share,' \
  29. ${WRKSRC}/tools/hconsole/hconsole.1
  30. post-install:
  31. ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
  32. ${PREFIX}/share/hatari/hconsole/*.py
  33. gunzip ${PREFIX}/man/man1/*.1.gz
  34. .include <bsd.port.mk>