diff options
author | xtraeme <xtraeme> | 2004-02-11 00:48:07 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-02-11 00:48:07 +0000 |
commit | 6b18f6e2cdd75b1e26e35ef7983bfddfb4236d7f (patch) | |
tree | c12e7dccdf592df894c2acd66bb6c6c159d6e0ee /textproc/intltool | |
parent | c595fd577e88e40b35c21510fcf5b52a9f8c882d (diff) | |
download | pkgsrc-6b18f6e2cdd75b1e26e35ef7983bfddfb4236d7f.tar.gz |
bl3ify
Diffstat (limited to 'textproc/intltool')
-rw-r--r-- | textproc/intltool/Makefile | 6 | ||||
-rw-r--r-- | textproc/intltool/buildlink3.mk | 37 |
2 files changed, 40 insertions, 3 deletions
diff --git a/textproc/intltool/Makefile b/textproc/intltool/Makefile index 320ba630e40..f24b48c41d3 100644 --- a/textproc/intltool/Makefile +++ b/textproc/intltool/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/02/06 18:26:49 minskim Exp $ +# $NetBSD: Makefile,v 1.15 2004/02/11 00:48:58 xtraeme Exp $ # DISTNAME= intltool-0.30 @@ -15,10 +15,10 @@ DEPENDS= p5-XML-Parser>=2.31nb1:../../textproc/p5-XML-Parser CONFLICTS= xml-i18n-tools<=0.9 USE_GNU_TOOLS+= make -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES CONFIGURE_ENV+= PERL=${PERL5} -.include "../../lang/perl5/buildlink2.mk" +.include "../../lang/perl5/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/intltool/buildlink3.mk b/textproc/intltool/buildlink3.mk new file mode 100644 index 00000000000..62d3c7289e9 --- /dev/null +++ b/textproc/intltool/buildlink3.mk @@ -0,0 +1,37 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/11 00:48:58 xtraeme Exp $ +# +# This Makefile fragment is included by packages that use intltool. +# +# This file was created automatically using createbuildlink-3.1. +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +INTLTOOL_BUILDLINK3_MK:= ${INTLTOOL_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= intltool +.endif + +.if !empty(INTLTOOL_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= intltool +BUILDLINK_DEPENDS.intltool+= intltool>=0.30 +BUILDLINK_PKGSRCDIR.intltool?= ../../textproc/intltool +BUILDLINK_DEPMETHOD.intltool?= build + +USE_PERL5?= build + +.include "../../lang/perl5/buildlink3.mk" + +CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}" +INTLTOOLIZE= ${BUILDLINK_PREFIX.intltool}/bin/intltoolize + +_CONFIGURE_PREREQ+= intltoolize + +intltoolize: + ${_PKG_SILENT}${_PKG_DEBUG} \ + ${ECHO} "=> Overriding intltool." + @cd ${WRKSRC} && ${INTLTOOLIZE} --force >/dev/null 2>&1 + +.endif # INTLTOOL_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |