summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-04-23 12:16:19 +0000
committerStuart Herbert <stuart@gentoo.org>2004-04-23 12:16:19 +0000
commita82e92667a773ad1e3f015325271295866f94a05 (patch)
treeb61f71f3acf8f386a0ec4d88a4debc38ef28ccc2 /dev-util
parentFixing dep version (diff)
downloadhistorical-a82e92667a773ad1e3f015325271295866f94a05.tar.gz
historical-a82e92667a773ad1e3f015325271295866f94a05.tar.bz2
historical-a82e92667a773ad1e3f015325271295866f94a05.zip
Initial import
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/htp/ChangeLog10
-rw-r--r--dev-util/htp/Manifest4
-rw-r--r--dev-util/htp/files/digest-htp-1.151
-rw-r--r--dev-util/htp/htp-1.15.ebuild44
-rw-r--r--dev-util/htp/metadata.xml8
5 files changed, 67 insertions, 0 deletions
diff --git a/dev-util/htp/ChangeLog b/dev-util/htp/ChangeLog
new file mode 100644
index 000000000000..bc8e2a68093b
--- /dev/null
+++ b/dev-util/htp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/htp/ChangeLog,v 1.1 2004/04/23 12:16:19 stuart Exp $
+
+*htp-1.15 (23 Apr 2004)
+
+ 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> htp-1.15.ebuild,
+ metadata.xml:
+ Initial import; thanks to DC <ddcc@email.com>; see bug #40573
+
diff --git a/dev-util/htp/Manifest b/dev-util/htp/Manifest
new file mode 100644
index 000000000000..0ee0d2ecedce
--- /dev/null
+++ b/dev-util/htp/Manifest
@@ -0,0 +1,4 @@
+MD5 40687264b78e0ed1c8713f55c84a6804 htp-1.15.ebuild 1321
+MD5 bfb0459d0302209842266298dce83dac ChangeLog 392
+MD5 3d182d43f7f0341a9a42f96694f04e72 metadata.xml 224
+MD5 4b08ad1357658091af427ddbb0d7b389 files/digest-htp-1.15 60
diff --git a/dev-util/htp/files/digest-htp-1.15 b/dev-util/htp/files/digest-htp-1.15
new file mode 100644
index 000000000000..47c2f2fbe7df
--- /dev/null
+++ b/dev-util/htp/files/digest-htp-1.15
@@ -0,0 +1 @@
+MD5 ce242bb935e0b88b6ecee62372d6739d htp-1.15.tar.gz 144975
diff --git a/dev-util/htp/htp-1.15.ebuild b/dev-util/htp/htp-1.15.ebuild
new file mode 100644
index 000000000000..fe0d296a2211
--- /dev/null
+++ b/dev-util/htp/htp-1.15.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/htp/htp-1.15.ebuild,v 1.1 2004/04/23 12:16:19 stuart Exp $
+
+DESCRIPTION="An HTML preprocessor"
+HOMEPAGE="http://htp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="Clarified-Artistic"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE=""
+
+DEPEND="virtual/glibc"
+RDEPEND="virtual/glibc"
+
+# HTP does not use autoconf, have to set options defined in Makefile.config
+
+src_unpack() {
+ unpack ${A} || die
+ # Patch to remove meta-generator tag with "ego-gratifying Easter egg":
+ patch "${S}/src/misc-proc.c" << EOF || die
+ @@ -24,10 +23,0 @@
+ - /* authors ego-gratifying easter egg */
+ - /* put a generator meta-tag at the end of the HTML header */
+ - StreamPrintF(task->outfile,
+ - "<meta name=\"Generator\" content=\"%s %s\"",
+ - PROGRAM_NAME, VER_STRING);
+ - if(IsOptionEnabled(OPT_I_XML)) {
+ - StreamPrintF(task->outfile, " />\n");
+ - } else {
+ - StreamPrintF(task->outfile, ">\n");
+ - }
+EOF
+}
+
+src_compile() {
+ emake CCOPT="-c ${CFLAGS}" || die
+}
+
+src_install() {
+ make DESTDIR="${D}" prefix="${D}/usr" pkgdocdir="${D}/usr/share/doc/${PF}" \
+ install || die
+}
diff --git a/dev-util/htp/metadata.xml b/dev-util/htp/metadata.xml
new file mode 100644
index 000000000000..0d59c319c3eb
--- /dev/null
+++ b/dev-util/htp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>webapps</herd>
+<maintainer>
+ <email>web-apps@gentoo.org</email>
+</maintainer>
+</pkgmetadata>