[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / gnome-doc-utils

File: [cvs.NetBSD.org] / pkgsrc / textproc / gnome-doc-utils / Makefile (download)

Revision 1.83, Wed Nov 23 16:21:11 2022 UTC (2 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.82: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.83 2022/11/23 16:21:11 adam Exp $

DISTNAME=	gnome-doc-utils-0.20.10
PKGREVISION=	13
CATEGORIES=	textproc gnome
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gnome-doc-utils/0.20/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.gnome.org/
COMMENT=	Documentation utilities for the GNOME project
LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1

DEPENDS+=	${PYPKGPREFIX}-libxml2>=2.6.16:../../textproc/py-libxml2
DEPENDS+=	docbook-xml>=4.5:../../textproc/docbook-xml
DEPENDS+=	getopt-[0-9]*:../../misc/getopt

USE_TOOLS+=		intltool pkg-config gmake gawk msgfmt bash:run
GNU_CONFIGURE=		YES
MAKE_JOBS_SAFE=		no
TEST_TARGET=		check
USE_PKGLOCALEDIR=	YES
REPLACE_BASH=		tools/gnome-doc-tool.in

PYTHON_VERSIONS_INCOMPATIBLE=	27

CONFIGURE_ARGS+=	PYTHON=${PYTHONBIN:Q}

PKGCONFIG_OVERRIDE=	tools/gnome-doc-utils.pc.in
PKGCONFIG_OVERRIDE+=	xml2po/xml2po.pc.in

SUBST_CLASSES+=		getopt
SUBST_STAGE.getopt=	pre-configure
SUBST_FILES.getopt=	tools/gnome-doc-tool.in
SUBST_SED.getopt=	-e "s|@GETOPT@|${PREFIX}/bin/getopt|g"

PLIST_SUBST+=		PYSITELIB=${PYSITELIB}

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/pyversion.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/xmlcatmgr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"