summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-17 16:29:57 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-17 16:29:57 +0000
commit97c254ab7a77edb86d7d02ce50027dd7e157c1c0 (patch)
tree68528669939865d54a7f30a5bdfa757967dc9955 /app-admin/newsyslog/newsyslog-1.1.ebuild
parentstable on ppc64 (Manifest recommit) (diff)
downloadgentoo-2-97c254ab7a77edb86d7d02ce50027dd7e157c1c0.tar.gz
gentoo-2-97c254ab7a77edb86d7d02ce50027dd7e157c1c0.tar.bz2
gentoo-2-97c254ab7a77edb86d7d02ce50027dd7e157c1c0.zip
Use make install DESTDIR.
Diffstat (limited to 'app-admin/newsyslog/newsyslog-1.1.ebuild')
-rw-r--r--app-admin/newsyslog/newsyslog-1.1.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/app-admin/newsyslog/newsyslog-1.1.ebuild b/app-admin/newsyslog/newsyslog-1.1.ebuild
index e9680822188e..69061bf92973 100644
--- a/app-admin/newsyslog/newsyslog-1.1.ebuild
+++ b/app-admin/newsyslog/newsyslog-1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/newsyslog/newsyslog-1.1.ebuild,v 1.13 2004/11/03 16:30:14 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/newsyslog/newsyslog-1.1.ebuild,v 1.14 2004/11/17 16:29:57 vapier Exp $
inherit eutils
@@ -10,7 +10,7 @@ SRC_URI="ftp://ftp.weird.com/pub/local/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="x86 ppc ~sparc ~mips alpha hppa ~ppc64"
+KEYWORDS="alpha hppa ~mips ppc ~ppc64 ~sparc x86"
IUSE=""
DEPEND="sys-apps/groff"
@@ -18,12 +18,13 @@ RDEPEND="virtual/cron
app-arch/gzip"
src_unpack() {
- unpack ${A} ; cd ${S}
+ unpack ${A}
+ cd ${S}
epatch ${FILESDIR}/newsyslog-html.patch
}
src_compile() {
- myconf="--with-syslogd_pid=/var/run/syslog.pid"
+ local myconf="--with-syslogd_pid=/var/run/syslog.pid"
has_version 'app-admin/syslog-ng' \
&& myconf="--with-syslogd_pid=/var/run/syslog-ng.pid"
@@ -37,10 +38,10 @@ src_compile() {
}
src_install() {
- einstall catmandir=${D}/usr/share/man
-
- rm -rf ${D}/usr/share/man/cat?
-
+ make \
+ DESTDIR="${D}" \
+ catmandir=${D}/usr/share/man \
+ install || die "install failed"
dodoc newsyslog.conf AUTHORS ChangeLog INSTALL NEWS README.* ToDo
prepalldocs
}