summaryrefslogtreecommitdiff
path: root/converters/qrencode
diff options
context:
space:
mode:
Diffstat (limited to 'converters/qrencode')
-rw-r--r--converters/qrencode/DESCR4
-rw-r--r--converters/qrencode/Makefile24
-rw-r--r--converters/qrencode/PLIST6
-rw-r--r--converters/qrencode/buildlink3.mk19
-rw-r--r--converters/qrencode/distinfo5
5 files changed, 58 insertions, 0 deletions
diff --git a/converters/qrencode/DESCR b/converters/qrencode/DESCR
new file mode 100644
index 00000000000..1dd23718649
--- /dev/null
+++ b/converters/qrencode/DESCR
@@ -0,0 +1,4 @@
+Libqrencode is a C library for encoding data in a QR Code symbol, a kind of
+2D symbology that can be scanned by handy terminals such as a mobile phone
+with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters,
+and is highly robust.
diff --git a/converters/qrencode/Makefile b/converters/qrencode/Makefile
new file mode 100644
index 00000000000..0bf428b71ef
--- /dev/null
+++ b/converters/qrencode/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2008/06/15 10:33:38 gavan Exp $
+#
+
+DISTNAME= qrencode-3.0.3
+CATEGORIES= converters
+MASTER_SITES= http://megaui.net/fukuchi/works/qrencode/
+
+MAINTAINER= alaric@kitten-technologies.co.uk
+HOMEPAGE= http://megaui.net/fukuchi/works/qrencode/index.en.html
+COMMENT= QR Code generator
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES+= c c++
+USE_LIBTOOL= yes
+
+# The tests are not actually installed anyway, and at least
+# one of these tests requires SDL.
+CONFIGURE_ARGS+= --without-tests
+
+PKGCONFIG_OVERRIDE+= libqrencode.pc.in
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/qrencode/PLIST b/converters/qrencode/PLIST
new file mode 100644
index 00000000000..1819b08720c
--- /dev/null
+++ b/converters/qrencode/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2008/06/15 10:33:38 gavan Exp $
+bin/qrencode
+include/qrencode.h
+lib/libqrencode.la
+lib/pkgconfig/libqrencode.pc
+man/man1/qrencode.1
diff --git a/converters/qrencode/buildlink3.mk b/converters/qrencode/buildlink3.mk
new file mode 100644
index 00000000000..771707e8f20
--- /dev/null
+++ b/converters/qrencode/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/06/15 10:33:38 gavan Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+QRENCODE_BUILDLINK3_MK:= ${QRENCODE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= qrencode
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqrencode}
+BUILDLINK_PACKAGES+= qrencode
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qrencode
+
+.if ${QRENCODE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.qrencode+= qrencode>=3.0.3
+BUILDLINK_PKGSRCDIR.qrencode?= ../../converters/qrencode
+.endif # QRENCODE_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/converters/qrencode/distinfo b/converters/qrencode/distinfo
new file mode 100644
index 00000000000..0fde84c9376
--- /dev/null
+++ b/converters/qrencode/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2008/06/15 10:33:38 gavan Exp $
+
+SHA1 (qrencode-3.0.3.tar.gz) = 818924a8b648ddee3cd2df556455a3d468ab87c5
+RMD160 (qrencode-3.0.3.tar.gz) = 7e94883cdc8434e1511eef319af01d9733e8960a
+Size (qrencode-3.0.3.tar.gz) = 399547 bytes