Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.23 2016/05/06 21:39:03 sthen Exp $
  2. COMMENT= ZBar barcode reader
  3. DISTNAME= zbar-0.10
  4. REVISION= 15
  5. SHARED_LIBS= zbar 0.0 \
  6. zbargtk 0.0
  7. CATEGORIES= graphics
  8. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zbar/}
  9. EXTRACT_SUFX= .tar.bz2
  10. HOMEPAGE= http://zbar.sourceforge.net/
  11. MAINTAINER= Jonathan Gray <jsg@openbsd.org>
  12. # LGPL 2.1
  13. PERMIT_PACKAGE_CDROM= Yes
  14. WANTLIB += ICE MagickCore-6.Q16 MagickWand-6.Q16 SM X11 Xcomposite
  15. WANTLIB += Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender
  16. WANTLIB += Xt Xv atk-1.0 bz2 c cairo djvulibre expat ffi fftw3
  17. WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
  18. WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
  19. WANTLIB += gtk-x11-2.0 harfbuzz jbig jpeg lcms2 lzma m openjp2
  20. WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
  21. WANTLIB += png pthread pthread-stubs tiff webp xcb xcb-render
  22. WANTLIB += xcb-shm xml2 z
  23. MODULES= devel/gettext \
  24. lang/python
  25. LIB_DEPENDS= graphics/ImageMagick \
  26. devel/libffi \
  27. x11/gtk+2
  28. BUILD_DEPENDS= ${RUN_DEPENDS}
  29. RUN_DEPENDS= x11/py-gtk2
  30. USE_GROFF = Yes
  31. CONFIGURE_STYLE= gnu
  32. CONFIGURE_ARGS+= --disable-video --without-qt
  33. USE_GMAKE= Yes
  34. .include <bsd.port.mk>