blob: 4117195117198578b2841be14174ca3aba28032f (
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
|
# $NetBSD: Makefile,v 1.6 2005/08/13 21:25:58 adrianp Exp $
#
DISTNAME= xmlto-0.0.18
PKGREVISION= 1
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
DEPENDS+= libxml2>=2.6.2:../../textproc/libxml2
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
@${SED} "s|/bin/bash|${PREFIX}/bin/bash|" \
${WRKSRC}/xmlto > ${WRKDIR}/xmlto.new
@${MV} ${WRKDIR}/xmlto.new ${WRKSRC}/xmlto
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|