diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2005-08-06 23:45:35 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2005-08-06 23:45:35 +0000 |
commit | 07d579509141e9504692c5ecd70bdd8f47c587fb (patch) | |
tree | 30551e745c02efa7d03e4d2eb39439b3e6caba48 /www-servers | |
parent | Stable on mips. (diff) | |
download | gentoo-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')
-rw-r--r-- | www-servers/yaws/ChangeLog | 10 | ||||
-rw-r--r-- | www-servers/yaws/Manifest | 3 | ||||
-rw-r--r-- | www-servers/yaws/files/digest-yaws-1.56 | 1 | ||||
-rw-r--r-- | www-servers/yaws/metadata.xml | 13 | ||||
-rw-r--r-- | www-servers/yaws/yaws-1.56.ebuild | 43 |
5 files changed, 70 insertions, 0 deletions
diff --git a/www-servers/yaws/ChangeLog b/www-servers/yaws/ChangeLog new file mode 100644 index 000000000000..38e122a3a198 --- /dev/null +++ b/www-servers/yaws/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-servers/yaws +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/yaws/ChangeLog,v 1.1 2005/08/06 23:45:35 mkennedy Exp $ + +*yaws-1.56 (06 Aug 2005) + + 06 Aug 2005; Matthew Kennedy <mkennedy@gentoo.org> +metadata.xml, + +yaws-1.56.ebuild: + Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>. + diff --git a/www-servers/yaws/Manifest b/www-servers/yaws/Manifest new file mode 100644 index 000000000000..a927b3b3f942 --- /dev/null +++ b/www-servers/yaws/Manifest @@ -0,0 +1,3 @@ +MD5 51deabcb0e8b1600fcddafd6a3242e29 yaws-1.56.ebuild 984 +MD5 29890d8b63da61f44362554db749bf57 metadata.xml 477 +MD5 0a81c233eb053a10cc3c54282aedc610 files/digest-yaws-1.56 61 diff --git a/www-servers/yaws/files/digest-yaws-1.56 b/www-servers/yaws/files/digest-yaws-1.56 new file mode 100644 index 000000000000..ee65767024ca --- /dev/null +++ b/www-servers/yaws/files/digest-yaws-1.56 @@ -0,0 +1 @@ +MD5 2892905e1e6ed92c4b92cf8d5d4a04d6 yaws-1.56.tar.gz 679438 diff --git a/www-servers/yaws/metadata.xml b/www-servers/yaws/metadata.xml new file mode 100644 index 000000000000..ed44fec6565b --- /dev/null +++ b/www-servers/yaws/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>mkennedy@gentoo.org</email> + </maintainer> +<longdescription> +Yaws is a high performance HTTP 1.1 web server supporting both standalone and +embedded modes of operation. Yaws is written entirely in Erlang and therefore +benefits from Erlang's light-weight process model. +</longdescription> +</pkgmetadata> 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 +} |