Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 20:44:15 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65122: New port: textproc/docbook-430
Message-ID:  <200404031144.i33BiFLv034065@alph.allbsd.org>
Resent-Message-ID: <200404031150.i33BoGme091760@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65122
>Category:       ports
>Synopsis:       New port: textproc/docbook-430
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 03 03:50:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Fri Mar 19 04:20:12 JST 2004     hrs@alph.allbsd.org:/usr/obj/usr/src/sys/ALPH  i386

>Description:
	The DocBook DTD defines structural and content-based SGML markup
	for computer documentation.  This port is for DocBook/SGML 4.3
	(a version of DocBook DTD is incompatible with another version).

>How-To-Repeat:
	N/A

>Fix:

# 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-430
#	docbook-430/files
#	docbook-430/files/patch-catalog
#	docbook-430/Makefile
#	docbook-430/distinfo
#	docbook-430/pkg-descr
#
echo c - docbook-430
mkdir -p docbook-430 > /dev/null 2>&1
echo c - docbook-430/files
mkdir -p docbook-430/files > /dev/null 2>&1
echo x - docbook-430/files/patch-catalog
sed 's/^X//' >docbook-430/files/patch-catalog << 'END-of-docbook-430/files/patch-catalog'
X--- catalog.orig	Sat Apr  3 19:51:36 2004
X+++ catalog	Sat Apr  3 19:52:15 2004
X@@ -49,65 +49,5 @@
X PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN"
X        "dbcentx.mod"
X 
X-  -- ...................................................................... --
X-  -- ISO entity sets ...................................................... --
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN"
X-       "iso-dia.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN"
X-       "iso-num.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN"
X-       "iso-pub.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN"
X-       "iso-tech.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN"
X-       "iso-lat1.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN"
X-       "iso-lat2.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN"
X-       "iso-grk1.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN"
X-       "iso-grk2.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN"
X-       "iso-grk3.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN"
X-       "iso-grk4.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN"
X-       "iso-amsa.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN"
X-       "iso-amsb.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN"
X-       "iso-amsc.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN"
X-       "iso-amsn.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN"
X-       "iso-amso.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN"
X-       "iso-amsr.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN"
X-       "iso-box.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN"
X-       "iso-cyr1.gml"
X-
X-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN"
X-       "iso-cyr2.gml"
X-
X   -- End of catalog data for DocBook V4.3 ................................. --
X   -- ...................................................................... --
END-of-docbook-430/files/patch-catalog
echo x - docbook-430/Makefile
sed 's/^X//' >docbook-430/Makefile << 'END-of-docbook-430/Makefile'
X# New ports collection makefile for:	docbook-430
X# Date created:		02 Apr 2004
X# Whom:			hrs
X#
X# $FreeBSD$
X
XPORTNAME=	docbook
XPORTVERSION=	4.3
XCATEGORIES=	textproc
XMASTER_SITES=	http://docbook.org/sgml/${PORTVERSION}/
X
XMAINTAINER=	hrs@FreeBSD.org
XCOMMENT=	DocBook/SGML DTD V4.3, designed for technical documentation
X
XRUN_DEPENDS=	${LOCALBASE}/${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
X		${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
X
XUSE_ZIP=	yes
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XLATEST_LINK=	${PORTNAME}-430
XPLIST=		${WRKSRC}/pkg-plist
X
XSGMLCATBASE=	share/sgml
XDTD_NAME=	${PORTNAME}
XDTD_VERSION=	${PORTVERSION}
XISOCAT=		${SGMLCATBASE}/iso8879/catalog
X
XXMLCATMGR=	${LOCALBASE}/bin/xmlcatmgr
XCATALOG_PORTS_SGML=	${PREFIX}/${SGMLCATBASE}/catalog.ports
XREGIST_CAT_FLAGS_SGML=	-sc ${CATALOG_PORTS_SGML} \
X			add CATALOG ${DTD_NAME}/${DTD_VERSION}/catalog
XUNREGIST_CAT_FLAGS_SGML=	-sc ${CATALOG_PORTS_SGML} \
X			remove CATALOG ${DTD_NAME}/${DTD_VERSION}/catalog
X
XDOC_FILES=	ChangeLog README
XDTDDIR=		${SGMLCATBASE}/${DTD_NAME}/${DTD_VERSION}
XDTD_FILES=	calstblx.dtd catalog.xml dbcentx.mod dbgenent.mod \
X		dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbook.dcl \
X		docbook.dtd docbookx.dtd htmltblx.mod soextblx.dtd catalog
X
Xpost-extract:
X	${CP} ${WRKSRC}/docbook.cat ${WRKSRC}/catalog
X
Xpost-patch:
X	${ECHO_CMD} 'CATALOG "${LOCALBASE}/${ISOCAT}"' >> ${WRKSRC}/catalog
X
Xpre-install:
X	(for F in ${DTD_FILES}; do \
X			${ECHO_CMD} "${DTDDIR}/$${F}"; \
X		done;\
X	${ECHO_CMD} "@dirrm ${DTDDIR}";\
X	${ECHO_CMD} "@unexec rmdir %D/${SGMLCATBASE}/${DTD_NAME} 2> /dev/null || true"; ) > ${PLIST}
X.if !defined(NOPORTDOCS)
X	(for F in ${DOC_FILES}; do \
X			${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
X		done;\
X	${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
X.endif
X	${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_SGML}" >> ${PLIST}
X	${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_SGML}" >> ${PLIST}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${DTDDIR}
X	${INSTALL_DATA} ${DTD_FILES:S,^,${WRKSRC}/,} ${PREFIX}/${DTDDIR}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES:S,^,${WRKSRC}/,} ${DOCSDIR}
X.endif
X
Xpost-install:
X	-${XMLCATMGR} ${REGIST_CAT_FLAGS_SGML}
X
X.include <bsd.port.mk>
END-of-docbook-430/Makefile
echo x - docbook-430/distinfo
sed 's/^X//' >docbook-430/distinfo << 'END-of-docbook-430/distinfo'
XMD5 (docbook-4.3.zip) = e3beb1b0b2923c24fa55a68e88654b01
XSIZE (docbook-4.3.zip) = 66117
END-of-docbook-430/distinfo
echo x - docbook-430/pkg-descr
sed 's/^X//' >docbook-430/pkg-descr << 'END-of-docbook-430/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.3.  Note that DocBook 4.3 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-430
Xinstead.  There are no conflicts if both ports are installed
Xbut you will have duplicates of most of the files.
X
XWWW: http://www.docbook.org/sgml/4.3/index.html
END-of-docbook-430/pkg-descr
exit

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404031144.i33BiFLv034065>