Makefile 822 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.1.1.1 2017/06/13 09:24:23 kirby Exp $
  2. COMMENT = Jagged Alliance 2 engine
  3. GH_ACCOUNT = ja2-stracciatella
  4. GH_PROJECT = ja2-stracciatella
  5. GH_TAGNAME = v0.15.1
  6. CATEGORIES = games
  7. HOMEPAGE = http://ja2-stracciatella.github.io/
  8. MAINTAINER = Nils Reusse <n.reusse@hxgn.net>
  9. # SFI-SCLA / public domain
  10. PERMIT_PACKAGE_CDROM = No commercial use allowed by SFI-SCLA
  11. PERMIT_PACKAGE_FTP = Yes
  12. WANTLIB += boost_filesystem boost_system c m pthread SDL ${LIBCXX}
  13. LIB_DEPENDS = devel/sdl \
  14. devel/boost
  15. RUN_DEPENDS = x11/gtk+3,-guic \
  16. devel/desktop-file-utils
  17. USE_GMAKE = Yes
  18. MAKE_FLAGS = Q= WITH_UNITTESTS=0 WITH_DEBUGINFO=1 \
  19. CXX=c++
  20. NO_TEST = Yes
  21. # strip BOM, gcc 4.2.1 doesn't understand it
  22. post-extract:
  23. perl -pi -e 's,\xef\xbb\xbf,,' ${WRKSRC}/Build/Utils/_*Text.cc
  24. .include <bsd.port.mk>