summaryrefslogtreecommitdiff
path: root/chat/libirc
diff options
context:
space:
mode:
authorsnj <snj>2004-04-11 05:48:49 +0000
committersnj <snj>2004-04-11 05:48:49 +0000
commit3fd1237182740bbe9f30dcfe441894450a05431b (patch)
tree8455a58257cdc35677f8f8aa43f3fca9e2e214c4 /chat/libirc
parent8bb8891d5b0a52d458cfe4452811273670b7d42b (diff)
downloadpkgsrc-3fd1237182740bbe9f30dcfe441894450a05431b.tar.gz
Convert to buildlink3.
Diffstat (limited to 'chat/libirc')
-rw-r--r--chat/libirc/Makefile8
-rw-r--r--chat/libirc/buildlink3.mk20
2 files changed, 24 insertions, 4 deletions
diff --git a/chat/libirc/Makefile b/chat/libirc/Makefile
index 097f52d615a..3dc0f30f853 100644
--- a/chat/libirc/Makefile
+++ b/chat/libirc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/02/14 17:21:34 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2004/04/11 05:55:45 snj Exp $
#
DISTNAME= libirc-0.2
@@ -8,11 +8,11 @@ MASTER_SITES= http://www.cs.kau.se/~jorgen/software/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cs.kau.se/~jorgen/software/
-COMMENT= libirc is a C-library for the IRC protocol
+COMMENT= C library for the IRC protocol
GNU_CONFIGURE= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_LIBTOOL= yes
-.include "../../devel/glib/buildlink2.mk"
+.include "../../devel/glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/libirc/buildlink3.mk b/chat/libirc/buildlink3.mk
new file mode 100644
index 00000000000..87dd71c9be7
--- /dev/null
+++ b/chat/libirc/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 05:55:45 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBIRC_BUILDLINK3_MK:= ${LIBIRC_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libirc
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibirc}
+BUILDLINK_PACKAGES+= libirc
+
+.if !empty(LIBIRC_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libirc+= libirc>=0.2nb1
+BUILDLINK_PKGSRCDIR.libirc?= ../../chat/libirc
+.endif # LIBIRC_BUILDLINK3_MK
+
+.include "../../devel/glib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}