aboutsummaryrefslogtreecommitdiffstats
path: root/net/xsmbrowser
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2000-12-04 19:10:33 +0800
committeralex <alex@FreeBSD.org>2000-12-04 19:10:33 +0800
commit39dd786df12184960a3862342a99231e5904d491 (patch)
tree79240b7bac002f521ab1c1b548030c5b5f17c218 /net/xsmbrowser
parent8c82f8bce36893dbe0a1fc638cffd0f7e216c44d (diff)
downloadfreebsd-ports-gnome-39dd786df12184960a3862342a99231e5904d491.tar.gz
freebsd-ports-gnome-39dd786df12184960a3862342a99231e5904d491.tar.zst
freebsd-ports-gnome-39dd786df12184960a3862342a99231e5904d491.zip
Add xsmbrowser, a Tcl/Tk port of Windows' Network Neighborhood.
PR: 23260 Submitted by: Roman Shterenzon <roman@xpert.com>
Diffstat (limited to 'net/xsmbrowser')
-rw-r--r--net/xsmbrowser/Makefile29
-rw-r--r--net/xsmbrowser/distinfo1
-rw-r--r--net/xsmbrowser/files/patch-aa26
-rw-r--r--net/xsmbrowser/pkg-comment1
-rw-r--r--net/xsmbrowser/pkg-descr8
-rw-r--r--net/xsmbrowser/pkg-plist53
6 files changed, 118 insertions, 0 deletions
diff --git a/net/xsmbrowser/Makefile b/net/xsmbrowser/Makefile
new file mode 100644
index 000000000000..6ade07e16779
--- /dev/null
+++ b/net/xsmbrowser/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xsmbrowser
+# Date Created: 4 Dec 2000
+# Whom: Roman Shterenzon <roman@xpert.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xsmbrowser
+PORTVERSION= 3.2
+CATEGORIES= net
+MASTER_SITES= http://www2.iastate.edu/~chadspen/
+
+MAINTAINER= roman@xpert.com
+
+RUN_DEPENDS= ${LOCALBASE}/bin/smbclient:${PORTSDIR}/net/samba \
+ ${LOCALBASE}/bin/expectk:${PORTSDIR}/lang/expect
+
+RESTRICTED= "Commercial software"
+
+do-build:
+ ${PERL} -pi -e s!/etc!${PREFIX}/etc!g ${WRKSRC}/${PORTNAME}
+ ${PERL} -pi -e 's!"Image Path = pixmaps"!"Image Path = ${PREFIX}/share/${PORTNAME}"!' ${WRKSRC}/${PORTNAME}
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/net/xsmbrowser/distinfo b/net/xsmbrowser/distinfo
new file mode 100644
index 000000000000..5d49588a3439
--- /dev/null
+++ b/net/xsmbrowser/distinfo
@@ -0,0 +1 @@
+MD5 (xsmbrowser-3.2.tar.gz) = 7a46cea56628f16d5dc4d62a82a4b0d2
diff --git a/net/xsmbrowser/files/patch-aa b/net/xsmbrowser/files/patch-aa
new file mode 100644
index 000000000000..75c348d68329
--- /dev/null
+++ b/net/xsmbrowser/files/patch-aa
@@ -0,0 +1,26 @@
+--- xsmbrowser.orig Mon Dec 4 11:34:06 2000
++++ xsmbrowser Mon Dec 4 11:36:25 2000
+@@ -1,4 +1,4 @@
+-#!/usr/bin/expectk -f
++#!/usr/local/bin/expectk -f
+ # xSMBrowser - Samba GUI that emulates Network Neighborhood
+ # Copyright (c) 2000 Chad Spencer
+
+@@ -6816,7 +6816,7 @@
+ $helpwindow.text.area insert end " -------------------------------\n"
+ $helpwindow.text.area insert end " The .xsmbrowser-config file contains various setup settings. Looking at\n"
+ $helpwindow.text.area insert end " this file, the most important settings are as follows.\n"
+- $helpwindow.text.area insert end " Image Path = /usr/share/pixmaps/xsmbrowser\n"
++ $helpwindow.text.area insert end " Image Path = /usr/local/share/xsmbrowser\n"
+ $helpwindow.text.area insert end " Smbmount = yes 1\n"
+ $helpwindow.text.area insert end " Execute = kfmclient folder \$MOUNTPOINT\n"
+ $helpwindow.text.area insert end "\n"
+@@ -7044,7 +7044,7 @@
+ $helpwindow.text.area insert end " a) Image Path\n"
+ $helpwindow.text.area insert end " xSMBrowser now uses pictures and icons throughout the program. For\n"
+ $helpwindow.text.area insert end " it to use the pictures, however, it must know where they are being\n"
+- $helpwindow.text.area insert end " stored. By default, they are put into /usr/share/pixmaps/xsmbrowser,\n"
++ $helpwindow.text.area insert end " stored. By default, they are put into /usr/local/share/xsmbrowser,\n"
+ $helpwindow.text.area insert end " so try that first if it says Use Geo (use internal geometry).\n"
+ $helpwindow.text.area insert end " \n"
+ $helpwindow.text.area insert end " b) Query Timeout\n"
diff --git a/net/xsmbrowser/pkg-comment b/net/xsmbrowser/pkg-comment
new file mode 100644
index 000000000000..852b70611bb5
--- /dev/null
+++ b/net/xsmbrowser/pkg-comment
@@ -0,0 +1 @@
+Tcl/Tk port of Windows' Network Neighborhood
diff --git a/net/xsmbrowser/pkg-descr b/net/xsmbrowser/pkg-descr
new file mode 100644
index 000000000000..16d289ec2681
--- /dev/null
+++ b/net/xsmbrowser/pkg-descr
@@ -0,0 +1,8 @@
+xSMBrowser is a Gui over the Samba utilities that allows users to easily
+browse Microsoft networks. It was designed using Linux, but, because it
+does not use smbfs to view files, it runs on almost all Unix (Solaris, OSF1,
+NetBSD ... )
+
+WWW: http://www2.iastate.edu/~chadspen/
+
+Roman Shterenzon <roman@xpert.com>
diff --git a/net/xsmbrowser/pkg-plist b/net/xsmbrowser/pkg-plist
new file mode 100644
index 000000000000..a8f981ca281e
--- /dev/null
+++ b/net/xsmbrowser/pkg-plist
@@ -0,0 +1,53 @@
+bin/xsmbrowser
+share/xsmbrowser/avi.gif
+share/xsmbrowser/back_c.gif
+share/xsmbrowser/bmp.gif
+share/xsmbrowser/c.gif
+share/xsmbrowser/cd.gif
+share/xsmbrowser/computers.gif
+share/xsmbrowser/default.gif
+share/xsmbrowser/dwg.gif
+share/xsmbrowser/exe.gif
+share/xsmbrowser/exit_c.gif
+share/xsmbrowser/explore_c.gif
+share/xsmbrowser/favorite_c.gif
+share/xsmbrowser/favorites_c.gif
+share/xsmbrowser/folder.gif
+share/xsmbrowser/forward_c.gif
+share/xsmbrowser/gif.gif
+share/xsmbrowser/h_default.gif
+share/xsmbrowser/h_folder.gif
+share/xsmbrowser/help_c.gif
+share/xsmbrowser/history_c.gif
+share/xsmbrowser/html.gif
+share/xsmbrowser/ini.gif
+share/xsmbrowser/jpg.gif
+share/xsmbrowser/lnk.gif
+share/xsmbrowser/mid.gif
+share/xsmbrowser/mount_c.gif
+share/xsmbrowser/mp3.gif
+share/xsmbrowser/mpg.gif
+share/xsmbrowser/network_c.gif
+share/xsmbrowser/networks.gif
+share/xsmbrowser/networks_c.gif
+share/xsmbrowser/pdf.gif
+share/xsmbrowser/printer.gif
+share/xsmbrowser/queue_c.gif
+share/xsmbrowser/refresh_c.gif
+share/xsmbrowser/rm.gif
+share/xsmbrowser/setup_c.gif
+share/xsmbrowser/share.gif
+share/xsmbrowser/stop_c.gif
+share/xsmbrowser/sys.gif
+share/xsmbrowser/transfer_c.gif
+share/xsmbrowser/txt.gif
+share/xsmbrowser/unmount_c.gif
+share/xsmbrowser/wav.gif
+share/xsmbrowser/workgroups.gif
+share/xsmbrowser/workgroups_c.gif
+share/xsmbrowser/wri.gif
+share/xsmbrowser/xls.gif
+share/xsmbrowser/xsmbrowser-mini.xpm
+share/xsmbrowser/xsmbrowser.xpm
+share/xsmbrowser/zip.gif
+@dirrm share/xsmbrowser