Skip site navigation (1)Skip section navigation (2)
Date:      8 Jul 2002 05:59:54 -0000
From:      Joe Abley <jabley@automagic.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40323: new port xml2rfc
Message-ID:  <20020708055954.88612.qmail@felix.automagic.org>

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

>Number:         40323
>Category:       ports
>Synopsis:       new port xml2rfc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 07 23:00:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joe Abley
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Internet Software Consortium
>Environment:
System: FreeBSD felix.automagic.org 4.6-STABLE FreeBSD 4.6-STABLE #2: Thu Jul 4 12:58:51 PDT 2002 jabley@felix.automagic.org:/usr/obj/usr/src/sys/YOWYOW i386


	
>Description:
New port: xml2rfc. Renders documents authored in XML/RFC2629 in text,
html or nroff, in a manner pleasing to the eye.
>How-To-Repeat:
cd /usr/ports/textproc && make install && make clean
>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:
#
#	xml2rfc
#	xml2rfc/Makefile
#	xml2rfc/pkg-comment
#	xml2rfc/pkg-descr
#	xml2rfc/pkg-plist
#	xml2rfc/distinfo
#	xml2rfc/files
#	xml2rfc/files/patch-tcl-00
#
echo c - xml2rfc
mkdir -p xml2rfc > /dev/null 2>&1
echo x - xml2rfc/Makefile
sed 's/^X//' >xml2rfc/Makefile << 'END-of-xml2rfc/Makefile'
X# New ports collection makefile for: xml2rfc
X# Date created:         8 July 2002
X# Whom:                 jabley@automagic.org
X#
X# $FreeBSD$
X
XPORTNAME=	xml2rfc
XPORTVERSION=	1.13
XCATEGORIES=	textproc tcl83
XMASTER_SITES=	http://xml.resource.org/authoring/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	jabley@automagic.org
X
XRUN_DEPENDS=	tclsh8.3:${PORTSDIR}/lang/tcl83
X
X.if !defined(WITHOUT_X11)
XRUN_DEPENDS+=	wish8.3:${PORTSDIR}/x11-toolkits/tk83
XCATEGORIES+=	tk83
X.endif
X
Xdo-build:
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/xml2rfc.tcl ${PREFIX}/bin/xml2rfc
X	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2txt
X	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2html
X	${LN} ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2nroff
X	${MKDIR} ${PREFIX}/share/doc/xml2rfc
X	for doc in README.html README.txt README.xml \
X	    draft-mrose-writing-rfcs.html draft-mrose-writing-rfcs.txt \
X	    rfc2629.dtd rfc2629.html rfc2629.txt rfc2629.xml rfc2629.xslt; \
X	do ${INSTALL_DATA} ${WRKSRC}/$${doc} ${PREFIX}/share/doc/xml2rfc; \
X	done
X
X.include <bsd.port.mk>
END-of-xml2rfc/Makefile
echo x - xml2rfc/pkg-comment
sed 's/^X//' >xml2rfc/pkg-comment << 'END-of-xml2rfc/pkg-comment'
XA tool to create RFCs and related documents from XML, as per RFC2629
END-of-xml2rfc/pkg-comment
echo x - xml2rfc/pkg-descr
sed 's/^X//' >xml2rfc/pkg-descr << 'END-of-xml2rfc/pkg-descr'
XThis is a port of xml2rfc, a tool for producing documents formatted
Xaccording to the requirements of the RFC editor from XML, as described
Xin RFC 2629.
X
XWWW: http://xml.resource.org/
X
Xjabley@automagic.org
END-of-xml2rfc/pkg-descr
echo x - xml2rfc/pkg-plist
sed 's/^X//' >xml2rfc/pkg-plist << 'END-of-xml2rfc/pkg-plist'
Xbin/xml2rfc
Xbin/xml2txt
Xbin/xml2html
Xbin/xml2nroff
Xshare/doc/xml2rfc/README.html
Xshare/doc/xml2rfc/README.txt
Xshare/doc/xml2rfc/README.xml
Xshare/doc/xml2rfc/draft-mrose-writing-rfcs.html
Xshare/doc/xml2rfc/draft-mrose-writing-rfcs.txt
Xshare/doc/xml2rfc/rfc2629.dtd
Xshare/doc/xml2rfc/rfc2629.html
Xshare/doc/xml2rfc/rfc2629.txt
Xshare/doc/xml2rfc/rfc2629.xml
Xshare/doc/xml2rfc/rfc2629.xslt
X@dirrm share/doc/xml2rfc
END-of-xml2rfc/pkg-plist
echo x - xml2rfc/distinfo
sed 's/^X//' >xml2rfc/distinfo << 'END-of-xml2rfc/distinfo'
XMD5 (xml2rfc-1.13.tgz) = f424ad53ef361d101af61a4318647d28
END-of-xml2rfc/distinfo
echo c - xml2rfc/files
mkdir -p xml2rfc/files > /dev/null 2>&1
echo x - xml2rfc/files/patch-tcl-00
sed 's/^X//' >xml2rfc/files/patch-tcl-00 << 'END-of-xml2rfc/files/patch-tcl-00'
X--- xml2rfc.tcl.orig    Sun Jul  7 21:48:45 2002
X+++ xml2rfc.tcl Sun Jul  7 22:25:54 2002
X@@ -1,7 +1,7 @@
X #!/bin/sh
X # the next line restarts using the correct interpreter \
X-if   test ! -z "$DISPLAY"; then exec wish "$0" "$0" "$@"; \
X-elif test ! -z "$1";       then exec tclsh "$0" "$0" "$@"; \
X+if   test ! -z "$DISPLAY"; then exec wish8.3 "$0" "$0" "$@"; \
X+elif test ! -z "$1";       then exec tclsh8.3 "$0" "$0" "$@"; \
X else                            echo "usage: $0 filename" >&2; exit 1; fi
END-of-xml2rfc/files/patch-tcl-00
exit

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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