svn commit: r348519 - head/security/unssh

Emanuel Haupt ehaupt at FreeBSD.org
Tue Mar 18 07:48:44 UTC 2014


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>


More information about the svn-ports-head mailing list