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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Aug 28 09:07:00 2012 UTC (2 years ago) by radhermit
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20