diff options
Diffstat (limited to 'textproc/sdocbook-xml')
-rw-r--r-- | textproc/sdocbook-xml/Makefile | 40 | ||||
-rw-r--r-- | textproc/sdocbook-xml/distinfo | 1 | ||||
-rw-r--r-- | textproc/sdocbook-xml/files/catalog | 11 | ||||
-rw-r--r-- | textproc/sdocbook-xml/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/sdocbook-xml/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/sdocbook-xml/pkg-plist | 28 |
6 files changed, 85 insertions, 0 deletions
diff --git a/textproc/sdocbook-xml/Makefile b/textproc/sdocbook-xml/Makefile new file mode 100644 index 000000000000..d86cfce43da7 --- /dev/null +++ b/textproc/sdocbook-xml/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: "Simplified" DocBook XML DTD +# Date created: 25 December 2000 +# Whom: KIRIYAMA Kazuhiko <kiri@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= sdocbook-xml +PORTVERSION= 4.1.2.4 +CATEGORIES= textproc +MASTER_SITES= http://nwalsh.com/docbook/simple/4.1.2.4/ +DISTNAME= sdb${PORTVERSION:S/.//g} + +MAINTAINER= kiri@FreeBSD.org + +RUN_DEPENDS= ${LOCALBASE}/share/xml/docbook/readme.txt:${PORTSDIR}/textproc/docbook-xml + +USE_ZIP= yes +NO_MTREE= yes +NO_BUILD= yes +WRKSRC= ${WRKDIR} + +INSTDIR= ${PREFIX}/share/xml/docbook +DTDDIR= ${INSTDIR}/sdocbook +ENTDIR= ${INSTDIR}/sdocbook/ent + +do-install: + ${MKDIR} ${ENTDIR} + ${INSTALL_DATA} ${FILESDIR}/catalog ${DTDDIR} + cd ${WRKSRC}; \ + ${INSTALL_DATA} COPYRIGHT ChangeLog LostLog README VERSION \ + *.dtd *.mod *.css *.xml ${DTDDIR}; \ + ${INSTALL_DATA} ent/* ${ENTDIR} + if [ ! -f ${INSTDIR}/catalog ]; then \ + ${ECHO} "CATALOG \"sdocbook/catalog\"" > ${INSTDIR}/catalog; \ + else \ + ${SETENV} LANG=C ${PERL} -ni -e 'print if !m|sdocbook/catalog|;print "CATALOG \"sdocbook/catalog\"\n" if eof;' ${INSTDIR}/catalog; \ + fi + +.include <bsd.port.mk> diff --git a/textproc/sdocbook-xml/distinfo b/textproc/sdocbook-xml/distinfo new file mode 100644 index 000000000000..9c8e0849949c --- /dev/null +++ b/textproc/sdocbook-xml/distinfo @@ -0,0 +1 @@ +MD5 (sdb4124.zip) = 64e9d808dfa2aee7315136dbe5ee6fdd diff --git a/textproc/sdocbook-xml/files/catalog b/textproc/sdocbook-xml/files/catalog new file mode 100644 index 000000000000..fa0d34cfb9ee --- /dev/null +++ b/textproc/sdocbook-xml/files/catalog @@ -0,0 +1,11 @@ +PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Character Entity Sets V4.1.2.4//EN" "sdbcent.mod" +PUBLIC "-//Norman Walsh//ELEMENTS Simplified DocBook XML Document Hierarchy V4.1.2.4//EN" "sdbhier.mod" +PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Information Pool V4.1.2.4//EN" "sdbpool.mod" +PUBLIC "-//Norman Walsh//DTD Simplified Custom DocBook XML V4.1.2.4//EN" "sdocbook-custom.dtd" +PUBLIC "-//Norman Walsh//DTD Simplified DocBook XML V4.1.2.4//EN" "sdocbook.dtd" +PUBLIC "-//Norman Walsh//DTD Simplified Custom DocBook XML RefEntry V4.1.2.4//EN" "sdocbookref-custom.dtd" +PUBLIC "-//Norman Walsh//DTD Simplified DocBook XML RefEntry V4.1.2.4//EN" "sdocbookref.dtd" +PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Inclusions V4.1.2.4//EN" "sinclist.mod" +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/iso-lat1.ent" +PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ent/iso-num.ent" +PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/iso-pub.ent" diff --git a/textproc/sdocbook-xml/pkg-comment b/textproc/sdocbook-xml/pkg-comment new file mode 100644 index 000000000000..fb41d0f77c9e --- /dev/null +++ b/textproc/sdocbook-xml/pkg-comment @@ -0,0 +1 @@ +"Simplified" DocBook XML DTD diff --git a/textproc/sdocbook-xml/pkg-descr b/textproc/sdocbook-xml/pkg-descr new file mode 100644 index 000000000000..5347ccc20b35 --- /dev/null +++ b/textproc/sdocbook-xml/pkg-descr @@ -0,0 +1,4 @@ +The "Simplified" DocBook XML DTD is a small subset of the DocBook XML DTD. +For more information, see below: + +WWW: http://nwalsh.com/docbook/simple/ diff --git a/textproc/sdocbook-xml/pkg-plist b/textproc/sdocbook-xml/pkg-plist new file mode 100644 index 000000000000..bb9f09505662 --- /dev/null +++ b/textproc/sdocbook-xml/pkg-plist @@ -0,0 +1,28 @@ +@unexec env LANG=C perl -ni -e 'print if !m|sdocbook/catalog|;' %D/share/xml/docbook/catalog;if [ ! -s %D/share/xml/docbook/catalog ]; then rm -f %D/share/xml/docbook/catalog; fi +@exec if [ ! -f %D/share/xml/docbook/catalog ]; then echo "CATALOG \"sdocbook/catalog\"" > %D/share/xml/docbook/catalog; else env LANG=C perl -ni -e 'print if !m|sdocbook/catalog|;print "CATALOG \"sdocbook/catalog\"\n" if eof;' %D/share/xml/docbook/catalog; fi +share/xml/docbook/sdocbook/COPYRIGHT +share/xml/docbook/sdocbook/ChangeLog +share/xml/docbook/sdocbook/LostLog +share/xml/docbook/sdocbook/README +share/xml/docbook/sdocbook/VERSION +share/xml/docbook/sdocbook/catalog +share/xml/docbook/sdocbook/ent/iso-lat1.ent +share/xml/docbook/sdocbook/ent/iso-num.ent +share/xml/docbook/sdocbook/ent/iso-pub.ent +share/xml/docbook/sdocbook/sdbcent.mod +share/xml/docbook/sdocbook/sdbhier.mod +share/xml/docbook/sdocbook/sdbpool.mod +share/xml/docbook/sdocbook/sdocbook-custom.dtd +share/xml/docbook/sdocbook/sdocbook.css +share/xml/docbook/sdocbook/sdocbook.dtd +share/xml/docbook/sdocbook/sdocbookref-custom.dtd +share/xml/docbook/sdocbook/sdocbookref.dtd +share/xml/docbook/sdocbook/sinclist.mod +share/xml/docbook/sdocbook/test.xml +share/xml/docbook/sdocbook/testcss.xml +share/xml/docbook/sdocbook/testcust.xml +share/xml/docbook/sdocbook/testrefcust.xml +@dirrm share/xml/docbook/sdocbook/ent +@dirrm share/xml/docbook/sdocbook +@unexec rmdir %D/share/xml/docbook 2>/dev/null || true +@unexec rmdir %D/share/xml 2>/dev/null || true |