Makefile 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # $OpenBSD: Makefile,v 1.20 2017/06/01 11:44:00 ajacoutot Exp $
  2. COMMENT= graph based image processing framework (API version 0.3)
  3. V= 0.3.18
  4. DISTNAME= gegl-${V}
  5. PKGNAME= gegl03-${V}
  6. EXTRACT_SUFX= .tar.bz2
  7. SHARED_LIBS += gegl-0.3 0.3 # 318.0
  8. API_VERSION= 0.3
  9. SUBST_VARS= API_VERSION
  10. CATEGORIES= graphics devel
  11. HOMEPAGE= http://gegl.org/
  12. # GPLv3/LGPLv3
  13. PERMIT_PACKAGE_CDROM= Yes
  14. WANTLIB += X11 Xext Xrender babl-0.1 cairo croco-0.6 expat ffi
  15. WANTLIB += fontconfig freetype gdk_pixbuf-2.0 gio-2.0 glib-2.0
  16. WANTLIB += gmodule-2.0 gobject-2.0 graphite2 gthread-2.0 harfbuzz
  17. WANTLIB += iconv intl jasper jpeg json-glib-1.0 lcms2 lzma m pango-1.0
  18. WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread
  19. WANTLIB += pthread-stubs raw rsvg-2 ${LIBCXX} tiff webp xcb xcb-render
  20. WANTLIB += xcb-shm xml2 z
  21. MASTER_SITES= http://download.gimp.org/pub/gegl/${API_VERSION}/
  22. MODULES= textproc/intltool \
  23. x11/gnome
  24. MODGNOME_TOOLS= vala gobject-introspection
  25. USE_GMAKE= Yes
  26. BUILD_DEPENDS= graphics/libgexiv2
  27. LIB_DEPENDS= devel/json-glib \
  28. graphics/babl \
  29. graphics/lcms2 \
  30. graphics/libraw \
  31. graphics/libwebp \
  32. x11/gnome/librsvg
  33. CONFIGURE_STYLE= gnu
  34. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  35. LDFLAGS="-L${LOCALBASE}/lib" \
  36. ac_cv_header_execinfo_h="no" \
  37. ac_cv_path_ASCIIDOC="no" \
  38. ac_cv_path_W3M="no" \
  39. ac_cv_path_ENSCRIPT="no" \
  40. ac_cv_prog_RUBY="" \
  41. ac_cv_path_DOT="no"
  42. CONFIGURE_ARGS= --without-lensfun \
  43. --without-openexr \
  44. --without-sdl \
  45. --without-graphviz \
  46. --without-libavformat \
  47. --without-libv4l \
  48. --without-libspiro \
  49. --without-umfpack \
  50. --without-lua
  51. # does fishy things (git(1), grabbing the X display...)
  52. CONFIGURE_ARGS += --disable-docs
  53. # be safe until proven stable
  54. CONFIGURE_ARGS += --enable-mmx \
  55. --disable-sse
  56. post-install:
  57. rm ${PREFIX}/lib/gegl-${API_VERSION}/*.{a,la}
  58. # fix conflict with graphics/gegl; we currently only care about the libraries
  59. rm -rf ${PREFIX}/bin/
  60. .include <bsd.port.mk>