summaryrefslogtreecommitdiff
path: root/sysutils/medusa
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-12 04:48:39 +0000
committersnj <snj@pkgsrc.org>2004-04-12 04:48:39 +0000
commit47a61209177f044b995bab719fec81025d2a0ce2 (patch)
tree155b5ec4fd274d5f5c6f91ed7c541ce7b15629af /sysutils/medusa
parentc54e1047f3dd4fdd49127fbd3f34789272e2e98e (diff)
downloadpkgsrc-47a61209177f044b995bab719fec81025d2a0ce2.tar.gz
Convert to buildlink3.
Diffstat (limited to 'sysutils/medusa')
-rw-r--r--sysutils/medusa/Makefile6
-rw-r--r--sysutils/medusa/buildlink2.mk28
-rw-r--r--sysutils/medusa/buildlink3.mk20
3 files changed, 23 insertions, 31 deletions
diff --git a/sysutils/medusa/Makefile b/sysutils/medusa/Makefile
index 30673aedc84..c74fb2d51a5 100644
--- a/sysutils/medusa/Makefile
+++ b/sysutils/medusa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/01/03 18:49:53 reed Exp $
+# $NetBSD: Makefile,v 1.15 2004/04/12 04:48:39 snj Exp $
#
DISTNAME= medusa-0.5.1
@@ -13,12 +13,12 @@ COMMENT= File system indexing engine
DEPENDS+= psmisc-[0-9]*:../../sysutils/psmisc
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_X11= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-.include "../../sysutils/gnome-vfs/buildlink2.mk"
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/medusa/buildlink2.mk b/sysutils/medusa/buildlink2.mk
deleted file mode 100644
index f58f52c8681..00000000000
--- a/sysutils/medusa/buildlink2.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.5 2004/01/03 18:49:53 reed Exp $
-#
-# This Makefile fragment is included by packages that use medusa.
-#
-# This file was created automatically using createbuildlink 2.4.
-#
-
-.if !defined(MEDUSA_BUILDLINK2_MK)
-MEDUSA_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= medusa
-BUILDLINK_DEPENDS.medusa?= medusa>=0.5.1nb5
-BUILDLINK_PKGSRCDIR.medusa?= ../../sysutils/medusa
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.medusa=medusa
-BUILDLINK_PREFIX.medusa_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.medusa+= include/libmedusa/*
-BUILDLINK_FILES.medusa+= lib/libmedusa-index.*
-BUILDLINK_FILES.medusa+= lib/libmedusa.*
-BUILDLINK_FILES.medusa+= lib/vfs/modules/libvfs-search.* # XXX ???
-
-.include "../../sysutils/gnome-vfs/buildlink2.mk"
-
-BUILDLINK_TARGETS+= medusa-buildlink
-
-medusa-buildlink: _BUILDLINK_USE
-
-.endif # MEDUSA_BUILDLINK2_MK
diff --git a/sysutils/medusa/buildlink3.mk b/sysutils/medusa/buildlink3.mk
new file mode 100644
index 00000000000..ce255bb131c
--- /dev/null
+++ b/sysutils/medusa/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 04:48:39 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+MEDUSA_BUILDLINK3_MK:= ${MEDUSA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= medusa
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmedusa}
+BUILDLINK_PACKAGES+= medusa
+
+.if !empty(MEDUSA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.medusa+= medusa>=0.5.1nb5
+BUILDLINK_PKGSRCDIR.medusa?= ../../sysutils/medusa
+.endif # MEDUSA_BUILDLINK3_MK
+
+.include "../../sysutils/gnome-vfs/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}