Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # $OpenBSD: Makefile,v 1.18 2017/05/31 08:08:15 espie Exp $
  2. # XXX check if still needed at next update
  3. CXXFLAGS += -std=c++11 -fpermissive
  4. COMMENT = emulator for Nintendo Game Boy (Color/Advance)
  5. BROKEN-alpha = ICE or OOM on hq_implementation.cpp
  6. BROKEN-hppa = ICE or OOM on src/filters/hq/c/hq_base.h:421
  7. DISTNAME = vbam-1.8.0.1054-src
  8. PKGNAME = ${DISTNAME:S/-src//}
  9. REVISION = 9
  10. CATEGORIES = emulators
  11. HOMEPAGE = http://www.vba-m.com
  12. # GPLv2+ (see doc/License.txt)
  13. PERMIT_PACKAGE_CDROM = Yes
  14. WANTLIB += GL GLU ICE SDL SM X11 Xcomposite Xcursor Xdamage Xext
  15. WANTLIB += Xfixes Xi Xinerama Xmu Xrandr Xrender Xt atk-1.0 atkmm-1.6
  16. WANTLIB += c cairo cairomm-1.0 fontconfig freetype gdk-x11-2.0
  17. WANTLIB += gdk_pixbuf-2.0 gdkglext-x11-1.0 gdkglextmm-x11-1.2
  18. WANTLIB += gdkmm-2.4 gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gmodule-2.0
  19. WANTLIB += gobject-2.0 gtk-x11-2.0 gtkglext-x11-1.0 gtkglextmm-x11-1.2
  20. WANTLIB += gtkmm-2.4 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pangomm-1.4
  21. WANTLIB += pangox-1.0 png pthread sigc-2.0 z
  22. MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=vbam/}
  23. MODULES = devel/cmake \
  24. devel/gettext
  25. # c++11
  26. COMPILER = gcc
  27. RUN_DEPENDS = devel/desktop-file-utils \
  28. x11/gtk+3,-guic
  29. LIB_DEPENDS = devel/sdl \
  30. x11/gtkglextmm
  31. NO_TEST = Yes
  32. WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//}
  33. # requires posix_openpt
  34. CONFIGURE_ARGS += -DENABLE_WX=OFF -DENABLE_FFMPEG=OFF
  35. CXXFLAGS += -Wno-c++11-narrowing
  36. pre-fake:
  37. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vbam
  38. .include <bsd.port.mk>