diff options
author | snj <snj@pkgsrc.org> | 2004-04-25 17:12:30 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-25 17:12:30 +0000 |
commit | b99286f6ba3b8f473c1ad23bf0b4d44e1d7ff375 (patch) | |
tree | 778f9f5ac72d0f3cd3fd9395b62194068a3c31e9 /devel/libargparse | |
parent | 0b6d0545c01b4626758f7ff87d22960d0e497ea1 (diff) | |
download | pkgsrc-b99286f6ba3b8f473c1ad23bf0b4d44e1d7ff375.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'devel/libargparse')
-rw-r--r-- | devel/libargparse/Makefile | 4 | ||||
-rw-r--r-- | devel/libargparse/buildlink3.mk | 18 |
2 files changed, 20 insertions, 2 deletions
diff --git a/devel/libargparse/Makefile b/devel/libargparse/Makefile index 90342d592ce..2d77429a76e 100644 --- a/devel/libargparse/Makefile +++ b/devel/libargparse/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2004/02/14 17:21:37 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2004/04/25 17:12:30 snj Exp $ # DISTNAME= libargparse-0.1.0000 @@ -11,7 +11,7 @@ COMMENT= Argument parsing library in C++ GNU_CONFIGURE= yes USE_LIBTOOL= yes -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_LANGUAGES= c c++ .include "../../mk/bsd.pkg.mk" diff --git a/devel/libargparse/buildlink3.mk b/devel/libargparse/buildlink3.mk new file mode 100644 index 00000000000..c7d61034a5a --- /dev/null +++ b/devel/libargparse/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 17:12:30 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBARGPARSE_BUILDLINK3_MK:= ${LIBARGPARSE_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libargparse +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibargparse} +BUILDLINK_PACKAGES+= libargparse + +.if !empty(LIBARGPARSE_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libargparse+= libargparse>=0.1.0000 +BUILDLINK_PKGSRCDIR.libargparse?= ../../devel/libargparse +.endif # LIBARGPARSE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |