diff options
-rw-r--r-- | app-text/xmlformat/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/xmlformat/Manifest | 2 | ||||
-rw-r--r-- | app-text/xmlformat/files/digest-xmlformat-1.03 | 1 | ||||
-rw-r--r-- | app-text/xmlformat/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/xmlformat/xmlformat-1.03.ebuild | 44 |
5 files changed, 63 insertions, 0 deletions
diff --git a/app-text/xmlformat/ChangeLog b/app-text/xmlformat/ChangeLog new file mode 100644 index 000000000000..09b8a180471f --- /dev/null +++ b/app-text/xmlformat/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-text/xmlformat +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xmlformat/ChangeLog,v 1.1 2004/09/02 10:01:49 usata Exp $ + +*xmlformat-1.03 (02 Sep 2004) + + 02 Sep 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml, + +xmlformat-1.03.ebuild: + Initial import. Ebuild submitted by Dennis Nienhüser <fragfred@gmx.de>, + closing bug #52440. + diff --git a/app-text/xmlformat/Manifest b/app-text/xmlformat/Manifest new file mode 100644 index 000000000000..0fd250aff92e --- /dev/null +++ b/app-text/xmlformat/Manifest @@ -0,0 +1,2 @@ +MD5 23de2929e0690c15ef00e0fd2f26b154 xmlformat-1.03.ebuild 687 +MD5 4e124221bbf01efc00260a2530492b4c files/digest-xmlformat-1.03 66 diff --git a/app-text/xmlformat/files/digest-xmlformat-1.03 b/app-text/xmlformat/files/digest-xmlformat-1.03 new file mode 100644 index 000000000000..4b5cf2ba22fc --- /dev/null +++ b/app-text/xmlformat/files/digest-xmlformat-1.03 @@ -0,0 +1 @@ +MD5 23a1a4f6c49cc83ebae0f8f25d1e2069 xmlformat-1.03.tar.gz 136961 diff --git a/app-text/xmlformat/metadata.xml b/app-text/xmlformat/metadata.xml new file mode 100644 index 000000000000..06689a1a9114 --- /dev/null +++ b/app-text/xmlformat/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>text-markup</herd> +</pkgmetadata> diff --git a/app-text/xmlformat/xmlformat-1.03.ebuild b/app-text/xmlformat/xmlformat-1.03.ebuild new file mode 100644 index 000000000000..63fa4d94c06c --- /dev/null +++ b/app-text/xmlformat/xmlformat-1.03.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/xmlformat/xmlformat-1.03.ebuild,v 1.1 2004/09/02 10:01:49 usata Exp $ + +DESCRIPTION="Reformat XML documents to your custom style" +SRC_URI="http://www.kitebird.com/software/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.kitebird.com/software/xmlformat/" + +SLOT="0" +LICENSE="xmlformat" +KEYWORDS="~x86" + +DEPEND="ruby? ( virtual/ruby ) + !ruby? ( dev-lang/perl )" +IUSE="ruby doc" + +src_install() { + dobin xmlformat.pl + + if use ruby + then + dobin xmlformat.rb + dosym /usr/bin/xmlformat.rb /usr/bin/xmlformat + else + dosym /usr/bin/xmlformat.pl /usr/bin/xmlformat + fi + + dodoc BUGS ChangeLog LICENSE README TODO + + if use doc + then + # APIs + cp -R docs/* ${D}/usr/share/doc/${PF} + fi +} + +src_test() { + if use ruby + then + ./runtest all || die "runtest for ruby failed." + else + ./runtest -p all || die "runtest for perl failed." + fi +} |