diff options
Diffstat (limited to 'textproc/btparse')
-rw-r--r-- | textproc/btparse/Makefile | 4 | ||||
-rw-r--r-- | textproc/btparse/buildlink3.mk | 19 |
2 files changed, 21 insertions, 2 deletions
diff --git a/textproc/btparse/Makefile b/textproc/btparse/Makefile index 2d84c1ea42b..18e1c5a62e4 100644 --- a/textproc/btparse/Makefile +++ b/textproc/btparse/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2003/07/17 22:54:10 grant Exp $ +# $NetBSD: Makefile,v 1.6 2004/04/11 07:14:05 snj Exp $ # DISTNAME= btparse-0.33 @@ -10,7 +10,7 @@ HOMEPAGE= http://starship.python.net/~gward/btOOL/ COMMENT= BibTeX parsing library USE_PERL5= build -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES ALL_TARGET= lib TEST_TARGET= test diff --git a/textproc/btparse/buildlink3.mk b/textproc/btparse/buildlink3.mk new file mode 100644 index 00000000000..454b297201a --- /dev/null +++ b/textproc/btparse/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/11 07:14:05 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +BTPARSE_BUILDLINK3_MK:= ${BTPARSE_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= btparse +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbtparse} +BUILDLINK_PACKAGES+= btparse + +.if !empty(BTPARSE_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.btparse+= btparse>=0.33 +BUILDLINK_PKGSRCDIR.btparse?= ../../textproc/btparse +BUILDLINK_DEPMETHOD.btparse?= build +.endif # BTPARSE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |