ports/58695: new port: textproc/docbook-420

Michael Edenfield kutulu at kutulu.org
Wed Oct 29 19:40:14 UTC 2003


>Number:         58695
>Category:       ports
>Synopsis:       new port: textproc/docbook-420
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 29 11:40:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Michael Edenfield
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD wombat.localnet 5.1-CURRENT FreeBSD 5.1-CURRENT #7: Sun Aug 24 21:35:57 EDT 2003 root at wombat.localnet:/usr/obj/usr/src/sys/ATHLON i386

>Description:
This port contains the SGML version of DocBook 4.2.  Note that DocBook 4.2 
includes the XML DocBook DTD as part of the SGML DTD distribution. This port
is a superset of textproc/docbook-xml, which includes only the XML DTD.


>How-To-Repeat:
>Fix:


--- docbook-420.shar begins here ---
# 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:
#
#	docbook-420
#	docbook-420/files
#	docbook-420/files/catalog
#	docbook-420/Makefile
#	docbook-420/distinfo
#	docbook-420/pkg-descr
#	docbook-420/pkg-plist
#
echo c - docbook-420
mkdir -p docbook-420 > /dev/null 2>&1
echo c - docbook-420/files
mkdir -p docbook-420/files > /dev/null 2>&1
echo x - docbook-420/files/catalog
sed 's/^X//' >docbook-420/files/catalog << 'END-of-docbook-420/files/catalog'
X  -- ...................................................................... --
X  -- Catalog data for DocBook V4.2 ........................................ --
X  -- File docbook.cat ..................................................... --
X
X  -- Please direct all questions, bug reports, or suggestions for
X     changes to the docbook at lists.oasis-open.org mailing list. For more
X     information, see http://www.oasis-open.org/.
X  --
X
X  -- This is the catalog data file for DocBook V4.2. It is provided as
X     a convenience in building your own catalog files. You need not use
X     the filenames listed here, and need not use the filename method of
X     identifying storage objects at all.  See the documentation for
X     detailed information on the files associated with the DocBook DTD.
X     See SGML Open Technical Resolution 9401 for detailed information
X     on supplying and using catalog data.
X  --
X
X  -- ...................................................................... --
X  -- DocBook driver file .................................................. --
X
XPUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
X
XPUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd"
X
X  -- ...................................................................... --
X  -- DocBook modules ...................................................... --
X
XPUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" "calstblx.dtd"
X
XPUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "soextblx.dtd"
X
XPUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "dbpoolx.mod"
X
XPUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "dbhierx.mod"
X
XPUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "dbgenent.mod"
X
XPUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "dbnotnx.mod"
X
XPUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "dbcentx.mod"
X
X  -- ...................................................................... --
X  -- ISO entity sets ...................................................... --
X
XPUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
X
XPUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
X
X  -- End of catalog data for DocBook V4.2 ................................. --
X  -- ...................................................................... --
END-of-docbook-420/files/catalog
echo x - docbook-420/Makefile
sed 's/^X//' >docbook-420/Makefile << 'END-of-docbook-420/Makefile'
X# New ports collection makefile for:	docbook-420
X# Date created:		29 Oct 2003
X# Whom:			kutulu
X#
X# Based on murray's docbook-410 port
X#     which is based on niks' docbook-310 port
X#
X# $FreeBSD$
X#
X
XPORTNAME=	docbook
XPORTVERSION=	4.2
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.docbook.org/sgml/4.2/
XEXTRACT_ONLY=	# empty
X
XMAINTAINER=	kutulu at kutulu.org
XCOMMENT=	V4.2 of the DocBook DTD, designed for technical documentation
X
XRUN_DEPENDS=	${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
X		${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
X
XUSE_ZIP=	yes
XNO_MTREE=	yes
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XPLIST_SUB=	DTD_NAME=${PORTNAME}
XPLIST_SUB+=	DTD_VERSION=${PORTVERSION}
XPLIST_SUB+=	XMLCATMGR=${XMLCATMGR}
XPLIST_SUB+=	CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
X
XINSTDIR=	${PREFIX}/share/sgml/docbook
XISOCAT=		${PREFIX}/share/sgml/iso8879/catalog
XXMLCATMGR=	${LOCALBASE}/bin/xmlcatmgr
XCATALOG_PORTS_SGML=	${PREFIX}/share/sgml/catalog.ports
X
XLATEST_LINK=	docbook-420
X
Xpre-install:
X	@[ -d ${INSTDIR}/${PORTVERSION} ] || ${MKDIR} ${INSTDIR}/${PORTVERSION}
X
Xdo-install:
X	@unzip -a -q -o ${DISTDIR}/${DISTFILES} -d ${INSTDIR}/${PORTVERSION}
X	@${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/${PORTVERSION}/catalog
X	@${ECHO_CMD} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/${PORTVERSION}/catalog
X	@${CHMOD} ${SHAREMODE} ${INSTDIR}/${PORTVERSION}/*
X	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
X
Xpost-install:
X	@${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/${PORTVERSION}/catalog
X
X.include <bsd.port.mk>
END-of-docbook-420/Makefile
echo x - docbook-420/distinfo
sed 's/^X//' >docbook-420/distinfo << 'END-of-docbook-420/distinfo'
XMD5 (docbook-4.2.zip) = 0dfeb94569334dd22a62d90d99fc0630
END-of-docbook-420/distinfo
echo x - docbook-420/pkg-descr
sed 's/^X//' >docbook-420/pkg-descr << 'END-of-docbook-420/pkg-descr'
XThe DocBook DTD defines structural and content-based SGML markup
Xfor computer documentation, with a primary emphasis on software
Xdocumentation and related classes of technical documents. Its
Xmain high-level hierarchical structures are for books, reference
Xentries (for example, ``man pages''), and articles. It is
Xmaintained by the DocBook Technical Committee of OASIS.
X
XThis port contains DocBook 4.2.  Note that DocBook 4.2 includes
Xthe XML DocBook DTD as part of the SGML DTD distribution.  If
Xyou do not need SGML DTD you should install:
X  textproc/docbook-xml
Xinstead.  There are no conflicts if both ports are installed
Xbut you will have duplicates of most of the files.
X
XWWW: http://www.oasis-open.org/docbook/
END-of-docbook-420/pkg-descr
echo x - docbook-420/pkg-plist
sed 's/^X//' >docbook-420/pkg-plist << 'END-of-docbook-420/pkg-plist'
Xshare/sgml/docbook/4.2/ChangeLog
Xshare/sgml/docbook/4.2/calstblx.dtd
X at unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove %%DTD_NAME%%/%%DTD_VERSION%%/catalog
Xshare/sgml/docbook/4.2/catalog
Xshare/sgml/docbook/4.2/catalog.xml
X at exec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% add CATALOG %%DTD_NAME%%/%%DTD_VERSION%%/catalog
Xshare/sgml/docbook/4.2/dbcentx.mod
Xshare/sgml/docbook/4.2/dbgenent.mod
Xshare/sgml/docbook/4.2/dbhierx.mod
Xshare/sgml/docbook/4.2/dbnotnx.mod
Xshare/sgml/docbook/4.2/dbpoolx.mod
Xshare/sgml/docbook/4.2/docbook.cat
Xshare/sgml/docbook/4.2/docbook.dcl
Xshare/sgml/docbook/4.2/docbook.dtd
Xshare/sgml/docbook/4.2/docbookx.dtd
Xshare/sgml/docbook/4.2/soextblx.dtd
Xshare/sgml/docbook/4.2/README
X at dirrm share/sgml/docbook/4.2
X at unexec rmdir %D/share/sgml/docbook 2>/dev/null || true
END-of-docbook-420/pkg-plist
exit
--- docbook-420.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list