diff options
Diffstat (limited to 'textproc/xmlto/Makefile')
-rw-r--r-- | textproc/xmlto/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/textproc/xmlto/Makefile b/textproc/xmlto/Makefile index c485a9d6065..1d6485c1634 100644 --- a/textproc/xmlto/Makefile +++ b/textproc/xmlto/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:52 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2006/07/22 13:11:28 rillig Exp $ # DISTNAME= xmlto-0.0.18 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= textproc MASTER_SITES= http://cyberelk.net/tim/data/xmlto/stable/ EXTRACT_SUFX= .tar.bz2 @@ -12,7 +12,6 @@ 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 @@ -21,12 +20,10 @@ GNU_CONFIGURE= yes MAKE_ENV+= SGML_CATALOG_FILES=${PREFIX:Q}/share/xml/catalog CONFIGURE_ARGS+= --with-getopt=${PREFIX:Q}/bin/getopt -pre-install: - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/xmlto/format/docbook - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/xmlto/format/fo - @${SED} s,/bin/bash,${PREFIX:Q}/bin/bash, \ - ${WRKSRC:Q}/xmlto > ${WRKDIR:Q}/xmlto.new - @${MV} ${WRKDIR:Q}/xmlto.new ${WRKSRC:Q}/xmlto +REPLACE_BASH+= xmlto.in +USE_TOOLS+= bash:run + +INSTALLATION_DIRS= share/xmlto/format/docbook share/xmlto/format/fo .include "../../textproc/libxslt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |