Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2004 17:59:26 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62517: New port: textproc/xmlformat
Message-ID:  <200402080859.i188xQ5q038173@alph.allbsd.org>
Resent-Message-ID: <200402080900.i1890U7L028557@freefall.freebsd.org>

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

>Number:         62517
>Category:       ports
>Synopsis:       New port: textproc/xmlformat
>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:   Sun Feb 08 01:00:29 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hiroki Sato
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Tokyo University of Science
>Environment:
System: FreeBSD alph.allbsd.org 4.8-STABLE FreeBSD 4.8-STABLE #7: Tue May 20 00:05:43 JST 2003     hrs@alph.allbsd.org:/home/obj/home/src/sys/ALPH  i386

>Description:
	xmlformat is a configurable formatter (or "pretty-printer") for
	XML documents.  It provides control over indentation, line-breaking,
	and text wrapping.  These properties can be defined on a per-element basis.

>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:
#
#	xmlformat
#	xmlformat/Makefile
#	xmlformat/pkg-plist
#	xmlformat/distinfo
#	xmlformat/pkg-descr
#
echo c - xmlformat
mkdir -p xmlformat > /dev/null 2>&1
echo x - xmlformat/Makefile
sed 's/^X//' >xmlformat/Makefile << 'END-of-xmlformat/Makefile'
X# New ports collection makefile for:	xmlformat
X# Date created:		8 Feb 2004
X# Whom:			hrs
X#
X# $FreeBSD$
X
XPORTNAME=	xmlformat
XPORTVERSION=	1.02
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.kitebird.com/software/xmlformat/
X
XMAINTAINER=	hrs@FreeBSD.org
XCOMMENT=	An XML Document Formatter
X
XNO_BUILD=	yes
XUSE_PERL5=	yes
X
XDOCSRCDIR1=	${WRKSRC}
XDOC_FILES1=	BUGS ChangeLog INSTALL LICENSE README TODO
X
XDOCSRCDIR2=	${WRKSRC}/docs
XDOCSDIR2=	${DOCSDIR}/docs
XDOC_FILES2+=	API catalog.xml
XDOC_FILES2+=	tutorial.html tutorial.pdf tutorial.xml
XDOC_FILES2+=	xmlformat.conf xmlformat.html xmlformat.pdf xmlformat.xml
X
XEXSRCDIR=	${WRKSRC}/docs/examples
XEXDIR=		${DOCSDIR}/docs/examples
XEX_FILES+=	doc1.xml doc2.conf1 doc2.conf2 doc2.conf3
XEX_FILES+=	doc2.conf4 doc2.xml
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/xmlformat.pl ${PREFIX}/bin/xmlformat
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOC_FILES1:S,^,${DOCSRCDIR1}/,} ${DOCSDIR}
X	${MKDIR} ${DOCSDIR2}
X	${INSTALL_DATA} ${DOC_FILES2:S,^,${DOCSRCDIR2}/,} ${DOCSDIR2}
X	${MKDIR} ${EXDIR}
X	${INSTALL_DATA} ${EX_FILES:S,^,${EXSRCDIR}/,} ${EXDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-xmlformat/Makefile
echo x - xmlformat/pkg-plist
sed 's/^X//' >xmlformat/pkg-plist << 'END-of-xmlformat/pkg-plist'
X@comment $FreeBSD$
X%%PORTDOCS%%%%DOCSDIR%%/docs/examples/doc2.conf1
X%%PORTDOCS%%%%DOCSDIR%%/docs/examples/doc2.conf2
X%%PORTDOCS%%%%DOCSDIR%%/docs/examples/doc2.conf3
X%%PORTDOCS%%%%DOCSDIR%%/docs/examples/doc2.conf4
X%%PORTDOCS%%%%DOCSDIR%%/docs/examples/doc1.xml
X%%PORTDOCS%%%%DOCSDIR%%/docs/examples/doc2.xml
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs/examples
X%%PORTDOCS%%%%DOCSDIR%%/docs/API
X%%PORTDOCS%%%%DOCSDIR%%/docs/catalog.xml
X%%PORTDOCS%%%%DOCSDIR%%/docs/tutorial.html
X%%PORTDOCS%%%%DOCSDIR%%/docs/tutorial.pdf
X%%PORTDOCS%%%%DOCSDIR%%/docs/tutorial.xml
X%%PORTDOCS%%%%DOCSDIR%%/docs/xmlformat.conf
X%%PORTDOCS%%%%DOCSDIR%%/docs/xmlformat.html
X%%PORTDOCS%%%%DOCSDIR%%/docs/xmlformat.pdf
X%%PORTDOCS%%%%DOCSDIR%%/docs/xmlformat.xml
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
X%%PORTDOCS%%%%DOCSDIR%%/BUGS
X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TODO
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
Xbin/xmlformat
END-of-xmlformat/pkg-plist
echo x - xmlformat/distinfo
sed 's/^X//' >xmlformat/distinfo << 'END-of-xmlformat/distinfo'
XMD5 (xmlformat-1.02.tar.gz) = 0fd53db6e015a9da8d81fc3a75685554
XSIZE (xmlformat-1.02.tar.gz) = 136660
END-of-xmlformat/distinfo
echo x - xmlformat/pkg-descr
sed 's/^X//' >xmlformat/pkg-descr << 'END-of-xmlformat/pkg-descr'
Xxmlformat is a configurable formatter (or "pretty-printer") for
XXML documents.  It provides control over indentation, line-breaking,
Xand text wrapping.  These properties can be defined on a per-element basis.
X
XWWW: http://www.kitebird.com/software/xmlformat/
END-of-xmlformat/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?200402080859.i188xQ5q038173>