Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 13:45:48 +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: r346514 - head/security/sshblock
Message-ID:  <201402281345.s1SDjmfb004294@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 28 13:45:48 2014
New Revision: 346514
URL: http://svnweb.freebsd.org/changeset/ports/346514
QAT: https://qat.redports.org/buildarchive/r346514/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/security/sshblock/Makefile

Modified: head/security/sshblock/Makefile
==============================================================================
--- head/security/sshblock/Makefile	Fri Feb 28 13:38:23 2014	(r346513)
+++ head/security/sshblock/Makefile	Fri Feb 28 13:45:48 2014	(r346514)
@@ -16,25 +16,21 @@ RUN_DEPENDS=	p5-File-Tail>=0:${PORTSDIR}
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 PLIST_FILES=	sbin/sshblock
-USES=		perl5
+USES=		perl5 shebangfix
 USE_RC_SUBR=	sshblock
 SUB_LIST=	PERL=${PERL}
 EXTRACT_CMD=	${CP}
 EXTRACT_BEFORE_ARGS=
 EXTRACT_AFTER_ARGS=	${WRKDIR}
 SUB_FILES+=	pkg-message
-#SUB_FILES=	sshblock.sh
+SHEBANG_FILES=	${WRKSRC}/sshblock-${PORTVERSION}.pl
 
-NO_STAGE=	yes
 do-patch:
 	@${REINPLACE_CMD} -e "s@/usr/bin/perl@${PERL}@" \
 		${WRKSRC}/sshblock-${PORTVERSION}.pl
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/sshblock-${PORTVERSION}.pl \
-		${PREFIX}/sbin/sshblock
-
-post-install:
-	${CAT} ${PKGMESSAGE}
+		${STAGEDIR}${PREFIX}/sbin/sshblock
 
 .include <bsd.port.mk>



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