summaryrefslogtreecommitdiff
path: root/converters/qrencode/buildlink3.mk
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/qrencode/buildlink3.mk
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/qrencode/buildlink3.mk')
-rw-r--r--converters/qrencode/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
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/+$//}