pkgsrc/textproc/intltool/buildlink3.mk

42 lines
1.2 KiB
Makefile
Raw Normal View History

Update to 0.32.1; let's hope it doesn't break anything. If it does, we'll probably have to resurrect the old xml-i18n-tools package: Version 0.32.1 * Deprecate --pass-through option, default to UTF-8 for anything except RFC822 files -- bug #145017 (Danilo Segan) * Add support for .icon files -- bug #157412 (Takao Fujiwara, Rodney Dawes) Version 0.32 * Check to avoid whining about {arch} and $PACKAGE-$VERSION dist directories when looking for files missing from POTFILES.in -- bug #157278 (Rodney Dawes) * Deprecate AC_PROG_INTLTOOL for IT_PROG_INTLTOOL -- bug #151508 (Rodney Dawes) * Add new INTLTOOL_XML_NOMERGE_RULE for translating XML files without merging the translations back into the output XML file -- bug #155842 (Rodney Dawes) * Fix new Makefile.in.in stuff to work with automake 1.4 -- bug #157298 (Rodney Dawes) * Update I18N-HOWTO for the changes to use our own Makefile.in.in -- bug #79598 (Rodney Dawes) * Allow use of either AM_GNU_GETTEXT or AM_GLIB_GNU_GETTEXT and use our own Makefile.in.in instead of trying to patch one -- bug #144715 (Rodney Dawes) * Handle all supported gettext escape sequences in PO files -- bug #48489 (Danilo Segan) * Fix Scheme string extraction, add support for translators' comments -- bug #137029 (Danilo Segan) * Fix translations of attributes of XML elements -- bug #155843 (Danilo Segan) * Support for translators' comments in Glade files -- bug #155294 (Danilo Segan) * Fix paths and quoting for intltool script variables in intltool.m4 -- bug #154717 (James Henstridge, Rodney Dawes) * Fix merging of xml:space="preserve" tags -- bug #151017 (Danilo Segan). * Look for Q_() keyword as well -- bug #154063 (Danilo Segan).
2004-12-25 13:05:59 +01:00
# $NetBSD: buildlink3.mk,v 1.6 2004/12/25 12:05:59 jmmv Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
2004-02-11 01:48:07 +01:00
INTLTOOL_BUILDLINK3_MK:= ${INTLTOOL_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= intltool
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nintltool}
BUILDLINK_PACKAGES+= intltool
2004-02-11 01:48:07 +01:00
.if !empty(INTLTOOL_BUILDLINK3_MK:M+)
Update to 0.32.1; let's hope it doesn't break anything. If it does, we'll probably have to resurrect the old xml-i18n-tools package: Version 0.32.1 * Deprecate --pass-through option, default to UTF-8 for anything except RFC822 files -- bug #145017 (Danilo Segan) * Add support for .icon files -- bug #157412 (Takao Fujiwara, Rodney Dawes) Version 0.32 * Check to avoid whining about {arch} and $PACKAGE-$VERSION dist directories when looking for files missing from POTFILES.in -- bug #157278 (Rodney Dawes) * Deprecate AC_PROG_INTLTOOL for IT_PROG_INTLTOOL -- bug #151508 (Rodney Dawes) * Add new INTLTOOL_XML_NOMERGE_RULE for translating XML files without merging the translations back into the output XML file -- bug #155842 (Rodney Dawes) * Fix new Makefile.in.in stuff to work with automake 1.4 -- bug #157298 (Rodney Dawes) * Update I18N-HOWTO for the changes to use our own Makefile.in.in -- bug #79598 (Rodney Dawes) * Allow use of either AM_GNU_GETTEXT or AM_GLIB_GNU_GETTEXT and use our own Makefile.in.in instead of trying to patch one -- bug #144715 (Rodney Dawes) * Handle all supported gettext escape sequences in PO files -- bug #48489 (Danilo Segan) * Fix Scheme string extraction, add support for translators' comments -- bug #137029 (Danilo Segan) * Fix translations of attributes of XML elements -- bug #155843 (Danilo Segan) * Support for translators' comments in Glade files -- bug #155294 (Danilo Segan) * Fix paths and quoting for intltool script variables in intltool.m4 -- bug #154717 (James Henstridge, Rodney Dawes) * Fix merging of xml:space="preserve" tags -- bug #151017 (Danilo Segan). * Look for Q_() keyword as well -- bug #154063 (Danilo Segan).
2004-12-25 13:05:59 +01:00
BUILDLINK_DEPENDS.intltool+= intltool>=0.32.1
BUILDLINK_PKGSRCDIR.intltool?= ../../textproc/intltool
BUILDLINK_DEPMETHOD.intltool?= build
.endif # INTLTOOL_BUILDLINK3_MK
2004-02-11 01:48:07 +01:00
USE_PERL5?= build
.include "../../lang/perl5/buildlink3.mk"
.if !empty(INTLTOOL_BUILDLINK3_MK:M+)
2004-02-11 01:48:07 +01:00
CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}"
INTLTOOLIZE= ${BUILDLINK_PREFIX.intltool}/bin/intltoolize
INTLTOOL_OVERRIDE?= intltool-* */intltool-*
2004-02-11 01:48:07 +01:00
_CONFIGURE_POSTREQ+= override-intltool
2004-02-11 01:48:07 +01:00
.PHONY: override-intltool
override-intltool:
2004-02-11 01:48:07 +01:00
${_PKG_SILENT}${_PKG_DEBUG} \
${ECHO} "=> Overriding intltool."
@cd ${WRKSRC} && for f in ${INTLTOOL_OVERRIDE}; do \
if ${TEST} -f ${BUILDLINK_PREFIX.intltool}/bin/${f}; then \
${CP} ${BUILDLINK_PREFIX.intltool}/bin/${f} ${f}; \
fi; \
done
.endif # INTLTOOL_BUILDLINK3_MK
2004-02-11 01:48:07 +01:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}