summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>2001-09-12 18:53:10 +0000
committerNik Clayton <nik@FreeBSD.org>2001-09-12 18:53:10 +0000
commit9886038147dddf50108212f28399a9dc258cf985 (patch)
tree60885e6c0cdc0bf635d6ac0502a92137e3231114 /textproc
parentD'oh! Forgot to add this patch. (diff)
Put this back, with a new download location.
Notes
Notes: svn path=/head/; revision=47765
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-400/Makefile46
-rw-r--r--textproc/docbook-400/distinfo1
-rw-r--r--textproc/docbook-400/files/catalog36
-rw-r--r--textproc/docbook-400/pkg-comment1
-rw-r--r--textproc/docbook-400/pkg-descr10
-rw-r--r--textproc/docbook-400/pkg-plist18
6 files changed, 112 insertions, 0 deletions
diff --git a/textproc/docbook-400/Makefile b/textproc/docbook-400/Makefile
new file mode 100644
index 000000000000..03c4c9d45345
--- /dev/null
+++ b/textproc/docbook-400/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: docbook-400
+# Date created: 4 April 2000
+# Whom: asmodai
+#
+# Based on nik's docbook-310 port
+#
+# $FreeBSD$
+#
+
+PORTNAME= docbook
+PORTVERSION= 4.0
+CATEGORIES= textproc
+MASTER_SITES= http://www.oasis-open.org/docbook/sgml/4.0/
+DISTNAME= docbk40
+
+MAINTAINER= asmodai@FreeBSD.org
+
+RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
+ ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
+
+USE_ZIP= yes
+NO_MTREE= yes
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+PLIST_SUB= DTD_NAME=${PORTNAME} DTD_VERSION=${PORTVERSION} \
+ MKCATALOG=${MKCATALOG}
+
+INSTDIR= ${PREFIX}/share/sgml/docbook
+ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
+MKCATALOG= ${PREFIX}/sbin/mkcatalog
+
+pre-install:
+ @[ -d ${INSTDIR}/4.0 ] || ${MKDIR} ${INSTDIR}/4.0
+
+do-install:
+ @unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}/4.0
+ @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/4.0/catalog
+ @${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/4.0/catalog
+ @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.0/*
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
+
+post-install:
+ @${MKCATALOG} -q install ${PORTNAME}/${PORTVERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/docbook-400/distinfo b/textproc/docbook-400/distinfo
new file mode 100644
index 000000000000..ecd6c1d17c5b
--- /dev/null
+++ b/textproc/docbook-400/distinfo
@@ -0,0 +1 @@
+MD5 (docbk40.zip) = fabcf7dd1d88b94797b7e5344389eab9
diff --git a/textproc/docbook-400/files/catalog b/textproc/docbook-400/files/catalog
new file mode 100644
index 000000000000..4330aba2385a
--- /dev/null
+++ b/textproc/docbook-400/files/catalog
@@ -0,0 +1,36 @@
+ -- ...................................................................... --
+ -- Catalog data for DocBook V4.0 ........................................ --
+ -- File docbook.cat ..................................................... --
+
+ -- Please direct all questions, bug reports, or suggestions for
+ changes to the docbook@lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/.
+ --
+
+ -- This is the catalog data file for Version 4.0 of the DocBook DTD.
+ It is provided as a convenience in building your own catalog files.
+ You need not use the filenames listed here, and need not use the
+ filename method of identifying storage objects at all. See the
+ documentation for detailed information on the files associated with
+ the DocBook DTD. See SGML Open Technical Resolution 9401 for
+ detailed information on supplying and using catalog data.
+ --
+
+ -- ...................................................................... --
+ -- DocBook driver file .................................................. --
+
+PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
+
+ -- ...................................................................... --
+ -- DocBook modules ...................................................... --
+
+PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" "cals-tbl.dtd"
+PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.0//EN" "dbpool.mod"
+PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.0//EN" "dbhier.mod"
+PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.0//EN" "dbgenent.mod"
+PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.0//EN" "dbnotn.mod"
+PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.0//EN" "dbcent.mod"
+
+
+ -- End of catalog data for DocBook V4.0 ................................. --
+ -- ...................................................................... --
diff --git a/textproc/docbook-400/pkg-comment b/textproc/docbook-400/pkg-comment
new file mode 100644
index 000000000000..215089fbdab8
--- /dev/null
+++ b/textproc/docbook-400/pkg-comment
@@ -0,0 +1 @@
+V4.0 of the DocBook DTD, designed for technical documentation
diff --git a/textproc/docbook-400/pkg-descr b/textproc/docbook-400/pkg-descr
new file mode 100644
index 000000000000..e1a3e2cb5dc1
--- /dev/null
+++ b/textproc/docbook-400/pkg-descr
@@ -0,0 +1,10 @@
+The DocBook DTD defines structural and content-based SGML markup
+for computer documentation, with a primary emphasis on software
+documentation and related classes of technical documents. Its
+main high-level hierarchical structures are for books, reference
+entries (for example, ``man pages''), and articles. It is
+maintained by the DocBook Technical Committee of OASIS.
+
+This port contains DocBook 4.0 BETA 5.
+
+WWW: http://www.oasis-open.org/docbook/
diff --git a/textproc/docbook-400/pkg-plist b/textproc/docbook-400/pkg-plist
new file mode 100644
index 000000000000..eda173f5fb9d
--- /dev/null
+++ b/textproc/docbook-400/pkg-plist
@@ -0,0 +1,18 @@
+share/sgml/docbook/4.0/40chg.txt
+share/sgml/docbook/4.0/50issues.txt
+share/sgml/docbook/4.0/cals-tbl.dtd
+share/sgml/docbook/4.0/dbcent.mod
+share/sgml/docbook/4.0/dbgenent.mod
+share/sgml/docbook/4.0/dbhier.mod
+share/sgml/docbook/4.0/dbnotn.mod
+share/sgml/docbook/4.0/dbpool.mod
+share/sgml/docbook/4.0/docbook.cat
+share/sgml/docbook/4.0/docbook.dcl
+share/sgml/docbook/4.0/docbook.dtd
+@unexec %%MKCATALOG%% -q deinstall %%DTD_NAME%%/%%DTD_VERSION%%
+share/sgml/docbook/4.0/catalog
+@exec %%MKCATALOG%% -q install %%DTD_NAME%%/%%DTD_VERSION%%
+share/sgml/docbook/4.0/readme.txt
+@dirrm share/sgml/docbook/4.0
+@unexec rmdir %D/share/sgml/docbook 2>/dev/null || true
+@unexec rmdir %D/share/sgml 2>/dev/null || true