aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/docbook
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>1999-04-15 06:36:12 +0800
committernik <nik@FreeBSD.org>1999-04-15 06:36:12 +0800
commit2f2fc4949ef2da89c40e2367ea00faaf010a8561 (patch)
tree988f62cad81dc34da085a712102bdb8f880cf8c4 /textproc/docbook
parentb8a9ef6a78b8be874fd790336fb35773249de284 (diff)
downloadfreebsd-ports-gnome-2f2fc4949ef2da89c40e2367ea00faaf010a8561.tar.gz
freebsd-ports-gnome-2f2fc4949ef2da89c40e2367ea00faaf010a8561.tar.zst
freebsd-ports-gnome-2f2fc4949ef2da89c40e2367ea00faaf010a8561.zip
Thsi is now a meta-port. Installing it will bring in versions 2.4.1, 3.0
and 3.1 of the DocBook DTD from the docbook-* ports. Should make it a little easier to drop in support for new versions in the future.
Diffstat (limited to 'textproc/docbook')
-rw-r--r--textproc/docbook/Makefile52
-rw-r--r--textproc/docbook/pkg-comment2
-rw-r--r--textproc/docbook/pkg-descr19
-rw-r--r--textproc/docbook/pkg-plist24
4 files changed, 28 insertions, 69 deletions
diff --git a/textproc/docbook/Makefile b/textproc/docbook/Makefile
index 0035952c4df9..7e74acd01b7e 100644
--- a/textproc/docbook/Makefile
+++ b/textproc/docbook/Makefile
@@ -1,41 +1,33 @@
-# New ports collection makefile for: docbook
-# Version required: 3.0
-# Date created: June 19, 1997
-# Whom: jfieber
+# New ports collection makefile for: docbook
+# Version required: N/A
+# Date created: 7 April 1999
+# Whom: Nik Clayton <nik@freebsd.org>
#
-# $Id: Makefile,v 1.3 1997/07/10 02:41:08 jfieber Exp $
+# Based heavily on work by jfieber
+#
+# $Id$
#
-DISTNAME= docbook-3.0
-CATEGORIES= textproc
-MASTER_SITES= ftp://ftp.ora.com/pub/davenport/
-DISTFILES= docbk241.tar.Z docbk30.tar.Z
+DISTNAME= docbook
+PKGNAME= docbook
+CATEGORIES= textproc
+MASTER_SITES= # empty
+DISTFILES= # empty
-MAINTAINER= jfieber@FreeBSD.ORG
+MAINTAINER= nik@freebsd.org
-RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879
+BUILD_DEPENDS= ${PREFIX}/share/sgml/docbook/2.4.1:${PORTSDIR}/textproc/docbook-241 \
+ ${PREFIX}/share/sgml/docbook/3.0:${PORTSDIR}/textproc/docbook-300 \
+ ${PREFIX}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310
-NO_MTREE= yes
-EXTRACT_ONLY= # empty
+EXTRACT_ONLY= # empty
NO_BUILD= yes
-NO_WRKSUBDIR= yes
-
-INSTDIR= ${PREFIX}/share/sgml/docbook
-ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
-pre-install:
- @[ -d ${INSTDIR}/2.4.1 ] || ${MKDIR} ${INSTDIR}/2.4.1
- @[ -d ${INSTDIR}/3.0 ] || ${MKDIR} ${INSTDIR}/3.0
+do-install: # empty
-do-install:
- @zcat ${DISTDIR}/docbk241.tar.Z |(cd ${INSTDIR}/2.4.1; pax -r)
- @${INSTALL_DATA} ${FILESDIR}/catalog241 ${INSTDIR}/2.4.1/catalog
- @echo "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/2.4.1/catalog
- @zcat ${DISTDIR}/docbk30.tar.Z |(cd ${INSTDIR}/3.0; pax -r)
- @${INSTALL_DATA} ${FILESDIR}/catalog30 ${INSTDIR}/3.0/catalog
- @echo "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/3.0/catalog
- @chmod ${SHAREMODE} ${INSTDIR}/2.4.1/*
- @chmod ${SHAREMODE} ${INSTDIR}/3.0/*
- @/usr/sbin/chown -R ${SHAREOWN}.${SHAREGRP} ${INSTDIR}
+post-install:
+ echo 'CATALOG "2.4.1/catalog"' > ${PREFIX}/share/sgml/docbook/catalog
+ echo 'CATALOG "3.0/catalog"' >> ${PREFIX}/share/sgml/docbook/catalog
+ echo 'CATALOG "3.1/catalog"' >> ${PREFIX}/share/sgml/docbook/catalog
.include <bsd.port.mk>
diff --git a/textproc/docbook/pkg-comment b/textproc/docbook/pkg-comment
index ca11a0177c19..c25aa181fd2d 100644
--- a/textproc/docbook/pkg-comment
+++ b/textproc/docbook/pkg-comment
@@ -1 +1 @@
-An SGML DTD designed for computer documentation
+Meta-port for the different versions of the DocBook DTD.
diff --git a/textproc/docbook/pkg-descr b/textproc/docbook/pkg-descr
index 2a83bf555180..f826be9b8d75 100644
--- a/textproc/docbook/pkg-descr
+++ b/textproc/docbook/pkg-descr
@@ -1,16 +1,5 @@
-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 Davenport Group (about which see the Davenport
-archive at http://www.ora.com/davenport/ or
-ftp://ftp.ora.com/pub/davenport/).
+A meta-port for the DocBook DTD. This port depends upon the docbook-*
+ports, to ensure that they are installed correctly.
-This port contains DocBook versions 2.4.1 and 3.0.
-
-The DocBook documentation is available in ASCII and PDF
-at http://www.freebsd.org/~wosch/docbook/
-
-John Fieber
-jfieber@FreeBSD.org
+Nik Clayton
+nik@freebsd.org
diff --git a/textproc/docbook/pkg-plist b/textproc/docbook/pkg-plist
index 6c0f7fb304d2..1fe9b166ed14 100644
--- a/textproc/docbook/pkg-plist
+++ b/textproc/docbook/pkg-plist
@@ -1,23 +1 @@
-share/sgml/docbook/2.4.1/241chg.txt
-share/sgml/docbook/2.4.1/calstbl.mod
-share/sgml/docbook/2.4.1/dbgenent.mod
-share/sgml/docbook/2.4.1/dbhier.mod
-share/sgml/docbook/2.4.1/dbpool.mod
-share/sgml/docbook/2.4.1/docbook.cat
-share/sgml/docbook/2.4.1/docbook.dcl
-share/sgml/docbook/2.4.1/docbook.dtd
-share/sgml/docbook/2.4.1/catalog
-share/sgml/docbook/3.0/30chg.txt
-share/sgml/docbook/3.0/40issues.txt
-share/sgml/docbook/3.0/announce.txt
-share/sgml/docbook/3.0/cals-tbl.dtd
-share/sgml/docbook/3.0/dbgenent.mod
-share/sgml/docbook/3.0/dbhier.mod
-share/sgml/docbook/3.0/dbpool.mod
-share/sgml/docbook/3.0/docbook.cat
-share/sgml/docbook/3.0/docbook.dcl
-share/sgml/docbook/3.0/docbook.dtd
-share/sgml/docbook/3.0/catalog
-@dirrm share/sgml/docbook/2.4.1
-@dirrm share/sgml/docbook/3.0
-@dirrm share/sgml/docbook
+@comment this plist intentionally left blank