svn commit: r348185 - head/net/sendsnpp

Emanuel Haupt ehaupt at FreeBSD.org
Fri Mar 14 09:01:09 UTC 2014


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 at 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>


More information about the svn-ports-head mailing list