summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-04-27 12:11:22 +0000
committerMichał Górny <mgorny@gentoo.org>2013-04-27 12:11:22 +0000
commit146df5d86436323969fd9b771baf2189bfa57bf1 (patch)
tree5f45f79c37ca322e348596052173135da6894dd8 /www-servers/boa
parentUse eapi5 as there is no reason not to. (diff)
downloadgentoo-2-146df5d86436323969fd9b771baf2189bfa57bf1.tar.gz
gentoo-2-146df5d86436323969fd9b771baf2189bfa57bf1.tar.bz2
gentoo-2-146df5d86436323969fd9b771baf2189bfa57bf1.zip
Take over and clean the ebuild up.
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
Diffstat (limited to 'www-servers/boa')
-rw-r--r--www-servers/boa/ChangeLog8
-rw-r--r--www-servers/boa/boa-0.94.14_rc21.ebuild35
-rw-r--r--www-servers/boa/metadata.xml3
3 files changed, 24 insertions, 22 deletions
diff --git a/www-servers/boa/ChangeLog b/www-servers/boa/ChangeLog
index f764534fdd04..b05296fabc5a 100644
--- a/www-servers/boa/ChangeLog
+++ b/www-servers/boa/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-servers/boa
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/ChangeLog,v 1.17 2012/03/21 11:24:08 pacho Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/ChangeLog,v 1.18 2013/04/27 12:11:22 mgorny Exp $
+
+ 27 Apr 2013; Michal Gorny <mgorny@gentoo.org> boa-0.94.14_rc21.ebuild,
+ metadata.xml:
+ Take over and clean the ebuild up.
21 Mar 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop www-server herd as discussed in gentoo-dev ML.
diff --git a/www-servers/boa/boa-0.94.14_rc21.ebuild b/www-servers/boa/boa-0.94.14_rc21.ebuild
index 8593c4d5b5cc..567cef06d769 100644
--- a/www-servers/boa/boa-0.94.14_rc21.ebuild
+++ b/www-servers/boa/boa-0.94.14_rc21.ebuild
@@ -1,38 +1,37 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/boa-0.94.14_rc21.ebuild,v 1.6 2011/08/02 06:23:01 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/boa/boa-0.94.14_rc21.ebuild,v 1.7 2013/04/27 12:11:22 mgorny Exp $
+EAPI=5
inherit eutils
-MY_PV=${PV/_/}
-DESCRIPTION="A very small and very fast http daemon."
-SRC_URI="http://www.boa.org/${PN}-${MY_PV}.tar.gz"
+MY_P=${P/_/}
+DESCRIPTION="A very small and very fast http daemon"
+SRC_URI="http://www.boa.org/${MY_P}.tar.gz"
HOMEPAGE="http://www.boa.org/"
-KEYWORDS="~x86 ~sparc ~mips ~ppc ~amd64"
+KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc"
-S=${WORKDIR}/${PN}-${MY_PV}
RDEPEND=""
DEPEND="sys-devel/bison
sys-devel/flex
doc? ( virtual/latex-base )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+S=${WORKDIR}/${MY_P}
+src_prepare() {
epatch "${FILESDIR}"/${P}-texi.patch
epatch "${FILESDIR}"/${P}-ENOSYS.patch
}
src_compile() {
- econf || die
- emake || die
+ default
+
use doc || sed -i -e '/^all:/s/boa.dvi //' docs/Makefile
- emake docs || die
+ emake docs
}
src_install() {
@@ -46,18 +45,16 @@ src_install() {
fi
keepdir /var/log/boa
- dodir /var/www/localhost/htdocs
- dodir /var/www/localhost/cgi-bin
- dodir /var/www/localhost/icons
+ keepdir /var/www/localhost/htdocs
+ keepdir /var/www/localhost/cgi-bin
+ keepdir /var/www/localhost/icons
+ newinitd "${FILESDIR}"/boa.rc6 boa
newconfd "${FILESDIR}"/boa.conf.d boa
exeinto /usr/lib/boa
doexe src/boa_indexer
- newinitd "${FILESDIR}"/boa.rc6 boa
-
- dodir /etc/boa
insinto /etc/boa
doins "${FILESDIR}"/boa.conf
doins "${FILESDIR}"/mime.types
diff --git a/www-servers/boa/metadata.xml b/www-servers/boa/metadata.xml
index 91f4e72fb544..5cb9324943ab 100644
--- a/www-servers/boa/metadata.xml
+++ b/www-servers/boa/metadata.xml
@@ -2,6 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
- <email>maintainer-needed@gentoo.org</email>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
</maintainer>
</pkgmetadata>