summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2005-08-06 23:45:35 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2005-08-06 23:45:35 +0000
commit07d579509141e9504692c5ecd70bdd8f47c587fb (patch)
tree30551e745c02efa7d03e4d2eb39439b3e6caba48 /www-servers/yaws/yaws-1.56.ebuild
parentStable on mips. (diff)
downloadgentoo-2-07d579509141e9504692c5ecd70bdd8f47c587fb.tar.gz
gentoo-2-07d579509141e9504692c5ecd70bdd8f47c587fb.tar.bz2
gentoo-2-07d579509141e9504692c5ecd70bdd8f47c587fb.zip
new port
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'www-servers/yaws/yaws-1.56.ebuild')
-rw-r--r--www-servers/yaws/yaws-1.56.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/www-servers/yaws/yaws-1.56.ebuild b/www-servers/yaws/yaws-1.56.ebuild
new file mode 100644
index 000000000000..dd5352198116
--- /dev/null
+++ b/www-servers/yaws/yaws-1.56.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/yaws/yaws-1.56.ebuild,v 1.1 2005/08/06 23:45:35 mkennedy Exp $
+
+inherit eutils
+
+DESCRIPTION="Yaws is a high performance HTTP 1.1 web server."
+HOMEPAGE="http://yaws.hyber.org/"
+SRC_URI="http://yaws.hyber.org/download/${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-lang/erlang"
+
+S=${WORKDIR}/${P}
+
+# see http://bugs.gentoo.org/show_bug.cgi?id=97707
+
+src_unpack() {
+ unpack ${A}
+ find ${S} -depth -type d -name .xvpics -exec rm -rf '{}' \;
+}
+
+src_compile() {
+ econf || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ # Use /var/log and not /var/lib/log for Yaws logging directory
+ rm -rf ${D}/var/lib/log
+ sed -i 's,/var/lib/log,/var/log,g' ${D}/etc/yaws.conf
+ keepdir /var/log/yaws
+ # We need to keep these directories so that the example yaws.conf works
+ # properly
+ keepdir /usr/lib/yaws/examples/ebin
+ keepdir /usr/lib/yaws/examples/include
+
+ dodoc ChangeLog LICENSE README
+}