Lines 1-8
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.2.4.ebuild,v 1.1 2010/04/15 21:00:13 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.2.3.ebuild,v 1.1 2010/02/11 08:41:17 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=3 |
6 |
inherit eutils |
6 |
inherit eutils |
7 |
if [[ ${PV} == "9999" ]] ; then |
7 |
if [[ ${PV} == "9999" ]] ; then |
8 |
ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" |
8 |
ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" |
Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
LICENSE="GPL-3" |
18 |
LICENSE="GPL-3" |
19 |
SLOT="0" |
19 |
SLOT="0" |
20 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
20 |
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" |
21 |
IUSE="debug justify minimal ncurses nls slang spell unicode" |
21 |
IUSE="debug justify minimal ncurses nls slang spell unicode" |
22 |
|
22 |
|
23 |
DEPEND=">=sys-libs/ncurses-5.2[unicode?] |
23 |
DEPEND=">=sys-libs/ncurses-5.2[unicode?] |
Lines 43-49
Link Here
|
43 |
|| myconf="${myconf} $(use_with slang)" |
43 |
|| myconf="${myconf} $(use_with slang)" |
44 |
|
44 |
|
45 |
econf \ |
45 |
econf \ |
46 |
--bindir=/bin \ |
46 |
--bindir="${EPREFIX}"/bin \ |
47 |
$(use_enable !minimal color) \ |
47 |
$(use_enable !minimal color) \ |
48 |
$(use_enable !minimal multibuffer) \ |
48 |
$(use_enable !minimal multibuffer) \ |
49 |
$(use_enable !minimal nanorc) \ |
49 |
$(use_enable !minimal nanorc) \ |
Lines 72-80
Link Here
|
72 |
insinto /usr/share/nano |
72 |
insinto /usr/share/nano |
73 |
local f |
73 |
local f |
74 |
for f in "${FILESDIR}"/*.nanorc ; do |
74 |
for f in "${FILESDIR}"/*.nanorc ; do |
75 |
[[ -e ${D}/usr/share/nano/${f##*/} ]] && continue |
75 |
[[ -e ${ED}/usr/share/nano/${f##*/} ]] && continue |
76 |
doins "${f}" || die |
76 |
doins "${f}" || die |
77 |
echo "# include \"/usr/share/nano/${f##*/}\"" >> "${D}"/etc/nanorc |
77 |
echo "# include \"/usr/share/nano/${f##*/}\"" >> "${ED}"/etc/nanorc |
78 |
done |
78 |
done |
79 |
} |
79 |
} |
80 |
|
80 |
|