summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-02 00:22:20 +0000
committersnj <snj@pkgsrc.org>2004-05-02 00:22:20 +0000
commitb3990b97af04fd6aaa78d350ec8dff17d61bcf44 (patch)
tree6f768562463f48af251dbc92de39b52ff897e6bf /editors
parent1c890c11b8307ae82bc6f05ae9114672ce87eea7 (diff)
downloadpkgsrc-b3990b97af04fd6aaa78d350ec8dff17d61bcf44.tar.gz
Convert to buildlink3.
Diffstat (limited to 'editors')
-rw-r--r--editors/pico/buildlink2.mk19
-rw-r--r--editors/pico/buildlink3.mk18
2 files changed, 18 insertions, 19 deletions
diff --git a/editors/pico/buildlink2.mk b/editors/pico/buildlink2.mk
deleted file mode 100644
index 800872c079f..00000000000
--- a/editors/pico/buildlink2.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.4 2003/07/31 09:31:04 jklos Exp $
-
-.if !defined(PICO_BUILDLINK2_MK)
-PICO_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= pico
-BUILDLINK_DEPENDS.pico?= pico>=4.6
-BUILDLINK_PKGSRCDIR.pico?= ../../editors/pico
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.pico=pico
-BUILDLINK_PREFIX.pico_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pico+= include/pico/*
-BUILDLINK_FILES.pico+= lib/libpico.*
-
-BUILDLINK_TARGETS+= pico-buildlink
-
-pico-buildlink: _BUILDLINK_USE
-
-.endif # PICO_BUILDLINK2_MK
diff --git a/editors/pico/buildlink3.mk b/editors/pico/buildlink3.mk
new file mode 100644
index 00000000000..b26a5de8de2
--- /dev/null
+++ b/editors/pico/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/02 00:22:20 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PICO_BUILDLINK3_MK:= ${PICO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pico
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npico}
+BUILDLINK_PACKAGES+= pico
+
+.if !empty(PICO_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pico+= pico>=4.6
+BUILDLINK_PKGSRCDIR.pico?= ../../editors/pico
+.endif # PICO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}