Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2014 07:48:44 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348519 - head/security/unssh
Message-ID:  <201403180748.s2I7miJg017084@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Mar 18 07:48:43 2014
New Revision: 348519
URL: http://svnweb.freebsd.org/changeset/ports/348519
QAT: https://qat.redports.org/buildarchive/r348519/

Log:
  - Support staging
  - Use shebangfix
  - Use INSTALL_SCRIPT instead of CP

Modified:
  head/security/unssh/Makefile

Modified: head/security/unssh/Makefile
==============================================================================
--- head/security/unssh/Makefile	Tue Mar 18 07:46:07 2014	(r348518)
+++ head/security/unssh/Makefile	Tue Mar 18 07:48:43 2014	(r348519)
@@ -11,13 +11,13 @@ COMMENT=	Fast way to delete entries from
 
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
+USES=		shebangfix
 NO_BUILD=	yes
+
 PLIST_FILES=	bin/unssh
+SHEBANG_FILES=	unssh.sh
 
-NO_STAGE=	yes
 do-install:
-	@${INSTALL} -d ${PREFIX}/bin
-	@${CP} ${WRKSRC}/unssh.sh ${PREFIX}/bin/unssh
-	@${CHMOD} ${BINMODE} ${PREFIX}/bin/unssh
+	${INSTALL_SCRIPT} ${WRKSRC}/unssh.sh ${STAGEDIR}${PREFIX}/bin/unssh
 
 .include <bsd.port.mk>



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