svn commit: r348204 - head/net/sip_scenario

Emanuel Haupt ehaupt at FreeBSD.org
Fri Mar 14 10:24:48 UTC 2014


Author: ehaupt
Date: Fri Mar 14 10:24:48 2014
New Revision: 348204
URL: http://svnweb.freebsd.org/changeset/ports/348204
QAT: https://qat.redports.org/buildarchive/r348204/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/net/sip_scenario/Makefile

Modified: head/net/sip_scenario/Makefile
==============================================================================
--- head/net/sip_scenario/Makefile	Fri Mar 14 10:19:25 2014	(r348203)
+++ head/net/sip_scenario/Makefile	Fri Mar 14 10:24:48 2014	(r348204)
@@ -12,8 +12,9 @@ COMMENT=	SIP call flow creator (HTML for
 
 LICENSE=	APACHE20
 
-USES=		perl5 zip
+USES=		perl5 zip shebangfix
 USE_PERL5=	run
+NO_BUILD=	yes
 
 WRKSRC=		${WRKDIR}
 
@@ -23,12 +24,10 @@ WRKSRC=		${WRKDIR}
 # http://www.abptech.com/support/resources/SIP_scen_generator_v1.2.7/index/SipScenarioPart2.pdf
 # download them and install them in /usr/local/share/doc/sip_scenario/
 
+SHEBANG_FILES=	sip_scenario.pl
 PLIST_FILES=	bin/sip_scenario.pl
-NO_BUILD=	yes
 
-NO_STAGE=	yes
 do-install:
-	${SED} -i -e '1s/local\///' ${WRKSRC}/sip_scenario.pl
-	${INSTALL_SCRIPT} ${WRKSRC}/sip_scenario.pl ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/sip_scenario.pl ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list