summaryrefslogtreecommitdiff
path: root/textproc/xmlto/Makefile
diff options
context:
space:
mode:
authorrillig <rillig>2006-02-26 12:50:03 +0000
committerrillig <rillig>2006-02-26 12:50:03 +0000
commitedba78b78643775c73fa2ced515106e9ac922c00 (patch)
treea1c6f9cf60ebacf80147ca11d0e7432c5c13f8e3 /textproc/xmlto/Makefile
parent155b350e0b6ac12d00933129d25755670cd43b00 (diff)
downloadpkgsrc-edba78b78643775c73fa2ced515106e9ac922c00.tar.gz
Added a patch that makes "xmlto txt" usable on pkgsrc system, which
usually don't have binary programs in /usr/bin. While here, fixed all pkglint warnings.
Diffstat (limited to 'textproc/xmlto/Makefile')
-rw-r--r--textproc/xmlto/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/xmlto/Makefile b/textproc/xmlto/Makefile
index a062b89fc43..9b7b735ed9f 100644
--- a/textproc/xmlto/Makefile
+++ b/textproc/xmlto/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2006/02/05 23:11:08 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2006/02/26 12:50:03 rillig Exp $
#
DISTNAME= xmlto-0.0.18
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= textproc
MASTER_SITES= http://cyberelk.net/tim/data/xmlto/stable/
EXTRACT_SUFX= .tar.bz2
@@ -18,15 +18,15 @@ 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
+MAKE_ENV+= SGML_CATALOG_FILES=${PREFIX:Q}/share/xml/catalog
+CONFIGURE_ARGS+= --with-getopt=${PREFIX:Q}/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
+ ${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
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"