summaryrefslogtreecommitdiff
path: root/chat/zephyr
diff options
context:
space:
mode:
Diffstat (limited to 'chat/zephyr')
-rw-r--r--chat/zephyr/Makefile10
-rw-r--r--chat/zephyr/buildlink3.mk20
2 files changed, 25 insertions, 5 deletions
diff --git a/chat/zephyr/Makefile b/chat/zephyr/Makefile
index 9a7a194176d..4c99b8f5e70 100644
--- a/chat/zephyr/Makefile
+++ b/chat/zephyr/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/01/20 12:09:35 agc Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/25 00:38:49 wiz Exp $
#
DISTNAME= zephyr-20010518
@@ -11,7 +11,7 @@ HOMEPAGE= http://web.mit.edu/olh/Zephyr/index.html
COMMENT= Project Athena's original Instant Messaging system
WRKSRC= ${WRKDIR}/zephyr
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
USE_X11= YES
@@ -43,7 +43,7 @@ pre-install:
.endfor
.undef f
-.include "../../devel/readline/buildlink2.mk"
-.include "../../net/hesiod/buildlink2.mk"
-.include "../../net/libares/buildlink2.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../net/hesiod/buildlink3.mk"
+.include "../../net/libares/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/zephyr/buildlink3.mk b/chat/zephyr/buildlink3.mk
new file mode 100644
index 00000000000..e84050220f3
--- /dev/null
+++ b/chat/zephyr/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 00:38:49 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+ZEPHYR_BUILDLINK3_MK:= ${ZEPHYR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= zephyr
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nzephyr}
+BUILDLINK_PACKAGES+= zephyr
+
+.if !empty(ZEPHYR_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.zephyr+= zephyr>=20010518nb1
+BUILDLINK_PKGSRCDIR.zephyr?= ../../chat/zephyr
+.endif # ZEPHYR_BUILDLINK3_MK
+
+.include "../../devel/readline/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}