diff options
Diffstat (limited to 'math/qtiplot-doc')
-rw-r--r-- | math/qtiplot-doc/Makefile | 21 | ||||
-rw-r--r-- | math/qtiplot-doc/distinfo | 6 | ||||
-rw-r--r-- | math/qtiplot-doc/files/patch-Makefile | 8 | ||||
-rw-r--r-- | math/qtiplot-doc/files/patch-docbook-en__index.docbook | 9 | ||||
-rw-r--r-- | math/qtiplot-doc/files/patch-qtiplot.dsl | 11 | ||||
-rw-r--r-- | math/qtiplot-doc/files/patch-qtiplot_html.xsl | 9 |
6 files changed, 54 insertions, 10 deletions
diff --git a/math/qtiplot-doc/Makefile b/math/qtiplot-doc/Makefile index edbc1a795324..8240d6246c1b 100644 --- a/math/qtiplot-doc/Makefile +++ b/math/qtiplot-doc/Makefile @@ -6,22 +6,29 @@ # PORTNAME= qtiplot-doc -PORTVERSION= 0.9.4 -PORTREVISION= 1 +PORTVERSION= 0.9.5 CATEGORIES= math -MASTER_SITES= BERLIOS -MASTER_SITE_SUBDIR= qtiplot -DISTNAME= qtiplot-manual-en +MASTER_SITES= http://soft.proindependent.com/src/ +DISTNAME= qtiplot-${PORTVERSION} MAINTAINER= makc@issp.ac.ru COMMENT= The QtiPlot Handbook +BUILD_DEPENDS= docbook2html:${PORTSDIR}/textproc/docbook-utils \ + ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml \ + ${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \ + ${LOCALBASE}/share/sgml/docbook/dsssl/modular/html/docbook.dsl:${PORTSDIR}/textproc/dsssl-docbook-modular + USE_BZIP2= yes -NO_BUILD= yes DATADIR= ${PREFIX}/share/qtiplot/manual +WRKSRC= ${WRKDIR}/qtiplot-${PORTVERSION}/manual + +post-patch: + cd ${WRKSRC} && ${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:g" \ + docbook-en/index.docbook qtiplot.dsl qtiplot_html.xsl Makefile do-install: ${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR} + cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${DATADIR} .include <bsd.port.mk> diff --git a/math/qtiplot-doc/distinfo b/math/qtiplot-doc/distinfo index 501ddc9bfb0b..56d9a6128273 100644 --- a/math/qtiplot-doc/distinfo +++ b/math/qtiplot-doc/distinfo @@ -1,3 +1,3 @@ -MD5 (qtiplot-manual-en.tar.bz2) = e949e9725fb57a1d2027fa9ca6e53832 -SHA256 (qtiplot-manual-en.tar.bz2) = bc0d8580750c1cd856f036c68e44d19afcba19b57654dde33ea12a6dea244ff0 -SIZE (qtiplot-manual-en.tar.bz2) = 5379734 +MD5 (qtiplot-0.9.5.tar.bz2) = 5e321e8b2fb4d9eb3f5f8703afdb84ae +SHA256 (qtiplot-0.9.5.tar.bz2) = 29f6f0b81ee02fa64db2f1024d3fafeedcf22ae498eadef04e5092371d1e3be2 +SIZE (qtiplot-0.9.5.tar.bz2) = 7047424 diff --git a/math/qtiplot-doc/files/patch-Makefile b/math/qtiplot-doc/files/patch-Makefile new file mode 100644 index 000000000000..39e3f0d73e79 --- /dev/null +++ b/math/qtiplot-doc/files/patch-Makefile @@ -0,0 +1,8 @@ +--- ./Makefile.orig 2008-02-13 10:55:14.000000000 +0300 ++++ ./Makefile 2008-04-20 17:20:57.000000000 +0400 +@@ -1,3 +1,2 @@ +-html-pdf: +- docbook2html -d qtiplot.dsl docbook-en/index.docbook -e no-valid +- dblatex -o qtiplot-manual-en.pdf -c dblatex.conf -p dblatex-param.xsl docbook-en/index.docbook ++all: ++ docbook2html -d qtiplot.dsl docbook-en/index.docbook -e no-valid -l /usr/local/share/xml/jade/xml.dcl diff --git a/math/qtiplot-doc/files/patch-docbook-en__index.docbook b/math/qtiplot-doc/files/patch-docbook-en__index.docbook new file mode 100644 index 000000000000..d2291fdb293b --- /dev/null +++ b/math/qtiplot-doc/files/patch-docbook-en__index.docbook @@ -0,0 +1,9 @@ +--- ./docbook-en/index.docbook.orig 2008-04-10 12:36:49.000000000 +0400 ++++ ./docbook-en/index.docbook 2008-04-20 17:16:32.000000000 +0400 +@@ -1,5 +1,5 @@ + <?xml version="1.0" encoding="UTF-8"?> +-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "/usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd" [ ++<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "/usr/local/share/xml/docbook/4.2/docbookx.dtd" [ + + <!ENTITY appname "QtiPlot"> + <!ENTITY kappname "&appname;">
\ No newline at end of file diff --git a/math/qtiplot-doc/files/patch-qtiplot.dsl b/math/qtiplot-doc/files/patch-qtiplot.dsl new file mode 100644 index 000000000000..f414282d9737 --- /dev/null +++ b/math/qtiplot-doc/files/patch-qtiplot.dsl @@ -0,0 +1,11 @@ +--- ./qtiplot.dsl.orig 2008-02-13 10:55:14.000000000 +0300 ++++ ./qtiplot.dsl 2008-04-20 17:16:32.000000000 +0400 +@@ -6,7 +6,7 @@ + <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ + + <!-- Path to main Docbook->html stylesheet. You have to adapt this to your installation. --> +-<!ENTITY docbook-html-stylesheet SYSTEM "/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl" CDATA DSSSL> ++<!ENTITY docbook-html-stylesheet SYSTEM "/usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl" CDATA DSSSL> + + <!-- Stylesheet function library for creating Windows HTML help and Qt Assistant profiles. --> + <!ENTITY docbook-help-stylesheet SYSTEM "./help.dsl" CDATA DSSSL> diff --git a/math/qtiplot-doc/files/patch-qtiplot_html.xsl b/math/qtiplot-doc/files/patch-qtiplot_html.xsl new file mode 100644 index 000000000000..e34880e0ffcd --- /dev/null +++ b/math/qtiplot-doc/files/patch-qtiplot_html.xsl @@ -0,0 +1,9 @@ +--- ./qtiplot_html.xsl.orig 2007-01-21 03:19:12.000000000 +0300 ++++ ./qtiplot_html.xsl 2008-04-20 17:16:32.000000000 +0400 +@@ -1,5 +1,5 @@ + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> +-<xsl:import href="file:////usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl"/> ++<xsl:import href="file:////usr/local/share/xsl/docbook/html/chunk.xsl"/> + + <!-- html.stylesheet + The html.stylesheet parameter is either empty, indicating that no |