summaryrefslogtreecommitdiff
path: root/print/libpaper/buildlink3.mk
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-09-04 20:10:12 +0000
committerdrochner <drochner@pkgsrc.org>2007-09-04 20:10:12 +0000
commit0df3df3af0b308efdfad4e6467d5113747aaba58 (patch)
treed2d1248e855875311b3dd4ee6d010235a31b2351 /print/libpaper/buildlink3.mk
parent95244d507d779a90d016596dadb1945da9b8c962 (diff)
downloadpkgsrc-0df3df3af0b308efdfad4e6467d5113747aaba58.tar.gz
import the Debian libpaper-1.1.22, a library to supply information about
paper sizes
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/+$//}