summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild')
-rw-r--r--net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild b/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild
new file mode 100644
index 000000000000..3f43519bb47c
--- /dev/null
+++ b/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/pftpfxp/pftpfxp-0.11.4.6-r1.ebuild,v 1.1 2005/02/01 07:49:25 dragonheart Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="The powerful curses-based ftp/fxp client, mew edition"
+HOMEPAGE="http://pftpmew.tanesha.net"
+SRC_URI="http://tanesha.net/bigmess/pftpfxp-v0.11.4mew6.tgz"
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="crypt"
+DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )"
+S=${WORKDIR}/pftpfxp-mew
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc3.4.fix || die "patch failed"
+ epatch ${FILESDIR}/pftpfxp-v0.11.4mew6-pret.patch || die "patch failed"
+ sed -i -e "s/^CPP=.*/CPP=$(tc-getCXX)/" \
+ -e "s:^CPPF=.*:CPPF=\"-Wall -D_REENTRANT -I../include ${CFLAGS}\":" \
+ configure
+}
+
+src_compile() {
+ cd ${S}
+ #note: not a propper autoconf
+ ./configure || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin pftp
+ dodoc .pftp/config .pftp/keymap README.MEW old/*
+ cd ${WORKDIR}
+ mv irssi mIRC-mew pftpfxp-autoconnect ${D}/usr/share/doc/${PF}
+}
+
+pkg_postinst() {
+ einfo "In order to use pftp-mew you need to create these files:"
+ einfo " ~/.pftp/config"
+ einfo " ~/.pftp/keymap"
+ einfo "Refer to the examples in /usr/share/doc/${PF} for more information."
+}