summaryrefslogtreecommitdiff
path: root/print/libpaper/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'print/libpaper/buildlink3.mk')
-rw-r--r--print/libpaper/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/print/libpaper/buildlink3.mk b/print/libpaper/buildlink3.mk
new file mode 100644
index 00000000000..c756d28f2fd
--- /dev/null
+++ b/print/libpaper/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/09/04 20:10:12 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBPAPER_BUILDLINK3_MK:= ${LIBPAPER_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libpaper
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpaper}
+BUILDLINK_PACKAGES+= libpaper
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libpaper
+
+.if ${LIBPAPER_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libpaper+= libpaper>=1.1.22
+BUILDLINK_PKGSRCDIR.libpaper?= ../../print/libpaper
+.endif # LIBPAPER_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}