/[gentoo-x86]/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r3.ebuild
Gentoo

Contents of /net-ftp/pftpfxp/pftpfxp-0.11.4.6-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun May 6 11:00:51 2007 UTC (7 years, 4 months ago) by genone
Branch: MAIN
Changes since 1.2: +5 -5 lines
Replacing einfo with elog
(Portage version: 2.1.2.5)

1 armin76 1.2 # Copyright 1999-2007 Gentoo Foundation
2 dragonheart 1.1 # Distributed under the terms of the GNU General Public License v2
3 genone 1.3 # $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r3.ebuild,v 1.2 2007/03/15 15:09:34 armin76 Exp $
4 dragonheart 1.1
5     inherit eutils toolchain-funcs
6    
7     DESCRIPTION="The powerful curses-based ftp/fxp client, mew edition"
8     HOMEPAGE="http://pftpmew.tanesha.net"
9     SRC_URI="http://tanesha.net/bigmess/pftpfxp-v0.11.4mew6.tgz"
10     LICENSE="as-is"
11     SLOT="0"
12 armin76 1.2 KEYWORDS="~amd64 ~ppc x86"
13 dragonheart 1.1 IUSE="ssl"
14     DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )"
15     S=${WORKDIR}/pftpfxp-mew
16    
17     src_unpack() {
18     unpack ${A}
19     cd "${S}"
20     epatch "${FILESDIR}"/${PV}-gcc3.4.fix || die "patch failed"
21     epatch "${FILESDIR}"/pftpfxp-v0.11.4mew6-pret.patch || die "patch failed"
22     epatch "${FILESDIR}"/${PV}-correct_config_fix.patch || die "patch failed"
23     epatch "${FILESDIR}"/${PV}-correct_bookmark_path.patch || die "patch failed"
24     sed -i -e "s/^CPP=.*/CPP=$(tc-getCXX)/" \
25     -e "s:^CPPF=.*:CPPF=\"-Wall -D_REENTRANT -I../include ${CFLAGS}\":" \
26     configure
27     }
28    
29     src_compile() {
30     cd "${S}"
31     #note: not a propper autoconf
32     ./configure || die "configure failed"
33     emake || die "emake failed"
34     }
35    
36     src_install() {
37     dobin pftp
38     dodoc .pftp/config .pftp/keymap README.MEW old/*
39     cd "${WORKDIR}"
40     mv irssi mIRC-mew pftpfxp-autoconnect "${D}"/usr/share/doc/${PF}
41     }
42    
43     pkg_postinst() {
44 genone 1.3 elog "In order to use pftp-mew you need to create these files:"
45     elog " ~/.pftp/config"
46     elog " ~/.pftp/keymap"
47     elog "Refer to the examples in /usr/share/doc/${PF} for more information."
48 dragonheart 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20