summaryrefslogtreecommitdiff
path: root/textproc/xmlto/Makefile
blob: 51d42954bde0a0bb55657481f2a6615047063406 (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
# $NetBSD: Makefile,v 1.14 2008/11/10 23:01:38 wiz Exp $
#

DISTNAME=		xmlto-0.0.21
CATEGORIES=		textproc
MASTER_SITES=		# ftp(1) doesn't speak https: https://fedorahosted.org/xmlto/browser
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://fedorahosted.org/xmlto/
COMMENT=		Tool to help transform XML documents into other formats

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=		getopt-[0-9]*:../../misc/getopt
DEPENDS+=		docbook-xsl>=1.67.0nb1:../../textproc/docbook-xsl
DEPENDS+=		libxml2>=2.6.2:../../textproc/libxml2

USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes
MAKE_ENV+=		SGML_CATALOG_FILES=${PREFIX:Q}/share/xml/catalog
CONFIGURE_ARGS+=	--with-getopt=${PREFIX:Q}/bin/getopt

REPLACE_BASH+=		xmlto.in
USE_TOOLS+=		bash:run mktemp

INSTALLATION_DIRS=	share/xmlto/format/docbook share/xmlto/format/fo

.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"