blob: ab8abff0ed543e45c829f68da8f46c157a382c20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.38 2009/03/17 10:50:14 jmcneill Exp $
#
DISTNAME= gnome-doc-utils-0.16.0
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-doc-utils/0.16/}
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-[0-9]*:../../textproc/docbook-xml
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= tools/gnome-doc-utils.pc.in
PKGCONFIG_OVERRIDE+= xml2po/xml2po.pc.in
PYTHON_VERSIONS_ACCEPTED= 25 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} ${DESTDIR}${PREFIX}/share/xml2po
.include "../../lang/python/application.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"
|