From c13f54b0e4b4e1c0261fdf84ea89d40bc23e2804 Mon Sep 17 00:00:00 2001 From: manu Date: Tue, 9 Nov 2004 22:40:32 +0000 Subject: Add buildlink to libradius --- net/libradius/Makefile | 5 +++-- net/libradius/buildlink3.mk | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 net/libradius/buildlink3.mk (limited to 'net/libradius') diff --git a/net/libradius/Makefile b/net/libradius/Makefile index e317dd2b347..d7ca2e3a131 100644 --- a/net/libradius/Makefile +++ b/net/libradius/Makefile @@ -1,11 +1,12 @@ -# $NetBSD: Makefile,v 1.1.1.1 2004/10/20 22:45:30 manu Exp $ +# $NetBSD: Makefile,v 1.2 2004/11/09 22:40:32 manu Exp $ # DISTNAME= libradius-linux-20040827 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://portal-to-web.de/tacacs/ -MAINTAINER= manu@netbsd.org +MAINTAINER= manu@NetBSD.org COMMENT= RADIUS client library WRKSRC= ${WRKDIR}/libradius-linux diff --git a/net/libradius/buildlink3.mk b/net/libradius/buildlink3.mk new file mode 100644 index 00000000000..c09791ccaf1 --- /dev/null +++ b/net/libradius/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/11/09 22:40:32 manu Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBRADIUS_LINUX_BUILDLINK3_MK:= ${LIBRADIUS_LINUX_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libradius-linux +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibradius-linux} +BUILDLINK_PACKAGES+= libradius-linux + +.if !empty(LIBRADIUS_LINUX_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libradius-linux+= libradius-linux>=20040827 +BUILDLINK_PKGSRCDIR.libradius-linux?= ../../net/libradius +.endif # LIBRADIUS_LINUX_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3