Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2008 15:09:12 GMT
From:      Max Brazhnikov <makc@issp.ac.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122933: maintainer update: math/qtiplot-doc
Message-ID:  <200804201509.m3KF9C77044532@www.freebsd.org>
Resent-Message-ID: <200804201510.m3KFA1YY085749@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122933
>Category:       ports
>Synopsis:       maintainer update: math/qtiplot-doc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 20 15:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Max Brazhnikov
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Apr 17 12:14:46 MSD 2008     makc@luna.dio.ru:/usr/obj/usr/src/sys/LUNA  i386
>Description:
update to 0.9.5
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN --exclude=CVS /usr/ports/math/qtiplot-doc/Makefile /home/makc/porting/ports/math/qtiplot-doc/Makefile
--- /usr/ports/math/qtiplot-doc/Makefile	2008-04-11 11:37:10.000000000 +0400
+++ /home/makc/porting/ports/math/qtiplot-doc/Makefile	2008-04-20 18:41:56.000000000 +0400
@@ -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 -ruN --exclude=CVS /usr/ports/math/qtiplot-doc/distinfo /home/makc/porting/ports/math/qtiplot-doc/distinfo
--- /usr/ports/math/qtiplot-doc/distinfo	2008-04-11 11:37:10.000000000 +0400
+++ /home/makc/porting/ports/math/qtiplot-doc/distinfo	2008-04-20 16:31:10.000000000 +0400
@@ -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 -ruN --exclude=CVS /usr/ports/math/qtiplot-doc/files/patch-Makefile /home/makc/porting/ports/math/qtiplot-doc/files/patch-Makefile
--- /usr/ports/math/qtiplot-doc/files/patch-Makefile	1970-01-01 03:00:00.000000000 +0300
+++ /home/makc/porting/ports/math/qtiplot-doc/files/patch-Makefile	2008-04-20 18:22:32.000000000 +0400
@@ -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 -ruN --exclude=CVS /usr/ports/math/qtiplot-doc/files/patch-docbook-en__index.docbook /home/makc/porting/ports/math/qtiplot-doc/files/patch-docbook-en__index.docbook
--- /usr/ports/math/qtiplot-doc/files/patch-docbook-en__index.docbook	1970-01-01 03:00:00.000000000 +0300
+++ /home/makc/porting/ports/math/qtiplot-doc/files/patch-docbook-en__index.docbook	2008-04-20 18:22:25.000000000 +0400
@@ -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 -ruN --exclude=CVS /usr/ports/math/qtiplot-doc/files/patch-qtiplot.dsl /home/makc/porting/ports/math/qtiplot-doc/files/patch-qtiplot.dsl
--- /usr/ports/math/qtiplot-doc/files/patch-qtiplot.dsl	1970-01-01 03:00:00.000000000 +0300
+++ /home/makc/porting/ports/math/qtiplot-doc/files/patch-qtiplot.dsl	2008-04-20 17:21:05.000000000 +0400
@@ -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 -ruN --exclude=CVS /usr/ports/math/qtiplot-doc/files/patch-qtiplot_html.xsl /home/makc/porting/ports/math/qtiplot-doc/files/patch-qtiplot_html.xsl
--- /usr/ports/math/qtiplot-doc/files/patch-qtiplot_html.xsl	1970-01-01 03:00:00.000000000 +0300
+++ /home/makc/porting/ports/math/qtiplot-doc/files/patch-qtiplot_html.xsl	2008-04-20 17:21:05.000000000 +0400
@@ -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 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804201509.m3KF9C77044532>