summaryrefslogtreecommitdiff
path: root/graphics/zbar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/zbar/Makefile')
-rw-r--r--graphics/zbar/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/graphics/zbar/Makefile b/graphics/zbar/Makefile
new file mode 100644
index 00000000000..cff7d0af630
--- /dev/null
+++ b/graphics/zbar/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2019/12/04 11:17:32 leot Exp $
+
+DISTNAME= zbar-0.23
+CATEGORIES= graphics
+MASTER_SITES= https://linuxtv.org/downloads/zbar/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= leot@NetBSD.org
+HOMEPAGE= https://github.com/mchehab/zbar
+COMMENT= Bar code reader
+LICENSE= gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+CONFIGURE_ARGS+= --with-jpeg
+CONFIGURE_ARGS+= --disable-video
+CONFIGURE_ARGS+= --without-gtk
+CONFIGURE_ARGS+= --without-python
+CONFIGURE_ARGS+= --without-java
+CONFIGURE_ARGS+= --without-qt
+
+PKGCONFIG_OVERRIDE+= zbar-gtk.pc.in
+PKGCONFIG_OVERRIDE+= zbar-qt.pc.in
+PKGCONFIG_OVERRIDE+= zbar.pc.in
+
+.include "options.mk"
+
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"