DocBook DSSSL stylesheets of Cygnus.

PR:		ports/21307
Submitted by:	kiri@pis.toba-cmt.ac.jp
This commit is contained in:
Jun Kuriyama 2000-10-31 06:01:39 +00:00
parent 39d93a3483
commit 548bcd3958
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34469
9 changed files with 139 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (stylesheets.tgz) = 2ebd831eecaf07c80d1d933360a5ef01

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
DocBook DSSSL stylesheets of Cygnus Slution

View File

@ -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

View File

@ -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

View File

@ -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