pkgsrc/textproc/gnome-doc-utils/Makefile
drochner c8393c91f1 update to 0.18.0
This switches to the gnome-2.28 release branch.

pkgsrc changes:
-depend in docbook-xml-4.5 and scrollkeeper-dtd because these are used
 by some gnome pkgs (should fix PR pkg/42233 by Robert Elz)
-prepare to call xsltproc with the -nonet option
 (commented out for now because it makes xsltproc fail even if no network
 accesses are necessary, needs investigation)
2009-10-27 14:50:07 +00:00

45 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.44 2009/10/27 14:50:07 drochner Exp $
#
DISTNAME= gnome-doc-utils-0.18.0
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-doc-utils/0.18/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/
COMMENT= Documentation utilities for the GNOME project
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.6.16:../../textproc/py-libxml2
DEPENDS+= ${PYPKGPREFIX}-libxslt>=1.1.12:../../textproc/py-libxslt
DEPENDS+= docbook-xml>=4.5:../../textproc/docbook-xml
DEPENDS+= scrollkeeper-dtd-[0-9]*:../../textproc/scrollkeeper-dtd
USE_TOOLS+= intltool pkg-config gmake gawk msgfmt
GNU_CONFIGURE= YES
TEST_TARGET= check
USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= PYTHON=${PYTHONBIN:Q}
PKGCONFIG_OVERRIDE= tools/gnome-doc-utils.pc.in
PKGCONFIG_OVERRIDE+= xml2po/xml2po.pc.in
PY_PATCHPLIST= yes
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.12
BUILDLINK_DEPMETHOD.libxslt= build
BUILDLINK_DEPMETHOD.libxml2= build
post-install:
${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/share/xml2po
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/xmlcatmgr/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../mk/bsd.pkg.mk"