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

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

>Number:         65123
>Category:       ports
>Synopsis:       New port: textproc/docbook-xml-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/XML 4.3.

>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-xml-430
#	docbook-xml-430/Makefile
#	docbook-xml-430/distinfo
#	docbook-xml-430/pkg-descr
#
echo c - docbook-xml-430
mkdir -p docbook-xml-430 > /dev/null 2>&1
echo x - docbook-xml-430/Makefile
sed 's/^X//' >docbook-xml-430/Makefile << 'END-of-docbook-xml-430/Makefile'
X# New ports collection makefile for:	docbook-xml-430
X# Date created:		02 Apr 2004
X# Whom:			hrs
X#
X# $FreeBSD$
X
XPORTNAME=	docbook-xml
XPORTVERSION=	4.3
XCATEGORIES=	textproc
XMASTER_SITES=	http://docbook.org/xml/${PORTVERSION}/
X
XMAINTAINER=	hrs@FreeBSD.org
XCOMMENT=	DocBook/XML DTD V4.3, designed for technical documentation
X
XRUN_DEPENDS=	${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
X
XUSE_ZIP=	yes
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XLATEST_LINK=	${PORTNAME}-430
XPLIST=		${WRKSRC}/pkg-plist
X
XXMLCATBASE=	share/xml
XDTD_NAME=	${PORTNAME:S,-xml,,}
XDTD_VERSION=	${PORTVERSION}
X
XXMLCATMGR=	${LOCALBASE}/bin/xmlcatmgr
XCATALOG_PORTS_XML=	${PREFIX}/${XMLCATBASE}/catalog.ports
XREGIST_CAT_FLAGS_XML=	-c ${CATALOG_PORTS_XML} \
X			add nextCatalog ${DTD_NAME}/${DTD_VERSION}/catalog.xml
XUNREGIST_CAT_FLAGS_XML=	-c ${CATALOG_PORTS_XML} \
X			remove nextCatalog ${DTD_NAME}/${DTD_VERSION}/catalog.xml
X
XDOC_FILES=	ChangeLog README
XDTDDIR=		${XMLCATBASE}/${DTD_NAME}/${DTD_VERSION}
XDTD_FILES=	calstblx.dtd catalog.xml dbcentx.mod dbgenent.mod \
X		dbhierx.mod dbnotnx.mod dbpoolx.mod docbook.cat docbookx.dtd \
X		htmltblx.mod soextblx.dtd
XENTDIR=		${DTDDIR}/ent
XENT_FILES=	iso-amsa.ent iso-amsb.ent iso-amsc.ent iso-amsn.ent \
X		iso-amso.ent iso-amsr.ent iso-box.ent iso-cyr1.ent \
X		iso-cyr2.ent iso-dia.ent iso-grk1.ent iso-grk2.ent \
X		iso-grk3.ent iso-grk4.ent iso-lat1.ent iso-lat2.ent \
X		iso-num.ent iso-pub.ent iso-tech.ent
X
Xpre-install:
X	(for F in ${ENT_FILES}; do \
X			${ECHO_CMD} "${ENTDIR}/$${F}"; \
X		done;\
X	${ECHO_CMD} "@dirrm ${ENTDIR}"; ) > ${PLIST}
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/${XMLCATBASE}/${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_XML}" >> ${PLIST}
X	${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_XML}" >> ${PLIST}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/${DTDDIR}
X	${INSTALL_DATA} ${DTD_FILES:S,^,${WRKSRC}/,} ${PREFIX}/${DTDDIR}
X	${MKDIR} ${PREFIX}/${ENTDIR}
X	${INSTALL_DATA} ${ENT_FILES:S,^,${WRKSRC}/ent/,} ${PREFIX}/${ENTDIR}
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_XML}
X
X.include <bsd.port.mk>
END-of-docbook-xml-430/Makefile
echo x - docbook-xml-430/distinfo
sed 's/^X//' >docbook-xml-430/distinfo << 'END-of-docbook-xml-430/distinfo'
XMD5 (docbook-xml-4.3.zip) = ab200202b9e136a144db1e0864c45074
XSIZE (docbook-xml-4.3.zip) = 83865
END-of-docbook-xml-430/distinfo
echo x - docbook-xml-430/pkg-descr
sed 's/^X//' >docbook-xml-430/pkg-descr << 'END-of-docbook-xml-430/pkg-descr'
XXML version of the DocBook DTD V4.3.
X
XWWW: http://www.docbook.org/xml/4.3/index.html
END-of-docbook-xml-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.i33BiJxb034117>