Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # $OpenBSD: Makefile,v 1.22 2017/04/10 11:45:24 sthen Exp $
  2. COMMENT = suite of tools for electronic design automation
  3. DISTNAME = geda-gaf-1.6.0
  4. CATEGORIES = cad
  5. HOMEPAGE = http://geda.seul.org
  6. MAINTAINER = Edd Barrett <edd@openbsd.org>
  7. REVISION = 9
  8. SHARED_LIBS = geda 0.0 # 38.0
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM = Yes
  11. WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi
  12. WANTLIB += Xinerama Xrandr Xrender Xxf86vm atk-1.0 c cairo drm expat ffi
  13. WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
  14. WANTLIB += glib-2.0 gmodule-2.0 gmp gobject-2.0 graphite2 gthread-2.0
  15. WANTLIB += gtk-x11-2.0 guile harfbuzz ltdl m pango-1.0 pangocairo-1.0
  16. WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs ${LIBCXX}
  17. WANTLIB += xcb xcb-render xcb-shm z
  18. MASTER_SITES = http://geda.seul.org/release/v1.6/1.6.0/
  19. MODULES = devel/gettext
  20. LIB_DEPENDS = devel/glib2 \
  21. x11/gtk+2 \
  22. lang/guile \
  23. devel/gmp
  24. # these are checked by configure
  25. BUILD_DEPENDS = misc/shared-mime-info \
  26. devel/desktop-file-utils
  27. RUN_DEPENDS = misc/shared-mime-info \
  28. devel/desktop-file-utils \
  29. x11/gtk+3,-guic
  30. USE_GMAKE = Yes
  31. CONFIGURE_STYLE = gnu
  32. CONFIGURE_ARGS = --disable-update-xdg-database
  33. MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-tools
  34. # This confuses update-patches.
  35. post-extract:
  36. rm ${WRKSRC}/gnetlist/examples/vams/gschemrc.orig
  37. # MAKE_ENV hoses the regression test, so we do this manually
  38. do-test:
  39. cd ${WRKSRC} && ${MAKE_PROGRAM} ${ALL_TEST_FLAGS} \
  40. -f ${MAKE_FILE} ${TEST_TARGET} ${TEST_LOG}
  41. .include <bsd.port.mk>