Index: head/devel/sonar-ant-task/Makefile =================================================================== --- head/devel/sonar-ant-task/Makefile +++ head/devel/sonar-ant-task/Makefile @@ -0,0 +1,42 @@ +# Created by: Dusan Vejnovic +# $FreeBSD$ + +PORTNAME= sonar-ant-task +PORTVERSION= 2.5 +CATEGORIES= devel java +MASTER_SITES= https://sonarsource.bintray.com/Distribution/sonarqube-ant-task/ \ + LOCAL/ler/sonar-ant-task +DISTNAME= sonarqube-ant-task-${PORTVERSION} +EXTRACT_SUFX= .jar +EXTRACT_ONLY= + +MAINTAINER= freebsd@dussan.org +COMMENT= SonarQube Plugin for analysis projects with an Apache Ant + +LICENSE= LGPL3 + +NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +RUN_DEPENDS+= ant:devel/apache-ant + +USES= cpe +CPE_VENDOR= sonarsource + +USE_JAVA= yes +JAVA_VERSION= 1.7+ + +SUB_FILES= pkg-message +PLIST_FILES= ${DATADIR_REL}/sonar-ant-task.jar + +OPTIONS_DEFINE= SQ +SQ_DESC= SonarQube server support +SQ_RUN_DEPENDS= sonarqube>=0:devel/sonarqube + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \ + ${STAGEDIR}${DATADIR}/${PORTNAME}${EXTRACT_SUFX} + +.include Index: head/devel/sonar-ant-task/distinfo =================================================================== --- head/devel/sonar-ant-task/distinfo +++ head/devel/sonar-ant-task/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1484408469 +SHA256 (sonarqube-ant-task-2.5.jar) = 43e7a8e0a5f8d44cd602de4a7ccf2e819e23429370d1b97425d38562651331cf +SIZE (sonarqube-ant-task-2.5.jar) = 537405 Index: head/devel/sonar-ant-task/files/pkg-message.in =================================================================== --- head/devel/sonar-ant-task/files/pkg-message.in +++ head/devel/sonar-ant-task/files/pkg-message.in @@ -0,0 +1,13 @@ +************************************************************************ + + To integrate SonarQube with SonarQube Scanner for Ant (default + settings): + - define a new sonar Ant target in your Ant build script + - for the SonarQube target set classpath value to + %%DATADIR%%/sonar-ant-task.jar + + + More information: + http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Ant + +************************************************************************ Index: head/devel/sonar-ant-task/pkg-descr =================================================================== --- head/devel/sonar-ant-task/pkg-descr +++ head/devel/sonar-ant-task/pkg-descr @@ -0,0 +1,8 @@ +The SonarQube Scanner for Ant is an Ant Task that is wrapper of SonarQube +Scanner, which works by invoking SonarQube Scanner and passing to it all +properties named following a sonar.* convention. This has the downside of not +being very Ant-y, but the upside of providing instant availability of any new +analysis parameter introduced by a new version of a plugin or of SonarQube +itself. + +WWW: http://docs.sonarqube.org/display/SONAR/Installing+and+Configuring+Ant+SonarQube+Task