aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2010-10-15 12:56:04 +0800
committerswills <swills@FreeBSD.org>2010-10-15 12:56:04 +0800
commit64b63b4704c2b5af4c5cb787c8f4cea570945bbd (patch)
tree68c7b493bfcade4e379a20489e58285be0b317df /deskutils
parent5d50508ee7f6ae3f0607a9ef08809298f7e30447 (diff)
downloadfreebsd-ports-gnome-64b63b4704c2b5af4c5cb787c8f4cea570945bbd.tar.gz
freebsd-ports-gnome-64b63b4704c2b5af4c5cb787c8f4cea570945bbd.tar.zst
freebsd-ports-gnome-64b63b4704c2b5af4c5cb787c8f4cea570945bbd.zip
SSHMenu is a GNOME panel applet that keeps all your regular SSH connections
within a single mouse click WWW: http://sshmenu.sourceforge.net/ Submitted by: me (swills) Approved by: pgollucci (mentor)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/sshmenu/Makefile49
-rw-r--r--deskutils/sshmenu/distinfo3
-rw-r--r--deskutils/sshmenu/pkg-descr4
-rw-r--r--deskutils/sshmenu/pkg-plist7
5 files changed, 64 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 216ec88f6e79..c78aa6d1df4e 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -251,6 +251,7 @@
SUBDIR += sliderule
SUBDIR += snotes
SUBDIR += splashsetter
+ SUBDIR += sshmenu
SUBDIR += strigi
SUBDIR += sugarcrm
SUBDIR += superkaramba-lwp
diff --git a/deskutils/sshmenu/Makefile b/deskutils/sshmenu/Makefile
new file mode 100644
index 000000000000..7f96f5edc0e8
--- /dev/null
+++ b/deskutils/sshmenu/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: sshmenu
+# Date created: 2010-10-03
+# Whom: Steve Wills <swills@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sshmenu
+PORTVERSION= 3.18
+CATEGORIES= deskutils
+MASTER_SITES= SF/${PORTNAME}
+
+MAINTAINER= swills@FreeBSD.org
+COMMENT= GNOME panel applet for managing ssh connections
+
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/panelapplet2.so:${PORTSDIR}/x11-toolkits/ruby-panelapplet \
+ ${RUBY_SITEARCHLIBDIR}/gconf2.so:${PORTSDIR}/devel/ruby-gconf2 \
+ ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2
+
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/License.txt
+USE_RUBY= yes
+NO_BUILD= yes
+INSTALLS_ICONS= yes
+
+MAN1= sshmenu.1
+
+.include <bsd.port.pre.mk>
+
+post-extract:
+ ${REINPLACE_CMD} -e 's|#!/usr/bin/ruby|#!${RUBY_WITHOUT_SUFFIX}|' ${WRKSRC}/bin/sshmenu
+ ${REINPLACE_CMD} -e 's|#!/usr/bin/ruby|#!${RUBY_WITHOUT_SUFFIX}|' ${WRKSRC}/bin/sshmenu-gnome
+ ${REINPLACE_CMD} -e 's|#!/usr/bin/ruby|#!${RUBY_WITHOUT_SUFFIX}|' ${WRKSRC}/sshmenu-applet
+ ${REINPLACE_CMD} -e 's|/usr/lib/gnome-panel|${LOCALBASE}/libexec|' ${WRKSRC}/sshmenu-applet.server
+ ${REINPLACE_CMD} -e 's|/usr/bin/ssh-askpass|${LOCALBASE}/bin/ssh-askpass|' ${WRKSRC}/lib/sshmenu.rb
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/lib/sshmenu.rb ${RUBY_SITELIBDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/lib/gnome-sshmenu.rb ${RUBY_SITELIBDIR}
+ ${INSTALL} ${WRKSRC}/sshmenu-applet.server ${PREFIX}/libdata/bonobo/servers
+ ${INSTALL} ${WRKSRC}/sshmenu-applet ${PREFIX}/libexec
+.if !defined(NOPORTDOCS)
+ ${INSTALL_MAN} ${WRKSRC}/sshmenu.1 ${MAN1PREFIX}/man/man1
+.endif
+ ${INSTALL} ${WRKSRC}/gnome-sshmenu-applet.png ${PREFIX}/share/icons/gnome/48x48/apps
+ ${INSTALL} ${WRKSRC}/bin/sshmenu ${PREFIX}/bin
+ ${INSTALL} ${WRKSRC}/bin/sshmenu-gnome ${PREFIX}/bin
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/sshmenu/distinfo b/deskutils/sshmenu/distinfo
new file mode 100644
index 000000000000..a9a41f852b77
--- /dev/null
+++ b/deskutils/sshmenu/distinfo
@@ -0,0 +1,3 @@
+MD5 (sshmenu-3.18.tar.gz) = 7e7f43135fd112be3c173ec8585d6b98
+SHA256 (sshmenu-3.18.tar.gz) = 52d32b8fe92140c0a32c7cd8a79a32b4f5f1c6cac0b13bd1e465728b2b21233e
+SIZE (sshmenu-3.18.tar.gz) = 39747
diff --git a/deskutils/sshmenu/pkg-descr b/deskutils/sshmenu/pkg-descr
new file mode 100644
index 000000000000..33ae2ad38d6d
--- /dev/null
+++ b/deskutils/sshmenu/pkg-descr
@@ -0,0 +1,4 @@
+SSHMenu is a GNOME panel applet that keeps all your regular SSH connections
+within a single mouse click
+
+WWW: http://sshmenu.sourceforge.net/
diff --git a/deskutils/sshmenu/pkg-plist b/deskutils/sshmenu/pkg-plist
new file mode 100644
index 000000000000..4aa4a6efafdd
--- /dev/null
+++ b/deskutils/sshmenu/pkg-plist
@@ -0,0 +1,7 @@
+bin/sshmenu
+bin/sshmenu-gnome
+%%RUBY_SITELIBDIR%%/gnome-sshmenu.rb
+%%RUBY_SITELIBDIR%%/sshmenu.rb
+libdata/bonobo/servers/sshmenu-applet.server
+libexec/sshmenu-applet
+share/icons/gnome/48x48/apps/gnome-sshmenu-applet.png