# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sonar-scanner-cli/
#	sonar-scanner-cli/files
#	sonar-scanner-cli/files/pkg-message.in
#	sonar-scanner-cli/pkg-plist
#	sonar-scanner-cli/pkg-descr
#	sonar-scanner-cli/distinfo
#	sonar-scanner-cli/Makefile
#
echo c - sonar-scanner-cli/
mkdir -p sonar-scanner-cli/ > /dev/null 2>&1
echo c - sonar-scanner-cli/files
mkdir -p sonar-scanner-cli/files > /dev/null 2>&1
echo x - sonar-scanner-cli/files/pkg-message.in
sed 's/^X//' >sonar-scanner-cli/files/pkg-message.in << '512f1b73c95c97757d3f22d759828ec4'
X************************************************************************
X
X	Before start the SonarQube Scanner (default settings):
X	- create a new SONAR_RUNNER_HOME environment variable set to
X	  "/usr/local/sonar-scanner-cli"
X
X	More information:
X	http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner
X
X************************************************************************
512f1b73c95c97757d3f22d759828ec4
echo x - sonar-scanner-cli/pkg-plist
sed 's/^X//' >sonar-scanner-cli/pkg-plist << 'cc88d97d44937b72da8bceed48591e15'
Xbin/sonar-runner
X@(,,755) %%SR_HOME%%/bin/sonar-runner
X%%SR_HOME%%/bin/sonar-runner.bat
X@sample %%SR_HOME%%/conf/sonar-runner.properties.sample
X%%SR_HOME%%/lib/sonar-scanner-cli-2.5.1.jar
X@dir(,,755) %%SR_HOME%%/bin
X@dir(,,755) %%SR_HOME%%/conf
X@dir(,,755) %%SR_HOME%%/lib
cc88d97d44937b72da8bceed48591e15
echo x - sonar-scanner-cli/pkg-descr
sed 's/^X//' >sonar-scanner-cli/pkg-descr << '887c704cd9520698e97018fa73baf588'
XThe SonarQube Scanner is recommended as the default launcher to analyze a
Xproject with SonarQube. The SonarQube Scanner allows you to perform source code
Xanalyzes without using tools such as Ant or Maven. The SonarQube platform is an
Xopen source quality management platform, dedicated to continuously analyzing and
Xmeasuring the technical quality of source code, from project portfolio down to
Xthe method level. With the SonarQube Scanner, and also a tool like Jenkins,
Xeveryone can analyze all kinds of languages, not just Java.
X
XWWW: http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner
887c704cd9520698e97018fa73baf588
echo x - sonar-scanner-cli/distinfo
sed 's/^X//' >sonar-scanner-cli/distinfo << '6abc4a9cd1b2ddbdca18695d52aaf5e3'
XSHA256 (sonar-scanner-2.5.1.zip) = da08b6e96622dcf6d785ae856eeff1ba18c6827c6a59f00ad9a74798b6e40cc9
XSIZE (sonar-scanner-2.5.1.zip) = 516094
6abc4a9cd1b2ddbdca18695d52aaf5e3
echo x - sonar-scanner-cli/Makefile
sed 's/^X//' >sonar-scanner-cli/Makefile << '7f4af1e03a664e88a5a908f40ee166ae'
X# Created by: Dusan Vejnovic <freebsd@dussan.org>
X# $FreeBSD$
X
XPORTNAME=		sonar-scanner-cli
XPORTVERSION=	2.5.1
XCATEGORIES=		devel java
XDISTNAME=		sonar-scanner-${PORTVERSION}
XMASTER_SITES=	https://sonarsource.bintray.com/Distribution/${PORTNAME}/
XMAINTAINER=		freebsd@dussan.org
XCOMMENT=		Launcher for analyzing projects with SonarQube
X
XLICENSE=		LGPL3
X
XNO_ARCH=		yes
XNO_BUILD=		yes
X
XUSES=			cpe zip
XCPE_VENDOR=		sonarsource
X
XUSE_JAVA=		yes
XJAVA_VERSION=	1.7+
X
XSR=				sonar-runner
XSR_ARCH=		x86-${ARCH:S/i386/32/:S/amd64/64/}
XSQ=				${PREFIX}/sonarqube/bin/freebsd-${SR_ARCH}
X
XSUB_FILES=		pkg-message
XPLIST_SUB=		SR_HOME=${PREFIX}/${PORTNAME}
X
XOPTIONS_RADIO=			SONAR
XOPTIONS_RADIO_SONAR=	QUBE QUBE-LTS
XQUBE_DESC=				SonarQube server support
XQUBE-LTS_DESC=			SonarQube LTS server support
XQUBE_RUN_DEPENDS=		${SQ}/sonar.sh.sample:devel/sonarqube
XQUBE-LTS_RUN_DEPENDS=	${SQ}/sonar.sh.sample:devel/sonarqube-lts
X
Xdo-install:
X		@${MKDIR} -p ${STAGEDIR}${PREFIX}/${PORTNAME}
X		@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${PORTNAME})
X		@${MV} -f ${STAGEDIR}${PREFIX}/${PORTNAME}/conf/${SR}.properties \
X				${STAGEDIR}${PREFIX}/${PORTNAME}/conf/${SR}.properties.sample
X		@${CHMOD} -R 644 ${STAGEDIR}${PREFIX}/${PORTNAME}
X
Xpost-install:
X		@${LN} -f ${STAGEDIR}${PREFIX}/${PORTNAME}/bin/${SR} \
X				${STAGEDIR}${PREFIX}/bin/${SR}
X
X.include <bsd.port.mk>
7f4af1e03a664e88a5a908f40ee166ae
exit