aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-28 18:16:02 +0800
committergahr <gahr@FreeBSD.org>2014-02-28 18:16:02 +0800
commitf1c745b9d83acee1f1d2c035486fed98be21f85c (patch)
treeca1bf5eddc6e8bedb4108b4bb132b2bb143b5c4a /misc
parent7859b5cbc37e5c400d68d2527ffa26dce1fd0f7e (diff)
downloadfreebsd-ports-gnome-f1c745b9d83acee1f1d2c035486fed98be21f85c.tar.gz
freebsd-ports-gnome-f1c745b9d83acee1f1d2c035486fed98be21f85c.tar.zst
freebsd-ports-gnome-f1c745b9d83acee1f1d2c035486fed98be21f85c.zip
- Chase devel/expect update
Diffstat (limited to 'misc')
-rw-r--r--misc/dejagnu/Makefile3
-rw-r--r--misc/sshbuddy/Makefile14
-rw-r--r--misc/sshbuddy/files/patch-sshbuddy.expk17
3 files changed, 24 insertions, 10 deletions
diff --git a/misc/dejagnu/Makefile b/misc/dejagnu/Makefile
index 59d7074040e3..870a5fd1a473 100644
--- a/misc/dejagnu/Makefile
+++ b/misc/dejagnu/Makefile
@@ -11,8 +11,7 @@ COMMENT= Automated program/system tester
LICENSE= GPLv3
-BUILD_DEPENDS= expect:${PORTSDIR}/lang/expect
-RUN_DEPENDS= expect:${PORTSDIR}/lang/expect
+LIB_DEPENDS= libexpect.so:${PORTSDIR}/lang/expect
USES+= gmake tcl
GNU_CONFIGURE= yes
diff --git a/misc/sshbuddy/Makefile b/misc/sshbuddy/Makefile
index 7e4968b2b7e1..19941c4c91ca 100644
--- a/misc/sshbuddy/Makefile
+++ b/misc/sshbuddy/Makefile
@@ -10,19 +10,17 @@ MASTER_SITES= http://linuxmafia.com/pub/linux/security/sshbuddy/
MAINTAINER= wrighrc@gmail.com
COMMENT= Simple and small GUI utility to manage ssh sessions
-RUN_DEPENDS= expectk:${PORTSDIR}/lang/expect
+RUN_DEPENDS= expect:${PORTSDIR}/lang/expect
-USES= shebangfix
-USE_XORG= x11
-SHEBANG_FILES= ${WRKSRC}/sshbuddy.expk
-SHEBANG_LANG= expectk
-expectk_OLD_CMD= /usr/bin/expectk
-expectk_CMD= ${LOCALBASE}/bin/expectk
+USES= tk
NO_BUILD= yes
PLIST_FILES= bin/sshbuddy
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%WISH%%|${WISH}|' ${WRKSRC}/sshbuddy.expk
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/sshbuddy.expk ${STAGEDIR}${PREFIX}/bin/sshbuddy
+ ${INSTALL_SCRIPT} ${WRKSRC}/sshbuddy.expk ${STAGEDIR}${PREFIX}/bin/sshbuddy
.include <bsd.port.mk>
diff --git a/misc/sshbuddy/files/patch-sshbuddy.expk b/misc/sshbuddy/files/patch-sshbuddy.expk
new file mode 100644
index 000000000000..1980c726841d
--- /dev/null
+++ b/misc/sshbuddy/files/patch-sshbuddy.expk
@@ -0,0 +1,17 @@
+--- sshbuddy.expk.orig 2014-02-28 10:41:40.000000000 +0100
++++ sshbuddy.expk 2014-02-28 10:41:58.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/expectk
++#!%%WISH%%
+ #
+ # EDIT THE ABOVE LINE TO POINT TO WHERE expectk LIVES
+ #
+@@ -10,6 +10,8 @@
+ #
+ # Version Beta1.05
+
++package require Expect
++
+ set expect_path [exec which expect]
+
+ ########################################################################