diff options
author | snj <snj> | 2004-04-11 06:59:06 +0000 |
---|---|---|
committer | snj <snj> | 2004-04-11 06:59:06 +0000 |
commit | c1846bbd75826e37754ad04a9cd074e48af36ec4 (patch) | |
tree | 418c522a37f1aa0cae549e70878c660ab155cbd7 /textproc | |
parent | fadc61f69c7c6c7e13c53b6845a8d366970bd1fc (diff) | |
download | pkgsrc-c1846bbd75826e37754ad04a9cd074e48af36ec4.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'textproc')
-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/+$//} |