Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 10:24: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: r348204 - head/net/sip_scenario
Message-ID:  <201403141024.s2EAOmmn024437@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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