Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.42 2017/05/05 13:19:24 espie Exp $
  2. COMMENT= read and manipulate raw images from digital cameras
  3. DISTNAME= ufraw-0.22
  4. REVISION = 0
  5. CATEGORIES= graphics
  6. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufraw/}
  7. HOMEPAGE= http://ufraw.sourceforge.net/
  8. MAINTAINER= Stuart Henderson <sthen@openbsd.org>
  9. # GPLv2+
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
  12. WANTLIB += Xrandr Xrender atk-1.0 bz2 c cairo cfitsio exiv2
  13. WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gimp-2.0
  14. WANTLIB += gimpbase-2.0 gimpcolor-2.0 gimpconfig-2.0 gimpmath-2.0
  15. WANTLIB += gimpmodule-2.0 gimpui-2.0 gimpwidgets-2.0 gio-2.0 glib-2.0
  16. WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 gtkimageview jasper
  17. WANTLIB += jpeg lcms2 m pango-1.0 pangocairo-1.0 pangoft2-1.0
  18. WANTLIB += png pthread ${LIBCXX} tiff z
  19. # don't remove unless you are sure:
  20. WANTLIB += lensfun
  21. LIB_DEPENDS= gimp->=2,<3:graphics/gimp/stable \
  22. graphics/lcms2 \
  23. archivers/bzip2 \
  24. graphics/exiv2 \
  25. math/cfitsio \
  26. graphics/gtkimageview \
  27. graphics/lensfun
  28. MODULES= devel/gettext
  29. USE_GMAKE= Yes
  30. CONFIGURE_STYLE=gnu
  31. CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
  32. LDFLAGS="-L${LOCALBASE}/lib -pthread" \
  33. CFITSIO_CFLAGS="-I${LOCALBASE}/include" \
  34. CFITSIO_LIBS="-lcfitsio"
  35. CONFIGURE_ARGS= --enable-extras
  36. .include <bsd.port.mk>