diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/Makefile | 38 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/distinfo | 1 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/files/patch-aa | 64 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/files/patch-ab | 9 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/pkg-descr | 8 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/pkg-plist | 12 | ||||
-rw-r--r-- | textproc/dsssl-docbook-cygnus/scripts/configure | 5 |
9 files changed, 139 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index cf3bd61694ed..d9e197a11b8b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -26,6 +26,7 @@ SUBDIR += docbook-410 SUBDIR += docbook-xml SUBDIR += docproj + SUBDIR += dsssl-docbook-cygnus SUBDIR += dsssl-docbook-modular SUBDIR += dtd-catalogs SUBDIR += eruby diff --git a/textproc/dsssl-docbook-cygnus/Makefile b/textproc/dsssl-docbook-cygnus/Makefile new file mode 100644 index 000000000000..ed4673f6303f --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: stylesheets +# Date created: 2 Feb 2000 +# Whom: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp> +# +# $FreeBSD$ +# + +PORTNAME= dsssl-docbook-cygnus +PORTVERSION= 1.44 +CATEGORIES= textproc +MASTER_SITES= ftp://sourceware.cygnus.com/pub/docbook-tools/docware/SOURCES/\ + ftp://ftp.freesoftware.com/pub/sourceware/docbook-tools/docware/SOURCES/ +DISTNAME= stylesheets +EXTRACT_SUFX= .tgz + +MAINTAINER= kiri@pis.toba-cmt.ac.jp + +RUN_DEPENDS= ${LOCALBASE}/share/sgml/docbook/dsssl/modular/frames/navbar.htm:${PORTSDIR}/textproc/dsssl-docbook-modular + +NO_BUILD= yes +WRKSRC= ${WRKDIR}/stylesheets +SCRIPTS_ENV= DB_DATA="${DB_SCRIPTS} cygnus-both.dsl" + +STYLESHEETSDIR= ${PREFIX}/share/sgml/docbook/dsssl/cygnus +DB_SCRIPTS= db2dvi.sh db2html.sh db2pdf.sh db2ps.sh db2rtf.sh + +do-install: + ${MKDIR} ${STYLESHEETSDIR} + cd ${WRKSRC}; \ + ${RM} -f *~ *.orig; \ + ${INSTALL_DATA} ChangeLog bosak-db3.dsl cygnus-both.dsl dbtohtml.dsl \ + ${STYLESHEETSDIR}; \ + ${INSTALL_DATA} stylesheets.cat ${STYLESHEETSDIR}/catalog +.for f in ${DB_SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin/`${BASENAME} ${f} .sh` +.endfor + +.include <bsd.port.mk> diff --git a/textproc/dsssl-docbook-cygnus/distinfo b/textproc/dsssl-docbook-cygnus/distinfo new file mode 100644 index 000000000000..e1fa872a92e4 --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/distinfo @@ -0,0 +1 @@ +MD5 (stylesheets.tgz) = 2ebd831eecaf07c80d1d933360a5ef01 diff --git a/textproc/dsssl-docbook-cygnus/files/patch-aa b/textproc/dsssl-docbook-cygnus/files/patch-aa new file mode 100644 index 000000000000..8faadbc9c0e4 --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/files/patch-aa @@ -0,0 +1,64 @@ +--- cygnus-both.dsl~ Mon Nov 30 16:45:04 1998 ++++ cygnus-both.dsl Wed Feb 2 23:34:19 2000 +@@ -2,11 +2,11 @@ + <!ENTITY % html "IGNORE"> + <![%html;[ + <!ENTITY % print "IGNORE"> +-<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl" CDATA dsssl> ++<!ENTITY docbook.dsl SYSTEM "%%PREFIX%%/share/sgml/docbook/dsssl/modular/html/docbook.dsl" CDATA dsssl> + ]]> + <!ENTITY % print "INCLUDE"> + <![%print;[ +-<!ENTITY docbook.dsl SYSTEM "/usr/lib/sgml/stylesheets/nwalsh-modular/print/docbook.dsl" CDATA dsssl> ++<!ENTITY docbook.dsl SYSTEM "%%PREFIX%%/share/sgml/docbook/dsssl/modular/print/docbook.dsl" CDATA dsssl> + ]]> + ]> + +--- db2dvi.sh~ Sat Aug 28 08:13:17 1999 ++++ db2dvi.sh Wed Feb 2 23:34:41 2000 +@@ -1,7 +1,7 @@ + #! /bin/sh + +-DB_STYLESHEET=/usr/lib/sgml/stylesheets/cygnus-both.dsl +-ADMON_GRAPHICS=/usr/lib/sgml/stylesheets/nwalsh-modular/images/*.gif ++DB_STYLESHEET=%%PREFIX%%/share/sgml/docbook/dsssl/cygnus/cygnus-both.dsl ++ADMON_GRAPHICS=%%PREFIX%%/share/sgml/docbook/dsssl/modular/images/*.gif + + # Dave Mason's option to specify a different stylesheet + case $1 in +--- db2html.sh~ Sat Aug 28 06:59:15 1999 ++++ db2html.sh Wed Feb 2 23:34:56 2000 +@@ -1,8 +1,8 @@ + #! /bin/sh + +-DB_STYLESHEET=/usr/lib/sgml/stylesheets/cygnus-both.dsl +-HTML_STYLESHEET=/usr/lib/sgml/stylesheets/nwalsh-modular/test/docbook.css +-ADMON_GRAPHICS=/usr/lib/sgml/stylesheets/nwalsh-modular/images/*.gif ++DB_STYLESHEET=%%PREFIX%%/share/sgml/docbook/dsssl/cygnus/cygnus-both.dsl ++HTML_STYLESHEET=%%PREFIX%%/share/sgml/docbook/dsssl/modular/test/docbook.css ++ADMON_GRAPHICS=%%PREFIX%%/share/sgml/docbook/dsssl/modular/images/*.gif + + output=db2html-dir + TMPDIR=DBTOHTML_OUTPUT_DIR$$ +--- db2pdf.sh~ Sat Aug 28 08:14:03 1999 ++++ db2pdf.sh Wed Feb 2 23:35:11 2000 +@@ -1,6 +1,6 @@ + #! /bin/sh + +-DB_STYLESHEET=/usr/lib/sgml/stylesheets/cygnus-both.dsl ++DB_STYLESHEET=%%PREFIX%%/share/sgml/docbook/dsssl/cygnus/cygnus-both.dsl + + TMPFN=`echo $1 | sed 's/\.sgml//'` + +--- db2rtf.sh~ Sat Aug 28 08:13:33 1999 ++++ db2rtf.sh Wed Feb 2 23:35:22 2000 +@@ -1,7 +1,7 @@ + #! /bin/sh + +-DB_STYLESHEET=/usr/lib/sgml/stylesheets/cygnus-both.dsl +-ADMON_GRAPHICS=/usr/lib/sgml/stylesheets/nwalsh-modular/images/*.gif ++DB_STYLESHEET=%%PREFIX%%/share/sgml/docbook/dsssl/cygnus/cygnus-both.dsl ++ADMON_GRAPHICS=%%PREFIX%%/share/sgml/docbook/dsssl/modular/images/*.gif + + output=db2rtf.rtf + #TMPFN=db2rtf$$.rtf diff --git a/textproc/dsssl-docbook-cygnus/files/patch-ab b/textproc/dsssl-docbook-cygnus/files/patch-ab new file mode 100644 index 000000000000..c41c79f2c59b --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/files/patch-ab @@ -0,0 +1,9 @@ +--- stylesheets.cat~ Mon Nov 30 16:45:05 1998 ++++ stylesheets.cat Tue Sep 12 22:06:51 2000 +@@ -1,3 +1,3 @@ +-PUBLIC "UNREGISTERED::Cygnus Solutions//Docbook Style Sheet for HTML//EN" stylesheets/dbtohtml.dsl +-PUBLIC "UNREGISTERED::Cygnus Solutions//Docbook Generic Style Sheet//EN" stylesheets/bosak-db3.dsl +-PUBLIC "UNREGISTERED::Cygnus Solutions//Docbook Modular Style Sheet//EN" stylesheets/cygnus-both.dsl ++PUBLIC "-//Cygnus Solutions//Docbook Style Sheet for HTML//EN" dbtohtml.dsl ++PUBLIC "-//Cygnus Solutions//Docbook Generic Style Sheet//EN" bosak-db3.dsl ++PUBLIC "-//Cygnus Solutions//Docbook Modular Style Sheet//EN" cygnus-both.dsl diff --git a/textproc/dsssl-docbook-cygnus/pkg-comment b/textproc/dsssl-docbook-cygnus/pkg-comment new file mode 100644 index 000000000000..d3360550a0f0 --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/pkg-comment @@ -0,0 +1 @@ +DocBook DSSSL stylesheets of Cygnus Slution diff --git a/textproc/dsssl-docbook-cygnus/pkg-descr b/textproc/dsssl-docbook-cygnus/pkg-descr new file mode 100644 index 000000000000..a149261c949d --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/pkg-descr @@ -0,0 +1,8 @@ +This is the DocBook DSSSL stylesheets of Cygnus Slution which based on Norman +Walsh's DocBook style sheets with version 1.44. This package contains print +style sheet(bosak-db3.dsl), HTML style sheet(dbtohtml.dsl) and +both(cygnus-both.dsl). These dsls refer including Walsh's DocBook style +sheets in default but these ones are too obsoleted so I changed to +ports-current ones(dsssl-docbook-modular). For more infomation see below: + +WWW:http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html diff --git a/textproc/dsssl-docbook-cygnus/pkg-plist b/textproc/dsssl-docbook-cygnus/pkg-plist new file mode 100644 index 000000000000..463999af6997 --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/pkg-plist @@ -0,0 +1,12 @@ +bin/db2dvi +bin/db2html +bin/db2pdf +bin/db2ps +bin/db2rtf +share/sgml/docbook/dsssl/cygnus/ChangeLog +share/sgml/docbook/dsssl/cygnus/bosak-db3.dsl +share/sgml/docbook/dsssl/cygnus/catalog +share/sgml/docbook/dsssl/cygnus/cygnus-both.dsl +share/sgml/docbook/dsssl/cygnus/dbtohtml.dsl +@dirrm share/sgml/docbook/dsssl/cygnus +@unexec rmdir %D/share/sgml/docbook/dsssl 2>/dev/null || true diff --git a/textproc/dsssl-docbook-cygnus/scripts/configure b/textproc/dsssl-docbook-cygnus/scripts/configure new file mode 100644 index 000000000000..31a6a9bb9d52 --- /dev/null +++ b/textproc/dsssl-docbook-cygnus/scripts/configure @@ -0,0 +1,5 @@ +#!/bin/sh + +for f in ${DB_DATA}; do + env LANG=C perl -pi -e 's/%%PREFIX%%/$ENV{PREFIX}/g' ${WRKSRC}/${f} +done |