Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 09:01:09 +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: r348185 - head/net/sendsnpp
Message-ID:  <201403140901.s2E919eY089044@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Mar 14 09:01:09 2014
New Revision: 348185
URL: http://svnweb.freebsd.org/changeset/ports/348185
QAT: https://qat.redports.org/buildarchive/r348185/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/net/sendsnpp/Makefile

Modified: head/net/sendsnpp/Makefile
==============================================================================
--- head/net/sendsnpp/Makefile	Fri Mar 14 08:59:17 2014	(r348184)
+++ head/net/sendsnpp/Makefile	Fri Mar 14 09:01:09 2014	(r348185)
@@ -12,16 +12,13 @@ MAINTAINER=	itetcu@FreeBSD.org
 COMMENT=	Tool for sending messages through a RFC1861 compliant SNPP server
 
 NO_BUILD=	yes
-USES=		perl5
+USES=		perl5 shebangfix
 USE_PERL5=	run
 
 PLIST_FILES=	bin/sendSNPP.pl
-
-NO_STAGE=	yes
-post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' ${WRKSRC}/${PORTNAME}.pl
+SHEBANG_FILES=	sendSNPP.pl
 
 do-install:
-	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME}.pl ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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