summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-04-15 03:34:56 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-04-15 03:34:56 +0000
commitdfdbb61aced08113085ac94c20021fcb93e26aa6 (patch)
treefb9ff8c7bc4bfdbe327d92cb592c1935c704eec6 /net-misc/xsmbrowser
parentInitial commit. Ebuild submitted by Qubax, plus a few fixes. (diff)
downloadhistorical-dfdbb61aced08113085ac94c20021fcb93e26aa6.tar.gz
historical-dfdbb61aced08113085ac94c20021fcb93e26aa6.tar.bz2
historical-dfdbb61aced08113085ac94c20021fcb93e26aa6.zip
Initial commit. Ebuild submitted by Qubax, plus a few fixes.
Diffstat (limited to 'net-misc/xsmbrowser')
-rw-r--r--net-misc/xsmbrowser/Manifest3
-rw-r--r--net-misc/xsmbrowser/files/digest-xsmbrowser-3.4.01
-rw-r--r--net-misc/xsmbrowser/xsmbrowser-3.4.0.ebuild37
3 files changed, 40 insertions, 1 deletions
diff --git a/net-misc/xsmbrowser/Manifest b/net-misc/xsmbrowser/Manifest
index 438eca2b95b2..27f3501f36dc 100644
--- a/net-misc/xsmbrowser/Manifest
+++ b/net-misc/xsmbrowser/Manifest
@@ -1,2 +1,3 @@
-MD5 9709132d0c6ced2dd24a7e41e34f33a7 xsmbrowser-3.4.0.ebuild 1110
+MD5 0d42e5b827f37686ccbb3c8370535f9f xsmbrowser-3.4.0.ebuild 1220
+MD5 be8cc1e74230100c08d1dc3bac66cc98 ChangeLog 393
MD5 df7c069a9a03a9594a809ee7df0606d4 files/digest-xsmbrowser-3.4.0 67
diff --git a/net-misc/xsmbrowser/files/digest-xsmbrowser-3.4.0 b/net-misc/xsmbrowser/files/digest-xsmbrowser-3.4.0
new file mode 100644
index 000000000000..dd72646b3079
--- /dev/null
+++ b/net-misc/xsmbrowser/files/digest-xsmbrowser-3.4.0
@@ -0,0 +1 @@
+MD5 c5f454d1ed848a926a720ad724fcca80 xsmbrowser-3.4.0.tar.gz 75593
diff --git a/net-misc/xsmbrowser/xsmbrowser-3.4.0.ebuild b/net-misc/xsmbrowser/xsmbrowser-3.4.0.ebuild
new file mode 100644
index 000000000000..d8cf2f27bc21
--- /dev/null
+++ b/net-misc/xsmbrowser/xsmbrowser-3.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License
+# $Header: /var/cvsroot/gentoo-x86/net-misc/xsmbrowser/xsmbrowser-3.4.0.ebuild,v 1.1 2003/04/15 03:34:51 pebenito Exp $
+
+DESCRIPTION="GUI SMB browser with preview written in expect"
+HOMEPAGE="http://www.public.iastate.edu/~chadspen/xsmbrowser.html"
+LICENSE="GPL-2"
+RDEPEND="virtual/x11
+ net-fs/samba
+ dev-tcltk/expect"
+KEYWORDS="~x86"
+SLOT="0"
+SRC_URI="http://www.public.iastate.edu/~chadspen/${P}.tar.gz"
+S=${WORKDIR}/${P}
+
+pkg_setup() {
+ if [ -z "`use X`" ]; then
+ eerror " "
+ eerror "You must have X in your USE flags. Expect must be compiled with X support."
+ eerror "Without X support, xSMBrowser will not function."
+ eerror " "
+ eerror "If expect is already merged, you probably have to remerge it with USE=\"X\"."
+ eerror " "
+ die "You must have USE=\"X\"."
+ fi
+}
+
+src_install() {
+ dobin ${S}/xsmbrowser || die "xsmbrowser dobin failed"
+
+ # fix the default pixmap path
+ dosed s:\"pixmaps\":\"/usr/share/pixmaps/xsmbrowser\": \
+ /usr/bin/xsmbrowser || die "Pixmap path fix failed"
+
+ insinto /usr/share/pixmaps/xsmbrowser
+ doins ${S}/pixmaps/* || die "Pixmap doins failed"
+}