aboutsummaryrefslogtreecommitdiff
path: root/textproc/docbook
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-04-14 22:36:12 +0000
committerNik Clayton <nik@FreeBSD.org>1999-04-14 22:36:12 +0000
commit84e9c9f802f05e3e53e1782d17aef4eb591278c1 (patch)
treed691c13fb00644ff1c5d1a4797384ff90d2ed04e /textproc/docbook
parent93a34c2b824fba782cc23fb35b20f5d9e5edbf3e (diff)
downloadports-84e9c9f802f05e3e53e1782d17aef4eb591278c1.tar.gz
ports-84e9c9f802f05e3e53e1782d17aef4eb591278c1.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.
Notes
Notes: svn path=/head/; revision=17883
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