summaryrefslogtreecommitdiff
path: root/textproc/xmlto/Makefile
blob: 6326cdae9f3a9cfb4d535859d25abd0fc5baf88a (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
# $NetBSD: Makefile,v 1.1.1.1 2004/12/26 15:57:18 wiz Exp $
#

DISTNAME=		xmlto-0.0.18
CATEGORIES=		textproc
MASTER_SITES=		http://cyberelk.net/tim/data/xmlto/stable/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		tech-pkg@NetBSD.org
HOMEPAGE=		http://cyberelk.net/tim/xmlto/index.html
COMMENT=		Tool to help transform XML documents into other formats

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

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

pre-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/xmlto/format/docbook
	${INSTALL_DATA_DIR} ${PREFIX}/share/xmlto/format/fo

.include "../../mk/bsd.pkg.mk"