summaryrefslogtreecommitdiff
path: root/textproc/xmlto/Makefile
blob: f12e0c943be8c507f4159f22ce8043822dfe47d0 (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
# $NetBSD: Makefile,v 1.2 2004/12/30 14:22:56 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+=		bash-[0-9]*:../../shells/bash
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"