summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2007-11-03 10:40:52 +0000
committerSven Wegener <swegener@gentoo.org>2007-11-03 10:40:52 +0000
commitc8dccdfe873ff60897184eda612d3e95b7e029d1 (patch)
treeaf41042af2cfb04126695d89c9c1d4d1ee0ae6e2 /dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
parentfix ChangeLog header (diff)
downloadgentoo-2-c8dccdfe873ff60897184eda612d3e95b7e029d1.tar.gz
gentoo-2-c8dccdfe873ff60897184eda612d3e95b7e029d1.tar.bz2
gentoo-2-c8dccdfe873ff60897184eda612d3e95b7e029d1.zip
Use epatch bulkpatching. Remove /usr/doc from installation.
(Portage version: 2.1.3.17)
Diffstat (limited to 'dev-libs/pcre++/pcre++-0.9.5-r1.ebuild')
-rw-r--r--dev-libs/pcre++/pcre++-0.9.5-r1.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
index f04871f778c7..7f0a47a17c27 100644
--- a/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
+++ b/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild,v 1.10 2007/09/28 12:02:37 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pcre++/pcre++-0.9.5-r1.ebuild,v 1.11 2007/11/03 10:40:52 swegener Exp $
inherit eutils autotools
@@ -20,9 +20,10 @@ src_unpack() {
unpack ${A}
cd "${S}"
- for p in "${WORKDIR}"/${P}-patches/*.patch ; do
- epatch "${p}"
- done
+ EPATCH_SUFFIX="patch" \
+ EPATCH_SOURCE="${WORKDIR}/${P}-patches" \
+ EPATCH_FORCE="yes" \
+ epatch
./autogen.sh || die "autogen.sh failed"
}
@@ -31,9 +32,8 @@ src_install() {
emake DESTDIR="${D}" install || die "make failed"
dodoc AUTHORS ChangeLog NEWS README TODO
- cd ${S}/doc/html
- dohtml -r .
+ dohtml -r doc/html/.
+ doman doc/man/man3/Pcre.3
- cd ${S}/doc/man/man3
- doman Pcre.3
+ rm -rf "${D}"/usr/doc
}