summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-04-21 14:52:50 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-04-21 14:52:50 +0000
commit76c6ecf2e1692053f018f2b2c59bf3bc2bede51a (patch)
tree0a9d870edc305cd23afea9f73290accf7b835902 /net-ftp/bareftp
parentMarking apache-2.2.11 ppc64 for bug 265705 (diff)
downloadgentoo-2-76c6ecf2e1692053f018f2b2c59bf3bc2bede51a.tar.gz
gentoo-2-76c6ecf2e1692053f018f2b2c59bf3bc2bede51a.tar.bz2
gentoo-2-76c6ecf2e1692053f018f2b2c59bf3bc2bede51a.zip
Initial commit. Ebuild by Sebastian Magrí <sebasmagri@gmail.com> . Bug 266932.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp/bareftp')
-rw-r--r--net-ftp/bareftp/ChangeLog11
-rw-r--r--net-ftp/bareftp/bareftp-0.2.2.ebuild38
-rw-r--r--net-ftp/bareftp/files/bareftp-0.2.2-script.patch65
-rw-r--r--net-ftp/bareftp/metadata.xml5
4 files changed, 119 insertions, 0 deletions
diff --git a/net-ftp/bareftp/ChangeLog b/net-ftp/bareftp/ChangeLog
new file mode 100644
index 000000000000..c873b456e699
--- /dev/null
+++ b/net-ftp/bareftp/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for net-ftp/bareftp
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/bareftp/ChangeLog,v 1.1 2009/04/21 14:52:50 loki_val Exp $
+
+*bareftp-0.2.2 (21 Apr 2009)
+
+ 21 Apr 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +files/bareftp-0.2.2-script.patch, +metadata.xml, +bareftp-0.2.2.ebuild:
+ Initial commit. Ebuild by Sebastian Magrí <sebasmagri@gmail.com> . Bug
+ 266932.
+
diff --git a/net-ftp/bareftp/bareftp-0.2.2.ebuild b/net-ftp/bareftp/bareftp-0.2.2.ebuild
new file mode 100644
index 000000000000..8ae9ad101340
--- /dev/null
+++ b/net-ftp/bareftp/bareftp-0.2.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/bareftp/bareftp-0.2.2.ebuild,v 1.1 2009/04/21 14:52:50 loki_val Exp $
+
+EAPI=2
+
+inherit mono eutils autotools gnome2
+
+DESCRIPTION="Mono based file transfer client"
+HOMEPAGE="http://www.bareftp.org/"
+SRC_URI="http://www.bareftp.org/release/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND=">=dev-lang/mono-2.0
+ >=dev-dotnet/gtk-sharp-2.12
+ >=dev-dotnet/gnome-sharp-2.20
+ >=dev-dotnet/gnomevfs-sharp-2.20
+ >=dev-dotnet/gconf-sharp-2.20"
+DEPEND="${DEPEND}"
+
+pkg_setup() {
+ G2CONF="--disable-caches"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+ epatch "${FILESDIR}/${PN}-0.2.2-script.patch"
+ eautoreconf
+}
+
+src_install() {
+ gnome2_src_install
+ dodoc ChangeLog README || die "dodoc failed"
+}
diff --git a/net-ftp/bareftp/files/bareftp-0.2.2-script.patch b/net-ftp/bareftp/files/bareftp-0.2.2-script.patch
new file mode 100644
index 000000000000..9fbd557787e3
--- /dev/null
+++ b/net-ftp/bareftp/files/bareftp-0.2.2-script.patch
@@ -0,0 +1,65 @@
+diff -NrU5 bareftp-0.2.2.orig/bareftp.in bareftp-0.2.2/bareftp.in
+--- bareftp-0.2.2.orig/bareftp.in 1970-01-01 01:00:00.000000000 +0100
++++ bareftp-0.2.2/bareftp.in 2009-04-21 15:30:53.000000000 +0200
+@@ -0,0 +1,2 @@
++#!/bin/sh
++exec @MONO@ @libdir@/bareftp/bareftp.exe $MONO_EXTRA_ARGS "$@"
+diff -NrU5 bareftp-0.2.2.orig/configure.ac bareftp-0.2.2/configure.ac
+--- bareftp-0.2.2.orig/configure.ac 2009-04-21 15:37:34.000000000 +0200
++++ bareftp-0.2.2/configure.ac 2009-04-21 16:01:52.000000000 +0200
+@@ -61,10 +61,12 @@
+ AC_SUBST(LOCALE_DIR)
+
+ AC_OUTPUT([
+ Makefile
+
++bareftp
++
+ m4/Makefile
+
+ data/Makefile
+ data/icon-theme/Makefile
+ po/Makefile.in
+diff -NrU5 bareftp-0.2.2.orig/Makefile.am bareftp-0.2.2/Makefile.am
+--- bareftp-0.2.2.orig/Makefile.am 2009-04-21 15:37:34.000000000 +0200
++++ bareftp-0.2.2/Makefile.am 2009-04-21 16:02:18.000000000 +0200
+@@ -1,5 +1,6 @@
++ACLOCAL_AMFLAGS = -I m4/shamrock -I m4/bareftp
+
+ bin_SCRIPTS = bareftp
+ EXTRA_DIST = \
+ script.in \
+ intltool-extract.in \
+@@ -13,16 +14,10 @@
+ data \
+ src \
+ m4 \
+ po
+
+-REWRITE = \
+- sed -e "s|\@prefix\@|$(prefix)|g" \
+- -e "s|\@pkglibdir\@|$(pkglibdir)|g" \
+- -e "s|\@bindir\@|$(bindir)|g" \
+- -e "s|\@MONO\@|$(MONO)|g"
+-
+ DISTCLEANFILES = \
+ *.bak \
+ *~ \
+ *.pidb \
+ intltool-extract \
+@@ -45,9 +40,5 @@
+ intltool-extract.in \
+ intltool-merge.in \
+ intltool-update.in \
+ mkinstalldirs \
+ $(bin_SCRIPTS)
+-
+-$(bin_SCRIPTS): $(srcdir)/script.in Makefile
+- $(REWRITE) $(srcdir)/script.in > $@.tmp
+- mv $@.tmp $@
+diff -NrU5 bareftp-0.2.2.orig/script.in bareftp-0.2.2/script.in
+--- bareftp-0.2.2.orig/script.in 2009-04-21 15:37:34.000000000 +0200
++++ bareftp-0.2.2/script.in 1970-01-01 01:00:00.000000000 +0100
+@@ -1,2 +0,0 @@
+-#!/bin/sh
+-exec @MONO@ @prefix@/lib/bareftp/bareftp.exe $MONO_EXTRA_ARGS "$@"
diff --git a/net-ftp/bareftp/metadata.xml b/net-ftp/bareftp/metadata.xml
new file mode 100644
index 000000000000..e85974a7fa17
--- /dev/null
+++ b/net-ftp/bareftp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>dotnet</herd>
+</pkgmetadata>