2818050b3e
Changes in 0.10.3: ------------------ * Fixed build issue with --disable-scrollkeeper, bug #427939 (Shaun McCance) Changes in 0.10.2: ------------------ ** general: * Use gawk -W compat whenever $(AWK) is gawk (Shaun McCance) ** tools: * Don's call ScrollKeeper when it's not installed; bug #410715 (Shaun McCance) ** xml2po: * Display xsltproc invocation, honor its exit status, and pull the source from srcdir; bug #169324 (Danilo Šegan) ** Updated translations: gl (Ignacio Casal Quinteiro) sq (Laurent Dhima)
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2007/04/11 06:39:44 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= gnome-doc-utils-0.10.3
|
|
CATEGORIES= textproc gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-doc-utils/0.10/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnome.org/
|
|
COMMENT= Documentation utilities for the GNOME project
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.6.16:../../textproc/py-libxml2
|
|
DEPENDS+= ${PYPKGPREFIX}-libxslt>=1.1.12:../../textproc/py-libxslt
|
|
|
|
USE_TOOLS+= intltool pkg-config gmake gawk msgfmt
|
|
USE_DIRS+= gnome2-1.5
|
|
GNU_CONFIGURE= YES
|
|
TEST_TARGET= check
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
CONFIGURE_ARGS+= PYTHON=${PYTHONBIN:Q}
|
|
|
|
PKGCONFIG_OVERRIDE= gnome-doc-utils.pc.in
|
|
PKGCONFIG_OVERRIDE+= xml2po/xml2po.pc.in
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 24 23
|
|
PYTHON_PATCH_SCRIPTS= xml2po/modes/docbook.py
|
|
PYTHON_PATCH_SCRIPTS+= xml2po/modes/empty.py
|
|
PYTHON_PATCH_SCRIPTS+= xml2po/modes/gs.py
|
|
PYTHON_PATCH_SCRIPTS+= xml2po/xml2po.py
|
|
|
|
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.12
|
|
BUILDLINK_DEPMETHOD.libxslt= build
|
|
BUILDLINK_DEPMETHOD.libxml2= build
|
|
|
|
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
|
|
|
|
post-install:
|
|
${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/xml2po
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
.include "../../textproc/xmlcatmgr/buildlink3.mk"
|
|
.include "../../textproc/scrollkeeper/omf.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|