summaryrefslogtreecommitdiff
path: root/textproc/xmlto/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-03-11 09:27:09 +0000
committeradam <adam@pkgsrc.org>2011-03-11 09:27:09 +0000
commit2fa747b6d6f2fdc992c2f81b80b18917b95ae905 (patch)
tree407c877c5d1c332742aced37bb8bd1ff7133cded /textproc/xmlto/Makefile
parenta5e99dbc561fc908be9499d2b166cf9a21b8432b (diff)
downloadpkgsrc-2fa747b6d6f2fdc992c2f81b80b18917b95ae905.tar.gz
Changes 0.0.23:
* add support for detection of tail and gnu cp, do not hardcode /bin/bash initial value * use those detected binaries instead of previously hardcoded ones * use `type -t` bash shell builtin instead of `which` utility for detection of file availability * new option --noautosize to prevent overriding of user-defined paper sizes Changes 0.0.22: * added experimental support for xhtml1 source format * create tex and xhtml subpackage in spec file to reduce requirements for main package * automated detection of programs path in configure, program/utility path could be passed to configure by variable, allowed selection of default backend and default webbrowser (just for requirements at the moment) * check for missing tools/programs, fail if tool is not available * fixed libpaper cleaning up * xmllint validity check now with noent option * fixed --stringparam option * added some messages to easier detection of troubles, used different error codes for various situations * fixed FSF addresses, xmlif now licensed under GPLv2+
Diffstat (limited to 'textproc/xmlto/Makefile')
-rw-r--r--textproc/xmlto/Makefile29
1 files changed, 15 insertions, 14 deletions
diff --git a/textproc/xmlto/Makefile b/textproc/xmlto/Makefile
index 3f5bb6313a2..33fcfe5e1c1 100644
--- a/textproc/xmlto/Makefile
+++ b/textproc/xmlto/Makefile
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.17 2010/11/22 05:54:17 dholland Exp $
-#
+# $NetBSD: Makefile,v 1.18 2011/03/11 09:27:09 adam Exp $
-DISTNAME= xmlto-0.0.21
-PKGREVISION= 2
-CATEGORIES= textproc
-MASTER_SITES= # ftp(1) doesn't speak https: https://fedorahosted.org/xmlto/browser
-EXTRACT_SUFX= .tar.bz2
+DISTNAME= xmlto-0.0.23
+CATEGORIES= textproc
+MASTER_SITES= # ftp(1) doesn't speak https: https://fedorahosted.org/releases/x/m/xmlto/
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= https://fedorahosted.org/xmlto/
-COMMENT= Tool to help transform XML documents into other formats
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://fedorahosted.org/xmlto/
+COMMENT= Tool to help transform XML documents into other formats
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
@@ -18,13 +17,15 @@ DEPENDS+= docbook-xsl>=1.67.0nb1:../../textproc/docbook-xsl
DEPENDS+= libxml2>=2.6.2:../../textproc/libxml2
USE_PKGLOCALEDIR= yes
+USE_TOOLS+= bash:run mktemp
GNU_CONFIGURE= yes
-MAKE_ENV+= SGML_CATALOG_FILES=${PREFIX}/share/xml/catalog
-CONFIGURE_ARGS+= --with-getopt=${PREFIX}/bin/getopt
-CONFIGURE_ARGS+= --with-bash=${TOOLS_PATH.bash}
+CONFIGURE_ENV+= GETOPT=${PREFIX}/bin/getopt
+CONFIGURE_ENV+= BASH=${TOOLS_PATH.bash}
+CONFIGURE_ENV+= GCP=${TOOLS_PATH.cp}
+CONFIGURE_ENV+= TAIL=${TOOLS_PATH.tail}
+MAKE_ENV+= SGML_CATALOG_FILES=${PREFIX}/share/xml/catalog
REPLACE_BASH+= xmlif/test/run-test
-USE_TOOLS+= bash:run mktemp
TEST_TARGET= check
INSTALLATION_DIRS= share/xmlto/format/docbook share/xmlto/format/fo