Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.7 2017/05/17 13:53:49 espie Exp $
  2. COMMENT = game of life simulator
  3. PKGNAME = golly-2.7
  4. REVISION = 0
  5. DISTNAME = ${PKGNAME}-src
  6. WRKSRC = ${WRKDIST}/gui-wx/configure
  7. CATEGORIES = games math
  8. MAINTAINER = Donovan Watteau <tsoomi@gmail.com>
  9. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=golly/}
  10. HOMEPAGE = http://golly.sourceforge.net/
  11. # GPLv2+
  12. PERMIT_PACKAGE_CDROM = Yes
  13. MODULES = lang/python
  14. LIB_DEPENDS = x11/wxWidgets
  15. RUN_DEPENDS = devel/desktop-file-utils
  16. # Note: perl and python are loaded with wxDynamicLibrary.Load(), and
  17. # python needs libutil to prevent undefined openpty and forkpty symbols.
  18. WANTLIB += c m perl pthread ${LIBCXX} util wx_base wx_base_net wx_gtk2_adv
  19. WANTLIB += wx_gtk2_core wx_gtk2_html wx_gtk2_richtext z ${MODPY_WANTLIB}
  20. CONFIGURE_STYLE = gnu
  21. CONFIGURE_ARGS = --enable-unicode
  22. SEPARATE_BUILD = Yes
  23. FAKE_FLAGS = dist_doc_DATA="" \
  24. docdir=""
  25. NO_TEST = Yes
  26. post-install:
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
  28. ${INSTALL_DATA} ${WRKSRC}/../icons/appicon.xpm \
  29. ${PREFIX}/share/pixmaps/golly.xpm
  30. ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
  31. ${INSTALL_DATA} ${FILESDIR}/golly.desktop \
  32. ${PREFIX}/share/applications
  33. .include <bsd.port.mk>