summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2006-03-26 23:00:07 +0000
committerHanno Böck <hanno@gentoo.org>2006-03-26 23:00:07 +0000
commitce8fa76b0565af2111c23d4dfa5595067db24560 (patch)
tree0cef26933f9a03b0529d17643f9741434a3a0a68 /sys-libs
parentRemove Polish doc as it's broken in 1.3.9 package. (diff)
downloadgentoo-2-ce8fa76b0565af2111c23d4dfa5595067db24560.tar.gz
gentoo-2-ce8fa76b0565af2111c23d4dfa5595067db24560.tar.bz2
gentoo-2-ce8fa76b0565af2111c23d4dfa5595067db24560.zip
gwenhywfar ebuild cleanup
(Portage version: 2.1_pre7-r1)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/gwenhywfar/ChangeLog5
-rw-r--r--sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild23
2 files changed, 12 insertions, 16 deletions
diff --git a/sys-libs/gwenhywfar/ChangeLog b/sys-libs/gwenhywfar/ChangeLog
index 1e3c0907897f..fa544337debb 100644
--- a/sys-libs/gwenhywfar/ChangeLog
+++ b/sys-libs/gwenhywfar/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/gwenhywfar
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gwenhywfar/ChangeLog,v 1.27 2006/03/26 20:52:11 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gwenhywfar/ChangeLog,v 1.28 2006/03/26 23:00:07 hanno Exp $
+
+ 26 Mar 2006; Hanno Boeck <hanno@gentoo.org> gwenhywfar-2.1.1.ebuild:
+ Clean up ebuild.
*gwenhywfar-2.1.1 (26 Mar 2006)
diff --git a/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild b/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild
index 40535757dc5f..7545ba6c1cc1 100644
--- a/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild
+++ b/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild,v 1.1 2006/03/26 20:52:11 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gwenhywfar/gwenhywfar-2.1.1.ebuild,v 1.2 2006/03/26 23:00:07 hanno Exp $
DESCRIPTION="A multi-platform helper library for other libraries"
HOMEPAGE="http://gwenhywfar.sourceforge.net"
@@ -12,31 +12,24 @@ KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="debug ssl doc ncurses"
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )
- sys-libs/ncurses
- doc? ( app-doc/doxygen )
- ncurses? ( sys-libs/ncurses )"
+ sys-libs/ncurses
+ doc? ( app-doc/doxygen )
+ ncurses? ( sys-libs/ncurses )"
S=${WORKDIR}/${P}
src_compile() {
- if use doc; then
- APIDOC="--with-docpath=/usr/share/doc/${P}/apidoc"
- fi
econf \
`use_enable ssl` \
`use_enable debug` \
`use_enable doc full-doc` \
`use_enable ncurses gwenui` \
- ${APIDOC} || die "configure failed"
+ --with-docpath=/usr/share/doc/${P}/apidoc || die "configure failed"
emake || die "emake failed"
- if use doc; then
- emake srcdoc || die "Building the api-doc failed"
- fi
+ use doc && (emake srcdoc || die)
}
src_install() {
- make DESTDIR=${D} install || die
+ einstall || die
dodoc README* AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL TODO
- if use doc; then
- make DESTDIR=${D} install-srcdoc || die "Installing the API-Doc failed"
- fi
+ use doc && (make DESTDIR=${D} install-srcdoc || die)
}