summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2008-06-15 10:33:38 +0000
committergavan <gavan@pkgsrc.org>2008-06-15 10:33:38 +0000
commit5c0861f5aecc1ecbe176fc2611efd1e4f68a54b9 (patch)
tree4edbe94330b8532604976af2de1331910d7ca627 /converters
parent02d4578ebd5f7290c39b70190d409f21b171fcf3 (diff)
downloadpkgsrc-5c0861f5aecc1ecbe176fc2611efd1e4f68a54b9.tar.gz
New package: qrencode 3.0.3
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. This package installs a library and a command line tool. Package from Alaric Snell-Pym, with some improvements by me.
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile3
-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
6 files changed, 60 insertions, 1 deletions
diff --git a/converters/Makefile b/converters/Makefile
index b3e1219e307..698fb9766c9 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2008/06/11 14:18:15 taca Exp $
+# $NetBSD: Makefile,v 1.95 2008/06/15 10:33:38 gavan Exp $
#
COMMENT= Document format and character code converters
@@ -57,6 +57,7 @@ SUBDIR+= py-cjkcodecs
SUBDIR+= py-jpCodecs
SUBDIR+= py-zhCodecs
SUBDIR+= qkc
+SUBDIR+= qrencode
SUBDIR+= recode
SUBDIR+= rpm2cpio
SUBDIR+= rss2html
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