summaryrefslogtreecommitdiff
path: root/textproc/chasen
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-05-05 00:28:50 +0000
committersnj <snj@pkgsrc.org>2004-05-05 00:28:50 +0000
commite42232833da6c262ad906a62894eb9f76f91e296 (patch)
tree5461b893bcaf741d0073017cd5827f83ed99c89b /textproc/chasen
parentb70890f6c3d6fedaec25e008aa4e638228625e33 (diff)
downloadpkgsrc-e42232833da6c262ad906a62894eb9f76f91e296.tar.gz
Convert to buildlink3.
Diffstat (limited to 'textproc/chasen')
-rw-r--r--textproc/chasen/buildlink2.mk20
-rw-r--r--textproc/chasen/buildlink3.mk20
2 files changed, 20 insertions, 20 deletions
diff --git a/textproc/chasen/buildlink2.mk b/textproc/chasen/buildlink2.mk
deleted file mode 100644
index d1eb463224e..00000000000
--- a/textproc/chasen/buildlink2.mk
+++ /dev/null
@@ -1,20 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:24 jlam Exp $
-
-.if !defined(CHASEN_BUILDLINK2_MK)
-CHASEN_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= chasen
-BUILDLINK_DEPENDS.chasen?= chasen>=2.0
-BUILDLINK_PKGSRCDIR.chasen?= ../../textproc/chasen
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.chasen=chasen
-BUILDLINK_PREFIX.chasen_DEFAULT= ${LOCALBASE}
-
-BUILDLINK_FILES.chasen= include/chasen.h
-BUILDLINK_FILES.chasen+= lib/libchasen.*
-
-BUILDLINK_TARGETS+= chasen-buildlink
-
-chasen-buildlink: _BUILDLINK_USE
-
-.endif # CHASEN_BUILDLINK2_MK
diff --git a/textproc/chasen/buildlink3.mk b/textproc/chasen/buildlink3.mk
new file mode 100644
index 00000000000..4dd29740836
--- /dev/null
+++ b/textproc/chasen/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 00:28:50 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CHASEN_BUILDLINK3_MK:= ${CHASEN_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= chasen
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nchasen}
+BUILDLINK_PACKAGES+= chasen
+
+.if !empty(CHASEN_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.chasen+= chasen>=2.0
+BUILDLINK_PKGSRCDIR.chasen?= ../../textproc/chasen
+BUILDLINK_FILES.chasen= include/chasen.h
+BUILDLINK_FILES.chasen+= lib/libchasen.*
+.endif # CHASEN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}