/[gentoo-x86]/sys-apps/help2man/help2man-1.40.8.ebuild
Gentoo

Contents of /sys-apps/help2man/help2man-1.40.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon May 28 16:21:22 2012 UTC (11 months, 3 weeks ago) by armin76
Branch: MAIN
Changes since 1.7: +2 -2 lines
alpha/ia64/m68k/s390/sh/sparc stable wrt #412903

(Portage version: 2.1.10.53/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/help2man/help2man-1.40.8.ebuild,v 1.7 2012/04/28 17:50:12 nixnut Exp $
4
5 EAPI="4"
6
7 inherit eutils
8
9 DESCRIPTION="GNU utility to convert program --help output to a man page"
10 HOMEPAGE="http://www.gnu.org/software/help2man"
11 SRC_URI="mirror://gnu/help2man/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
16 IUSE="nls elibc_glibc"
17
18 RDEPEND="dev-lang/perl
19 elibc_glibc? ( nls? (
20 dev-perl/Locale-gettext
21 ) )"
22 DEPEND="${RDEPEND}
23 elibc_glibc? ( nls? (
24 dev-perl/Locale-gettext
25 ) )"
26
27 DOCS=( debian/changelog NEWS README THANKS ) #385753
28
29 src_prepare() {
30 epatch \
31 "${FILESDIR}"/${PN}-1.36.4-respect-LDFLAGS.patch \
32 "${FILESDIR}"/${PN}-1.38.4-linguas.patch
33 }
34
35 src_configure() {
36 local myconf
37 use elibc_glibc \
38 && myconf="${myconf} $(use_enable nls)" \
39 || myconf="${myconf} --disable-nls"
40 econf ${myconf}
41 }

  ViewVC Help
Powered by ViewVC 1.1.13