summaryrefslogtreecommitdiff
path: root/misc/dialog/buildlink3.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-10-08 09:34:00 +0000
committerwiz <wiz@pkgsrc.org>2008-10-08 09:34:00 +0000
commite2b4da40eb0406bbd69644f550583c5af40d6ed0 (patch)
tree06188fe9d2a83b19ebb45b81de14e96f6a04a930 /misc/dialog/buildlink3.mk
parentba1976e33bad8789aad8b324e8fe0dd74b3d77a5 (diff)
downloadpkgsrc-e2b4da40eb0406bbd69644f550583c5af40d6ed0.tar.gz
Install libdialog, header files, and dialog-config.
Add buildlink3.mk file. Bump PKGREVISION.
Diffstat (limited to 'misc/dialog/buildlink3.mk')
-rw-r--r--misc/dialog/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/dialog/buildlink3.mk b/misc/dialog/buildlink3.mk
new file mode 100644
index 00000000000..213c2986e7d
--- /dev/null
+++ b/misc/dialog/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2008/10/08 09:34:00 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DIALOG_BUILDLINK3_MK:= ${DIALOG_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= dialog
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndialog}
+BUILDLINK_PACKAGES+= dialog
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dialog
+
+.if ${DIALOG_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.dialog+= dialog>=1.1.20080819nb1
+BUILDLINK_PKGSRCDIR.dialog?= ../../misc/dialog
+.endif # DIALOG_BUILDLINK3_MK
+
+.include "../../devel/ncurses/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}