Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.9 2017/05/31 08:08:15 espie Exp $
  2. COMMENT = free multi-dimensional Tetris-like game
  3. DISTNAME = galois-0.4
  4. CATEGORIES = games x11
  5. REVISION = 1
  6. HOMEPAGE = http://www.nongnu.org/galois/
  7. # GPLv3+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  10. WANTLIB += Xrandr Xrender atk-1.0 atkmm-1.6 c cairo cairomm-1.0
  11. WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gdkmm-2.4
  12. WANTLIB += gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gobject-2.0 gtk-x11-2.0
  13. WANTLIB += gtkmm-2.4 m pango-1.0 pangocairo-1.0 pangoft2-1.0
  14. WANTLIB += pangomm-1.4 pthread sigc-2.0 xml++-2.6 xml2 z ${LIBECXX}
  15. MASTER_SITES = ${MASTER_SITE_SAVANNAH:=galois/source/}
  16. MODULES = devel/gettext
  17. # c++11
  18. COMPILER = gcc
  19. LIB_DEPENDS = textproc/libxml++>=2.40.0 \
  20. x11/gtk2mm
  21. RUN_DEPENDS = devel/desktop-file-utils
  22. CONFIGURE_STYLE = gnu
  23. MAKE_FILE = makefile
  24. ALL_TARGET = default
  25. MAKE_FLAGS = CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -std=c++11"
  26. NO_TEST = Yes
  27. do-install:
  28. ${INSTALL_PROGRAM} ${WRKSRC}/src/galois ${PREFIX}/bin
  29. ${INSTALL_MAN} ${WRKSRC}/doc/galois.6 ${PREFIX}/man/man6
  30. ${INSTALL_DATA_DIR} ${PREFIX}/share/applications
  31. ${INSTALL_DATA} ${WRKSRC}/misc/galois.desktop ${PREFIX}/share/applications
  32. ${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
  33. ${INSTALL_DATA} ${WRKSRC}/misc/galois.png ${PREFIX}/share/pixmaps
  34. .include <bsd.port.mk>