FreeBSD Bugzilla – Attachment 42478 Details for
Bug 66243
New port: Slides: Doctype and stylesheets for making slides
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 13.52 KB, created by
Jean-Baptiste Quenot
on 2004-05-04 10:20:33 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Jean-Baptiste Quenot
Created:
2004-05-04 10:20:33 UTC
Size:
13.52 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># slides ># slides/files ># slides/files/patch-schema::dtd::slides-full.dtd ># slides/files/pkg-deinstall.in ># slides/files/pkg-install.in ># slides/pkg-descr ># slides/distinfo ># slides/pkg-plist ># slides/Makefile ># >echo c - slides >mkdir -p slides > /dev/null 2>&1 >echo c - slides/files >mkdir -p slides/files > /dev/null 2>&1 >echo x - slides/files/patch-schema::dtd::slides-full.dtd >sed 's/^X//' >slides/files/patch-schema::dtd::slides-full.dtd << 'END-of-slides/files/patch-schema::dtd::slides-full.dtd' >X--- schema/dtd/slides-full.dtd.orig Thu Apr 29 19:36:50 2004 >X+++ schema/dtd/slides-full.dtd Thu Apr 29 19:37:22 2004 >X@@ -24,8 +24,8 @@ >X <!ENTITY % local.component.mix "|speakernotes"> >X >X <!-- In this version, we use full DocBook --> >X-<!ENTITY % docbook.dtd PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" >X- "http://docbook.org/xml/4.3CR2/docbookx.dtd"> >X+<!ENTITY % docbook.dtd PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" >X+ "http://docbook.org/xml/4.3/docbookx.dtd"> >X %docbook.dtd; >X >X <!ENTITY % slides.mod SYSTEM "slides.mod"> >END-of-slides/files/patch-schema::dtd::slides-full.dtd >echo x - slides/files/pkg-deinstall.in >sed 's/^X//' >slides/files/pkg-deinstall.in << 'END-of-slides/files/pkg-deinstall.in' >X#!/bin/sh >X >X# This script will remove the slides entries added to xml catalog. >X# -- Rui Lopes <rui@ruilopes.com> >X >XXMLCATMGR=@XMLCATMGR@ >XCATALOG_PORTS_XML=@CATALOG_PORTS_XML@ >XPORTNAME=@PORTNAME@ >X >Xif [ "$2" != "POST-DEINSTALL" ]; then >X exit 0 >Xfi >X >X${XMLCATMGR} -c "${CATALOG_PORTS_XML}" remove http://docbook.sourceforge.net/release/${PORTNAME}/ >END-of-slides/files/pkg-deinstall.in >echo x - slides/files/pkg-install.in >sed 's/^X//' >slides/files/pkg-install.in << 'END-of-slides/files/pkg-install.in' >X#!/bin/sh >X >X# This script will create the slides catalog and will add entries to xml catalog. >X# WARNING: If you change this script, be sure to check pkg-deinstall.in! >X# >X# Based on http://xmlsoft.org/buildDocBookCatalog file. >X# >X# in vi/vim grab VERSIONS string with command: >X# :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 \' >X# >X# -- Rui Lopes <rui@ruilopes.com> >X >XXMLCATMGR=@XMLCATMGR@ >XCATALOG_PORTS_XML=@CATALOG_PORTS_XML@ >XPORTNAME=@PORTNAME@ >XXSL_DIR=${PKG_PREFIX}/@INSTDIR@ >XCATALOG_XSL=${XSL_DIR}/catalog >X >Xif [ "$2" != "POST-INSTALL" ]; then >X exit 0 >Xfi >X >XVERSIONS='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' >X >Xif [ ! -f ${CATALOG_XSL} ]; then >X ${XMLCATMGR} -c "${CATALOG_XSL}" create >Xfi >X >Xfor version in ${VERSIONS} >Xdo >X ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteSystem \ >X http://docbook.sourceforge.net/release/${PORTNAME}/$version/xsl \ >X "file://${XSL_DIR}/xsl" >X ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteURI \ >X http://docbook.sourceforge.net/release/${PORTNAME}/$version/xsl \ >X "file://${XSL_DIR}/xsl" >X ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteSystem \ >X http://docbook.sourceforge.net/release/${PORTNAME}/$version/schema/dtd \ >X "file://${XSL_DIR}/schema/dtd" >X ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteURI \ >X http://docbook.sourceforge.net/release/${PORTNAME}/$version/schema/dtd \ >X "file://${XSL_DIR}/schema/dtd" >X ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteSystem \ >X http://docbook.sourceforge.net/release/${PORTNAME}/$version \ >X "file://${XSL_DIR}/schema/dtd" >X ${XMLCATMGR} -c "${CATALOG_XSL}" add rewriteURI \ >X http://docbook.sourceforge.net/release/${PORTNAME}/$version \ >X "file://${XSL_DIR}/schema/dtd" >Xdone >X >X${XMLCATMGR} -c "${CATALOG_PORTS_XML}" add delegateSystem \ >X http://docbook.sourceforge.net/release/${PORTNAME}/ \ >X "file://${CATALOG_XSL}" >X${XMLCATMGR} -c "${CATALOG_PORTS_XML}" add delegateURI \ >X http://docbook.sourceforge.net/release/${PORTNAME}/ \ >X "file://${CATALOG_XSL}" >X >X# echo $(w3m -dump http://cvs.sf.net/cgi-bin/viewcvs.cgi/docbook/slides/VERSION >X# | grep released | cut -d' ' -f2) >END-of-slides/files/pkg-install.in >echo x - slides/pkg-descr >sed 's/^X//' >slides/pkg-descr << 'END-of-slides/pkg-descr' >XThe Slides doctype and stylesheets are for making presentations. >X >XWWW: http://docbook.sourceforge.net/projects/slides/ >END-of-slides/pkg-descr >echo x - slides/distinfo >sed 's/^X//' >slides/distinfo << 'END-of-slides/distinfo' >XMD5 (slides-3.3.1.tar.gz) = a8edc7abfe8a32f5079c5584d10d92f0 >XSIZE (slides-3.3.1.tar.gz) = 260281 >END-of-slides/distinfo >echo x - slides/pkg-plist >sed 's/^X//' >slides/pkg-plist << 'END-of-slides/pkg-plist' >X%%PORTDOCS%%%%EXAMPLESDIR%%/ChangeLog >X%%PORTDOCS%%%%EXAMPLESDIR%%/catalog.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/dbgentext.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/minimal.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/test-full.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/test.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/testcust.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/testfull.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/testhtml.xml >X%%PORTDOCS%%%%EXAMPLESDIR%%/tr-862918.xml >X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog >X%%PORTDOCS%%%%DOCSDIR%%/index.html >X%%PORTDOCS%%%%DOCSDIR%%/param.html >X%%PORTDOCS%%%%DOCSDIR%%/slides.xml >Xshare/xsl/slides/browser/CTOCWidget.js >Xshare/xsl/slides/browser/ChangeLog >Xshare/xsl/slides/browser/overlay.js >Xshare/xsl/slides/browser/slides-default.css >Xshare/xsl/slides/browser/slides-frames.css >Xshare/xsl/slides/browser/slides-plain.css >Xshare/xsl/slides/browser/slides-table.css >Xshare/xsl/slides/browser/slides-w3c.css >Xshare/xsl/slides/browser/slides.css >Xshare/xsl/slides/browser/slides.js >Xshare/xsl/slides/browser/ua.js >Xshare/xsl/slides/browser/xbCollapsibleLists.js >Xshare/xsl/slides/browser/xbDOM.js >Xshare/xsl/slides/browser/xbDebug.js >Xshare/xsl/slides/browser/xbLibrary.js >Xshare/xsl/slides/browser/xbStyle-css.js >Xshare/xsl/slides/browser/xbStyle-nn4.js >Xshare/xsl/slides/browser/xbStyle-not-supported.js >Xshare/xsl/slides/browser/xbStyle.js >Xshare/xsl/slides/graphics/ChangeLog >Xshare/xsl/slides/graphics/active/ChangeLog >Xshare/xsl/slides/graphics/active/arr-next.png >Xshare/xsl/slides/graphics/active/arr-prev.png >Xshare/xsl/slides/graphics/active/but-fforward.png >Xshare/xsl/slides/graphics/active/but-info.png >Xshare/xsl/slides/graphics/active/but-next.png >Xshare/xsl/slides/graphics/active/but-prev.png >Xshare/xsl/slides/graphics/active/but-rewind.png >Xshare/xsl/slides/graphics/active/nav-home.png >Xshare/xsl/slides/graphics/active/nav-next.png >Xshare/xsl/slides/graphics/active/nav-prev.png >Xshare/xsl/slides/graphics/active/nav-toc.png >Xshare/xsl/slides/graphics/active/nav-up.png >Xshare/xsl/slides/graphics/active/w3c-next.png >Xshare/xsl/slides/graphics/active/w3c-prev.png >Xshare/xsl/slides/graphics/active/w3c-toc.png >Xshare/xsl/slides/graphics/arrow.gif >Xshare/xsl/slides/graphics/blank.gif >Xshare/xsl/slides/graphics/blank.png >Xshare/xsl/slides/graphics/hidetoc.gif >Xshare/xsl/slides/graphics/inactive/ChangeLog >Xshare/xsl/slides/graphics/inactive/but-fforward.png >Xshare/xsl/slides/graphics/inactive/but-info.png >Xshare/xsl/slides/graphics/inactive/but-next.png >Xshare/xsl/slides/graphics/inactive/but-prev.png >Xshare/xsl/slides/graphics/inactive/but-rewind.png >Xshare/xsl/slides/graphics/inactive/nav-home.png >Xshare/xsl/slides/graphics/inactive/nav-next.png >Xshare/xsl/slides/graphics/inactive/nav-prev.png >Xshare/xsl/slides/graphics/inactive/nav-toc.png >Xshare/xsl/slides/graphics/inactive/nav-up.png >Xshare/xsl/slides/graphics/inactive/w3c-next.png >Xshare/xsl/slides/graphics/inactive/w3c-prev.png >Xshare/xsl/slides/graphics/inactive/w3c-toc.png >Xshare/xsl/slides/graphics/plus.gif >Xshare/xsl/slides/graphics/pointer.png >Xshare/xsl/slides/graphics/showtoc.gif >Xshare/xsl/slides/graphics/toc/ChangeLog >Xshare/xsl/slides/graphics/toc/bullet.png >Xshare/xsl/slides/graphics/toc/closed.png >Xshare/xsl/slides/graphics/toc/open.png >Xshare/xsl/slides/schema/ChangeLog >Xshare/xsl/slides/schema/dtd/ChangeLog >Xshare/xsl/slides/schema/dtd/slides-custom.dtd >Xshare/xsl/slides/schema/dtd/slides-full.dtd >Xshare/xsl/slides/schema/dtd/slides.dtd >Xshare/xsl/slides/schema/dtd/slides.mod >Xshare/xsl/slides/schema/rng/full/calstblx.rnc >Xshare/xsl/slides/schema/rng/full/calstblx.rng >Xshare/xsl/slides/schema/rng/full/dbhierx.rnc >Xshare/xsl/slides/schema/rng/full/dbhierx.rng >Xshare/xsl/slides/schema/rng/full/dbnotnx.rnc >Xshare/xsl/slides/schema/rng/full/dbnotnx.rng >Xshare/xsl/slides/schema/rng/full/dbpoolx.rnc >Xshare/xsl/slides/schema/rng/full/dbpoolx.rng >Xshare/xsl/slides/schema/rng/full/docbookx.rnc >Xshare/xsl/slides/schema/rng/full/docbookx.rng >Xshare/xsl/slides/schema/rng/full/htmltblx.rnc >Xshare/xsl/slides/schema/rng/full/htmltblx.rng >Xshare/xsl/slides/schema/rng/full/slides-full.rnc >Xshare/xsl/slides/schema/rng/full/slides-full.rng >Xshare/xsl/slides/schema/rng/full/slides.rnc >Xshare/xsl/slides/schema/rng/full/slides.rng >Xshare/xsl/slides/schema/rng/slides.rnc >Xshare/xsl/slides/schema/rng/slides.rng >Xshare/xsl/slides/schema/xsd/full/calstblx.xsd >Xshare/xsl/slides/schema/xsd/full/dbhierx.xsd >Xshare/xsl/slides/schema/xsd/full/dbnotnx.xsd >Xshare/xsl/slides/schema/xsd/full/dbpoolx.xsd >Xshare/xsl/slides/schema/xsd/full/docbookx.xsd >Xshare/xsl/slides/schema/xsd/full/htmltblx.xsd >Xshare/xsl/slides/schema/xsd/full/slides-full.xsd >Xshare/xsl/slides/schema/xsd/full/slides.xsd >Xshare/xsl/slides/schema/xsd/full/xml.xsd >Xshare/xsl/slides/schema/xsd/slides.xsd >Xshare/xsl/slides/schema/xsd/xml.xsd >Xshare/xsl/slides/xsl/ChangeLog >Xshare/xsl/slides/xsl/fo/ChangeLog >Xshare/xsl/slides/xsl/fo/plain-titlepage.xml >Xshare/xsl/slides/xsl/fo/plain-titlepage.xsl >Xshare/xsl/slides/xsl/fo/plain.xsl >Xshare/xsl/slides/xsl/html/ChangeLog >Xshare/xsl/slides/xsl/html/css.xsl >Xshare/xsl/slides/xsl/html/default.xsl >Xshare/xsl/slides/xsl/html/flat.xsl >Xshare/xsl/slides/xsl/html/frames.xsl >Xshare/xsl/slides/xsl/html/graphics.xsl >Xshare/xsl/slides/xsl/html/jscript.xsl >Xshare/xsl/slides/xsl/html/param.xml >Xshare/xsl/slides/xsl/html/param.xsl >Xshare/xsl/slides/xsl/html/param.xweb >Xshare/xsl/slides/xsl/html/plain.xsl >Xshare/xsl/slides/xsl/html/slides-common.xsl >Xshare/xsl/slides/xsl/html/tables.xsl >Xshare/xsl/slides/xsl/html/vslides.xsl >Xshare/xsl/slides/xsl/html/w3c.xsl >Xshare/xsl/slides/xsl/xhtml/ChangeLog >Xshare/xsl/slides/xsl/xhtml/css.xsl >Xshare/xsl/slides/xsl/xhtml/default.xsl >Xshare/xsl/slides/xsl/xhtml/flat.xsl >Xshare/xsl/slides/xsl/xhtml/frames.xsl >Xshare/xsl/slides/xsl/xhtml/graphics.xsl >Xshare/xsl/slides/xsl/xhtml/html2xhtml.xsl >Xshare/xsl/slides/xsl/xhtml/jscript.xsl >Xshare/xsl/slides/xsl/xhtml/param.xsl >Xshare/xsl/slides/xsl/xhtml/plain.xsl >Xshare/xsl/slides/xsl/xhtml/slides-common.xsl >Xshare/xsl/slides/xsl/xhtml/tables.xsl >Xshare/xsl/slides/xsl/xhtml/vslides.xsl >Xshare/xsl/slides/xsl/xhtml/w3c.xsl >Xshare/xsl/slides/VERSION >X@unexec rm -f %D/share/xsl/slides/catalog 2>&1 >/dev/null || true >X@dirrm share/xsl/slides/browser >X@dirrm share/xsl/slides/graphics/active >X@dirrm share/xsl/slides/graphics/inactive >X@dirrm share/xsl/slides/graphics/toc >X@dirrm share/xsl/slides/graphics >X@dirrm share/xsl/slides/schema/dtd >X@dirrm share/xsl/slides/schema/rng/full >X@dirrm share/xsl/slides/schema/rng >X@dirrm share/xsl/slides/schema/xsd/full >X@dirrm share/xsl/slides/schema/xsd >X@dirrm share/xsl/slides/schema >X@dirrm share/xsl/slides/xsl/fo >X@dirrm share/xsl/slides/xsl/html >X@dirrm share/xsl/slides/xsl/xhtml >X@dirrm share/xsl/slides/xsl >X@dirrm share/xsl/slides >X@unexec test -d %D/share/xsl && rmdir %D/share/xsl 2>/dev/null || true >X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >END-of-slides/pkg-plist >echo x - slides/Makefile >sed 's/^X//' >slides/Makefile << 'END-of-slides/Makefile' >X# New ports collection makefile for: slides >X# Date Created: 2004-04-29 13:49:33 >X# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com> >X# >X# ex:ts=22:sw=22 >X# >X# $FreeBSD$ >X# >X# Based on the textproc/website port >X# >X >XPORTNAME= slides >XPORTVERSION= 3.3.1 >XCATEGORIES= textproc >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= docbook >X >XMAINTAINER= jb.quenot@caraldi.com >XCOMMENT= Doctype and stylesheets for making slides >X >XRUN_DEPENDS= ${LOCALBASE}/share/xsl/docbook/catalog:${PORTSDIR}/textproc/docbook-xsl >XRUN_DEPENDS+= ${LOCALBASE}/share/xml/docbook/4.3/catalog.xml:${PORTSDIR}/textproc/docbook-xml-430 >X >XXMLDIR= ${LOCALBASE}/share/xml >XINSTDIR= share/xsl/${PORTNAME} >XPINSTDIR= ${PREFIX}/${INSTDIR} >XCOPYDIRS= browser graphics schema xsl >X >XPKGINSTALL= ${WRKSRC}/pkg-install >XPKGDEINSTALL= ${WRKSRC}/pkg-deinstall >X >XNO_BUILD= yes >XXMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr >XCATALOG_PORTS= ${XMLDIR}/catalog.ports >XMYEXAMPLESDIR= tests >XMYDOCSDIR= doc >X >Xpost-patch: >X ${FIND} ${WRKSRC} -name '*.orig' -delete >X >Xdo-install: >X.ifndef NOPORTDOCS >X ${MKDIR} ${EXAMPLESDIR} >X (cd ${WRKSRC}/${MYEXAMPLESDIR} && ${TAR} -cf - . |\ >X ${TAR} -xf - -C${EXAMPLESDIR}) >X ${MKDIR} ${DOCSDIR} >X (cd ${WRKSRC}/${MYDOCSDIR} && ${TAR} -cf - . |\ >X ${TAR} -xf - -C${DOCSDIR}) >X.endif >X ${MKDIR} ${PINSTDIR} >X (cd ${WRKSRC} && ${TAR} -cf - VERSION ${COPYDIRS} |\ >X ${TAR} -xf - -C${PINSTDIR}) >X >XREPLACE_EXPR= -e 's,@INSTDIR@,${INSTDIR},g ; \ >X s,@XMLCATMGR@,${XMLCATMGR},g ; \ >X s,@CATALOG_PORTS_XML@,${CATALOG_PORTS},g ; \ >X s,@PORTNAME@,${PORTNAME},g' >Xpost-install: >X @${SED} ${REPLACE_EXPR} < ${FILESDIR}/pkg-install.in > ${PKGINSTALL} >X @${SED} ${REPLACE_EXPR} < ${FILESDIR}/pkg-deinstall.in > ${PKGDEINSTALL} >X @${SETENV} PKG_PREFIX=${PREFIX} \ >X ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL >X >X.include <bsd.port.mk> >END-of-slides/Makefile >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 66243
: 42478