Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 01:11:13 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336134 - in head/misc/sshbuddy: . files
Message-ID:  <201312110111.rBB1BDkV011900@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Wed Dec 11 01:11:12 2013
New Revision: 336134
URL: http://svnweb.freebsd.org/changeset/ports/336134

Log:
  - Add stage support
  - Use shebangfix instead of a patch file
  - Add USE_XORG as dependency instead of using BROKEN

Deleted:
  head/misc/sshbuddy/files/
Modified:
  head/misc/sshbuddy/Makefile

Modified: head/misc/sshbuddy/Makefile
==============================================================================
--- head/misc/sshbuddy/Makefile	Wed Dec 11 00:57:17 2013	(r336133)
+++ head/misc/sshbuddy/Makefile	Wed Dec 11 01:11:12 2013	(r336134)
@@ -12,15 +12,17 @@ COMMENT=	Simple and small GUI utility to
 
 RUN_DEPENDS=	expectk:${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
+
 NO_BUILD=	yes
 PLIST_FILES=	bin/sshbuddy
 
-.if defined(WITHOUT_X11)
-BROKEN=		Broken dependency
-.endif
-
-NO_STAGE=	yes
 do-install:
-		${INSTALL_SCRIPT} ${WRKSRC}/sshbuddy.expk ${PREFIX}/bin/sshbuddy
+		${INSTALL_SCRIPT} ${WRKSRC}/sshbuddy.expk ${STAGEDIR}${PREFIX}/bin/sshbuddy
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312110111.rBB1BDkV011900>