svn commit: r336134 - in head/misc/sshbuddy: . files

Danilo Egea Gondolfo danilo at FreeBSD.org
Wed Dec 11 01:11:13 UTC 2013


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>


More information about the svn-ports-head mailing list