From ae152d91d5261e39017683780f7d23929cbdeb66 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 22 Feb 2004 16:48:11 +0000 Subject: bl3ify --- net/netatalk/Makefile | 8 ++++---- net/netatalk/buildlink3.mk | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 net/netatalk/buildlink3.mk (limited to 'net/netatalk') diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index 00c00a945ff..7516b34c275 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2004/02/14 17:21:46 jlam Exp $ +# $NetBSD: Makefile,v 1.30 2004/02/22 16:51:23 minskim Exp $ DISTNAME= netatalk-1.6.2 CATEGORIES= net print @@ -10,7 +10,7 @@ HOMEPAGE= http://sourceforge.net/projects/netatalk/ COMMENT= Netatalk appletalk file and print services GNU_CONFIGURE= YES -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_GNU_TOOLS+= make USE_PERL5= YES USE_LIBTOOL= YES @@ -52,7 +52,7 @@ pre-install: ${PREFIX}/share/examples/netatalk/ .endfor -#.include "../../databases/db3/buildlink2.mk" -.include "../../devel/rx/buildlink2.mk" +#.include "../../databases/db3/buildlink3.mk" +.include "../../devel/rx/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/netatalk/buildlink3.mk b/net/netatalk/buildlink3.mk new file mode 100644 index 00000000000..ad2b8f21d15 --- /dev/null +++ b/net/netatalk/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/22 16:51:23 minskim Exp $ +# +# This Makefile fragment is included by packages that use netatalk. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +NETATALK_BUILDLINK3_MK:= ${NETATALK_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= netatalk +.endif + +.if !empty(NETATALK_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= netatalk +BUILDLINK_DEPENDS.netatalk+= netatalk>=1.6.2 +BUILDLINK_PKGSRCDIR.netatalk?= ../../net/netatalk + +.include "../../devel/rx/buildlink3.mk" + +.endif # NETATALK_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3