pkgsrc/textproc/intltool/buildlink3.mk
jmmv 233ebc9859 Update to 0.34.1:
Version 0.34.1

* automake/autoconf fixes and improvements
  (Rodney Dawes, Stepan Kasal)
* extraction of XML attributes fixed
  (Danilo Segan)

Version 0.34

* Fix the regex for stripping the intltool type tags in POTFILES.in
  -- bug #171330 (Stepan Kasal)
* Add notice about using DISTCLEANFILES for toplevel Makefile.am
  -- bug #309455 (Tim-Philipp Muller)
* Discard not-well-formed translations when merging XML
  -- bug #170471 (Danilo Segan)
* Correct handling of xml:space inheritance
  -- bug #160262 (Danilo Segan)
* Merge multiple comments for the same string in XML files
  -- bug #171579 (Danilo Segan)
* Update sed script to be more practictal for translatable XML
  -- bug #304365 (Nickolay V. Shmyrev)
* Support disting files that may not exist for all packages via EXTRA_DISTFILES
  -- bugs #168788 and #171327 (Rodney Dawes)
* Do not create the pot file during dist, but do build it for check
  (Stepan Kasal)
* Add support for use on win32 native perl (Tor Lillqvist)
* Do not dist .gmo files, and remove them with distclean
  Remove Makefile.in.in with maintainer-clean
  -- bug #166724 (Rodney Dawes)
* Minor fixes to Makefile.in.in (Stepan Kasal)
* Use --verbose instead of --statistics for msgfmt
  -- bug #165881
* Remove the need for patching Makefile.in.in and just copy in our own
  -- bug #165066 (Rodney Dawes)
2005-10-08 17:18:47 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.9 2005/10/08 17:18:47 jmmv Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
INTLTOOL_BUILDLINK3_MK:= ${INTLTOOL_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= intltool
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nintltool}
BUILDLINK_PACKAGES+= intltool
.if !empty(INTLTOOL_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.intltool+= intltool>=0.34.1
BUILDLINK_PKGSRCDIR.intltool?= ../../textproc/intltool
BUILDLINK_DEPMETHOD.intltool?= build
.endif # INTLTOOL_BUILDLINK3_MK
USE_TOOLS+= perl
.if !empty(INTLTOOL_BUILDLINK3_MK:M+)
CONFIGURE_ENV+= INTLTOOL_PERL="${PERL5}"
INTLTOOLIZE= ${BUILDLINK_PREFIX.intltool}/bin/intltoolize
INTLTOOL_OVERRIDE?= intltool-* */intltool-*
_CONFIGURE_POSTREQ+= override-intltool
.PHONY: override-intltool
override-intltool:
${_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
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}