summaryrefslogtreecommitdiff
path: root/print/poppler-qt4/buildlink3.mk
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-12-12 01:29:22 +0000
committermarkd <markd@pkgsrc.org>2007-12-12 01:29:22 +0000
commitd11072b8e98ff15f7265a8925881b131e2a23112 (patch)
treea731b9823f5ea3bd2bff1ee7a720529c2389e668 /print/poppler-qt4/buildlink3.mk
parent7973e17a57a3b31356a44d8f04f40525fd95723c (diff)
downloadpkgsrc-d11072b8e98ff15f7265a8925881b131e2a23112.tar.gz
Initial import of QT4 support library for poppler.
Diffstat (limited to 'print/poppler-qt4/buildlink3.mk')
-rw-r--r--print/poppler-qt4/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/print/poppler-qt4/buildlink3.mk b/print/poppler-qt4/buildlink3.mk
new file mode 100644
index 00000000000..825de32eea8
--- /dev/null
+++ b/print/poppler-qt4/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/12/12 01:29:22 markd Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+POPPLER_QT4_BUILDLINK3_MK:= ${POPPLER_QT4_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= poppler-qt4
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler-qt4}
+BUILDLINK_PACKAGES+= poppler-qt4
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}poppler-qt4
+
+.if ${POPPLER_QT4_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.poppler-qt4+= poppler-qt4>=0.6.1
+BUILDLINK_PKGSRCDIR.poppler-qt4?= ../../print/poppler-qt4
+.endif # POPPLER_QT4_BUILDLINK3_MK
+
+.include "../../print/poppler/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}