aboutsummaryrefslogtreecommitdiff
path: root/textproc/slides
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-05 13:45:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-05 13:45:34 +0000
commit4070feb8bb6528705dca9b322b444e84f6176ae7 (patch)
tree824a32111aba7fd8141ad3cd32790a2d3e504a8b /textproc/slides
parent33902d2d0b0b695b8e26697e6ffb13f160774cb1 (diff)
downloadports-4070feb8bb6528705dca9b322b444e84f6176ae7.tar.gz
ports-4070feb8bb6528705dca9b322b444e84f6176ae7.zip
Notes
Diffstat (limited to 'textproc/slides')
-rw-r--r--textproc/slides/Makefile64
-rw-r--r--textproc/slides/distinfo2
-rw-r--r--textproc/slides/files/patch-schema::dtd::slides-full.dtd13
-rw-r--r--textproc/slides/files/pkg-deinstall.in14
-rw-r--r--textproc/slides/files/pkg-install.in59
-rw-r--r--textproc/slides/pkg-descr3
-rw-r--r--textproc/slides/pkg-plist165
7 files changed, 320 insertions, 0 deletions
diff --git a/textproc/slides/Makefile b/textproc/slides/Makefile
new file mode 100644
index 000000000000..bf188e6961f5
--- /dev/null
+++ b/textproc/slides/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: slides
+# Date Created: 2004-04-29 13:49:33
+# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
+#
+# ex:ts=22:sw=22
+#
+# $FreeBSD$
+#
+# Based on the textproc/website port
+#
+
+PORTNAME= slides
+PORTVERSION= 3.3.1
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= docbook
+
+MAINTAINER= jb.quenot@caraldi.com
+COMMENT= Doctype and stylesheets for making slides
+
+RUN_DEPENDS= ${LOCALBASE}/share/xsl/docbook/catalog:${PORTSDIR}/textproc/docbook-xsl
+RUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.3/catalog.xml:${PORTSDIR}/textproc/docbook-xml-430
+
+XMLDIR= ${LOCALBASE}/share/xml
+INSTDIR= share/xsl/${PORTNAME}
+PINSTDIR= ${PREFIX}/${INSTDIR}
+COPYDIRS= browser graphics schema xsl
+
+PKGINSTALL= ${WRKSRC}/pkg-install
+PKGDEINSTALL= ${WRKSRC}/pkg-deinstall
+
+NO_BUILD= yes
+XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
+CATALOG_PORTS= ${XMLDIR}/catalog.ports
+MYEXAMPLESDIR= tests
+MYDOCSDIR= doc
+
+post-patch:
+ ${FIND} ${WRKSRC} -name '*.orig' -delete
+
+do-install:
+.ifndef NOPORTDOCS
+ ${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/${MYEXAMPLESDIR} && ${TAR} -cf - . |\
+ ${TAR} -xf - -C${EXAMPLESDIR})
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/${MYDOCSDIR} && ${TAR} -cf - . |\
+ ${TAR} -xf - -C${DOCSDIR})
+.endif
+ ${MKDIR} ${PINSTDIR}
+ (cd ${WRKSRC} && ${TAR} -cf - VERSION ${COPYDIRS} |\
+ ${TAR} -xf - -C${PINSTDIR})
+
+REPLACE_EXPR= -e 's,@INSTDIR@,${INSTDIR},g ; \
+ s,@XMLCATMGR@,${XMLCATMGR},g ; \
+ s,@CATALOG_PORTS_XML@,${CATALOG_PORTS},g ; \
+ s,@PORTNAME@,${PORTNAME},g'
+post-install:
+ @${SED} ${REPLACE_EXPR} < ${FILESDIR}/pkg-install.in > ${PKGINSTALL}
+ @${SED} ${REPLACE_EXPR} < ${FILESDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
+ @${SETENV} PKG_PREFIX=${PREFIX} \
+ ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
+.include <bsd.port.mk>
diff --git a/textproc/slides/distinfo b/textproc/slides/distinfo
new file mode 100644
index 000000000000..fb895ad1e18e
--- /dev/null
+++ b/textproc/slides/distinfo
@@ -0,0 +1,2 @@
+MD5 (slides-3.3.1.tar.gz) = a8edc7abfe8a32f5079c5584d10d92f0
+SIZE (slides-3.3.1.tar.gz) = 260281
diff --git a/textproc/slides/files/patch-schema::dtd::slides-full.dtd b/textproc/slides/files/patch-schema::dtd::slides-full.dtd
new file mode 100644
index 000000000000..e49bdff98d26
--- /dev/null
+++ b/textproc/slides/files/patch-schema::dtd::slides-full.dtd
@@ -0,0 +1,13 @@
+--- schema/dtd/slides-full.dtd.orig Thu Apr 29 19:36:50 2004
++++ schema/dtd/slides-full.dtd Thu Apr 29 19:37:22 2004
+@@ -24,8 +24,8 @@
+ <!ENTITY % local.component.mix "|speakernotes">
+
+ <!-- In this version, we use full DocBook -->
+-<!ENTITY % docbook.dtd PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN"
+- "http://docbook.org/xml/4.3CR2/docbookx.dtd">
++<!ENTITY % docbook.dtd PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
++ "http://docbook.org/xml/4.3/docbookx.dtd">
+ %docbook.dtd;
+
+ <!ENTITY % slides.mod SYSTEM "slides.mod">
diff --git a/textproc/slides/files/pkg-deinstall.in b/textproc/slides/files/pkg-deinstall.in
new file mode 100644
index 000000000000..04034f4b5ee4
--- /dev/null
+++ b/textproc/slides/files/pkg-deinstall.in
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# This script will remove the slides entries added to xml catalog.
+# -- Rui Lopes <rui@ruilopes.com>
+
+XMLCATMGR=@XMLCATMGR@
+CATALOG_PORTS_XML=@CATALOG_PORTS_XML@
+PORTNAME=@PORTNAME@
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+${XMLCATMGR} -c "${CATALOG_PORTS_XML}" remove http://docbook.sourceforge.net/release/${PORTNAME}/
diff --git a/textproc/slides/files/pkg-install.in b/textproc/slides/files/pkg-install.in
new file mode 100644
index 000000000000..1e0cc40f65a5
--- /dev/null
+++ b/textproc/slides/files/pkg-install.in
@@ -0,0 +1,59 @@
+#!/bin/sh
+
+# This script will create the slides catalog and will add entries to xml catalog.
+# WARNING: If you change this script, be sure to check pkg-deinstall.in!
+#
+# Based on http://xmlsoft.org/buildDocBookCatalog file.
+#
+# in vi/vim grab VERSIONS string with command:
+# :r!echo -n "VERSIONS='current ";fetch -qo - http://cvs.sf.net/cgi-bin/viewcvs.cgi/docbook/${PORTNAME}/VERSION|sed -nE 's/.*Version (.*) released./\1/gp'|sort|sed -e '1,3d'|paste -sd ' ' -|tr \\n \'
+#
+# -- Rui Lopes <rui@ruilopes.com>
+
+XMLCATMGR=@XMLCATMGR@
+CATALOG_PORTS_XML=@CATALOG_PORTS_XML@
+PORTNAME=@PORTNAME@
+XSL_DIR=${PKG_PREFIX}/@INSTDIR@
+CATALOG_XSL=${XSL_DIR}/catalog
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+VERSIONS='current 3.3.1 3.2.0 3.1.0 3.0.0 3.0b2 3.0b1 2.1b2 2.1b1 2.0a2 2.0a1'
+
+if [ ! -f ${CATALOG_XSL} ]; then
+ ${XMLCATMGR} -c "${CATALOG_XSL}" create
+fi
+
+for version in ${VERSIONS}
+do
+ ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteSystem \
+ http://docbook.sourceforge.net/release/${PORTNAME}/$version/xsl \
+ "file://${XSL_DIR}/xsl"
+ ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteURI \
+ http://docbook.sourceforge.net/release/${PORTNAME}/$version/xsl \
+ "file://${XSL_DIR}/xsl"
+ ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteSystem \
+ http://docbook.sourceforge.net/release/${PORTNAME}/$version/schema/dtd \
+ "file://${XSL_DIR}/schema/dtd"
+ ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteURI \
+ http://docbook.sourceforge.net/release/${PORTNAME}/$version/schema/dtd \
+ "file://${XSL_DIR}/schema/dtd"
+ ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteSystem \
+ http://docbook.sourceforge.net/release/${PORTNAME}/$version \
+ "file://${XSL_DIR}/schema/dtd"
+ ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteURI \
+ http://docbook.sourceforge.net/release/${PORTNAME}/$version \
+ "file://${XSL_DIR}/schema/dtd"
+done
+
+${XMLCATMGR} -c "${CATALOG_PORTS_XML}" add delegateSystem \
+ http://docbook.sourceforge.net/release/${PORTNAME}/ \
+ "file://${CATALOG_XSL}"
+${XMLCATMGR} -c "${CATALOG_PORTS_XML}" add delegateURI \
+ http://docbook.sourceforge.net/release/${PORTNAME}/ \
+ "file://${CATALOG_XSL}"
+
+# echo $(w3m -dump http://cvs.sf.net/cgi-bin/viewcvs.cgi/docbook/slides/VERSION
+# | grep released | cut -d' ' -f2)
diff --git a/textproc/slides/pkg-descr b/textproc/slides/pkg-descr
new file mode 100644
index 000000000000..695a938443f9
--- /dev/null
+++ b/textproc/slides/pkg-descr
@@ -0,0 +1,3 @@
+The Slides doctype and stylesheets are for making presentations.
+
+WWW: http://docbook.sourceforge.net/projects/slides/
diff --git a/textproc/slides/pkg-plist b/textproc/slides/pkg-plist
new file mode 100644
index 000000000000..5b152647250d
--- /dev/null
+++ b/textproc/slides/pkg-plist
@@ -0,0 +1,165 @@
+%%PORTDOCS%%%%EXAMPLESDIR%%/ChangeLog
+%%PORTDOCS%%%%EXAMPLESDIR%%/catalog.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/dbgentext.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/minimal.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/test-full.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/test.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/testcust.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/testfull.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/testhtml.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/tr-862918.xml
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/param.html
+%%PORTDOCS%%%%DOCSDIR%%/slides.xml
+share/xsl/slides/browser/CTOCWidget.js
+share/xsl/slides/browser/ChangeLog
+share/xsl/slides/browser/overlay.js
+share/xsl/slides/browser/slides-default.css
+share/xsl/slides/browser/slides-frames.css
+share/xsl/slides/browser/slides-plain.css
+share/xsl/slides/browser/slides-table.css
+share/xsl/slides/browser/slides-w3c.css
+share/xsl/slides/browser/slides.css
+share/xsl/slides/browser/slides.js
+share/xsl/slides/browser/ua.js
+share/xsl/slides/browser/xbCollapsibleLists.js
+share/xsl/slides/browser/xbDOM.js
+share/xsl/slides/browser/xbDebug.js
+share/xsl/slides/browser/xbLibrary.js
+share/xsl/slides/browser/xbStyle-css.js
+share/xsl/slides/browser/xbStyle-nn4.js
+share/xsl/slides/browser/xbStyle-not-supported.js
+share/xsl/slides/browser/xbStyle.js
+share/xsl/slides/graphics/ChangeLog
+share/xsl/slides/graphics/active/ChangeLog
+share/xsl/slides/graphics/active/arr-next.png
+share/xsl/slides/graphics/active/arr-prev.png
+share/xsl/slides/graphics/active/but-fforward.png
+share/xsl/slides/graphics/active/but-info.png
+share/xsl/slides/graphics/active/but-next.png
+share/xsl/slides/graphics/active/but-prev.png
+share/xsl/slides/graphics/active/but-rewind.png
+share/xsl/slides/graphics/active/nav-home.png
+share/xsl/slides/graphics/active/nav-next.png
+share/xsl/slides/graphics/active/nav-prev.png
+share/xsl/slides/graphics/active/nav-toc.png
+share/xsl/slides/graphics/active/nav-up.png
+share/xsl/slides/graphics/active/w3c-next.png
+share/xsl/slides/graphics/active/w3c-prev.png
+share/xsl/slides/graphics/active/w3c-toc.png
+share/xsl/slides/graphics/arrow.gif
+share/xsl/slides/graphics/blank.gif
+share/xsl/slides/graphics/blank.png
+share/xsl/slides/graphics/hidetoc.gif
+share/xsl/slides/graphics/inactive/ChangeLog
+share/xsl/slides/graphics/inactive/but-fforward.png
+share/xsl/slides/graphics/inactive/but-info.png
+share/xsl/slides/graphics/inactive/but-next.png
+share/xsl/slides/graphics/inactive/but-prev.png
+share/xsl/slides/graphics/inactive/but-rewind.png
+share/xsl/slides/graphics/inactive/nav-home.png
+share/xsl/slides/graphics/inactive/nav-next.png
+share/xsl/slides/graphics/inactive/nav-prev.png
+share/xsl/slides/graphics/inactive/nav-toc.png
+share/xsl/slides/graphics/inactive/nav-up.png
+share/xsl/slides/graphics/inactive/w3c-next.png
+share/xsl/slides/graphics/inactive/w3c-prev.png
+share/xsl/slides/graphics/inactive/w3c-toc.png
+share/xsl/slides/graphics/plus.gif
+share/xsl/slides/graphics/pointer.png
+share/xsl/slides/graphics/showtoc.gif
+share/xsl/slides/graphics/toc/ChangeLog
+share/xsl/slides/graphics/toc/bullet.png
+share/xsl/slides/graphics/toc/closed.png
+share/xsl/slides/graphics/toc/open.png
+share/xsl/slides/schema/ChangeLog
+share/xsl/slides/schema/dtd/ChangeLog
+share/xsl/slides/schema/dtd/slides-custom.dtd
+share/xsl/slides/schema/dtd/slides-full.dtd
+share/xsl/slides/schema/dtd/slides.dtd
+share/xsl/slides/schema/dtd/slides.mod
+share/xsl/slides/schema/rng/full/calstblx.rnc
+share/xsl/slides/schema/rng/full/calstblx.rng
+share/xsl/slides/schema/rng/full/dbhierx.rnc
+share/xsl/slides/schema/rng/full/dbhierx.rng
+share/xsl/slides/schema/rng/full/dbnotnx.rnc
+share/xsl/slides/schema/rng/full/dbnotnx.rng
+share/xsl/slides/schema/rng/full/dbpoolx.rnc
+share/xsl/slides/schema/rng/full/dbpoolx.rng
+share/xsl/slides/schema/rng/full/docbookx.rnc
+share/xsl/slides/schema/rng/full/docbookx.rng
+share/xsl/slides/schema/rng/full/htmltblx.rnc
+share/xsl/slides/schema/rng/full/htmltblx.rng
+share/xsl/slides/schema/rng/full/slides-full.rnc
+share/xsl/slides/schema/rng/full/slides-full.rng
+share/xsl/slides/schema/rng/full/slides.rnc
+share/xsl/slides/schema/rng/full/slides.rng
+share/xsl/slides/schema/rng/slides.rnc
+share/xsl/slides/schema/rng/slides.rng
+share/xsl/slides/schema/xsd/full/calstblx.xsd
+share/xsl/slides/schema/xsd/full/dbhierx.xsd
+share/xsl/slides/schema/xsd/full/dbnotnx.xsd
+share/xsl/slides/schema/xsd/full/dbpoolx.xsd
+share/xsl/slides/schema/xsd/full/docbookx.xsd
+share/xsl/slides/schema/xsd/full/htmltblx.xsd
+share/xsl/slides/schema/xsd/full/slides-full.xsd
+share/xsl/slides/schema/xsd/full/slides.xsd
+share/xsl/slides/schema/xsd/full/xml.xsd
+share/xsl/slides/schema/xsd/slides.xsd
+share/xsl/slides/schema/xsd/xml.xsd
+share/xsl/slides/xsl/ChangeLog
+share/xsl/slides/xsl/fo/ChangeLog
+share/xsl/slides/xsl/fo/plain-titlepage.xml
+share/xsl/slides/xsl/fo/plain-titlepage.xsl
+share/xsl/slides/xsl/fo/plain.xsl
+share/xsl/slides/xsl/html/ChangeLog
+share/xsl/slides/xsl/html/css.xsl
+share/xsl/slides/xsl/html/default.xsl
+share/xsl/slides/xsl/html/flat.xsl
+share/xsl/slides/xsl/html/frames.xsl
+share/xsl/slides/xsl/html/graphics.xsl
+share/xsl/slides/xsl/html/jscript.xsl
+share/xsl/slides/xsl/html/param.xml
+share/xsl/slides/xsl/html/param.xsl
+share/xsl/slides/xsl/html/param.xweb
+share/xsl/slides/xsl/html/plain.xsl
+share/xsl/slides/xsl/html/slides-common.xsl
+share/xsl/slides/xsl/html/tables.xsl
+share/xsl/slides/xsl/html/vslides.xsl
+share/xsl/slides/xsl/html/w3c.xsl
+share/xsl/slides/xsl/xhtml/ChangeLog
+share/xsl/slides/xsl/xhtml/css.xsl
+share/xsl/slides/xsl/xhtml/default.xsl
+share/xsl/slides/xsl/xhtml/flat.xsl
+share/xsl/slides/xsl/xhtml/frames.xsl
+share/xsl/slides/xsl/xhtml/graphics.xsl
+share/xsl/slides/xsl/xhtml/html2xhtml.xsl
+share/xsl/slides/xsl/xhtml/jscript.xsl
+share/xsl/slides/xsl/xhtml/param.xsl
+share/xsl/slides/xsl/xhtml/plain.xsl
+share/xsl/slides/xsl/xhtml/slides-common.xsl
+share/xsl/slides/xsl/xhtml/tables.xsl
+share/xsl/slides/xsl/xhtml/vslides.xsl
+share/xsl/slides/xsl/xhtml/w3c.xsl
+share/xsl/slides/VERSION
+@unexec rm -f %D/share/xsl/slides/catalog 2>&1 >/dev/null || true
+@dirrm share/xsl/slides/browser
+@dirrm share/xsl/slides/graphics/active
+@dirrm share/xsl/slides/graphics/inactive
+@dirrm share/xsl/slides/graphics/toc
+@dirrm share/xsl/slides/graphics
+@dirrm share/xsl/slides/schema/dtd
+@dirrm share/xsl/slides/schema/rng/full
+@dirrm share/xsl/slides/schema/rng
+@dirrm share/xsl/slides/schema/xsd/full
+@dirrm share/xsl/slides/schema/xsd
+@dirrm share/xsl/slides/schema
+@dirrm share/xsl/slides/xsl/fo
+@dirrm share/xsl/slides/xsl/html
+@dirrm share/xsl/slides/xsl/xhtml
+@dirrm share/xsl/slides/xsl
+@dirrm share/xsl/slides
+@unexec test -d %D/share/xsl && rmdir %D/share/xsl 2>/dev/null || true
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%