Page MenuHomeFreeBSD

D9193.id24041.diff
No OneTemporary

D9193.id24041.diff

Index: Makefile
===================================================================
--- Makefile
+++ Makefile
@@ -0,0 +1,45 @@
+# Created by: Dusan Vejnovic <freebsd@dussan.org>
+# $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= ${PORTNAME}/${PORTNAME}${EXTRACT_SUFX}
+
+SQ= ${LOCALBASE}/sonarqube/bin/freebsd
+
+OPTIONS_DEFINE= SQ
+SQ_DESC= SonarQube server support
+SQ_RUN_DEPENDS= ${SQ}/sonar.sh.sample:devel/sonarqube
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}
+ ${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
+ ${STAGEDIR}${SHAREDIR}${PORTNAME}/${PORTNAME}${EXTRACT_SUFX}
+ @${CHMOD} -R 644 ${STAGEDIR}${PREFIX}/${PORTNAME}
+
+.include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo
+++ distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1484408469
+SHA256 (sonarqube-ant-task-2.5.jar) = 43e7a8e0a5f8d44cd602de4a7ccf2e819e23429370d1b97425d38562651331cf
+SIZE (sonarqube-ant-task-2.5.jar) = 537405
Index: files/pkg-message.in
===================================================================
--- files/pkg-message.in
+++ files/pkg-message.in
@@ -0,0 +1,12 @@
+************************************************************************
+
+ 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
+ "/usr/local/sonar-ant-task/sonar-ant-task.jar"
+
+ More information:
+ http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Ant
+
+************************************************************************
Index: pkg-descr
===================================================================
--- pkg-descr
+++ 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

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 21, 5:18 AM (20 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27107802
Default Alt Text
D9193.id24041.diff (2 KB)

Event Timeline