Index: devel/sonar-ant-task/Makefile
===================================================================
--- /dev/null
+++ devel/sonar-ant-task/Makefile
@@ -0,0 +1,43 @@
+# 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=	${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}${PREFIX}/share/${PORTNAME}
+	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
+		${STAGEDIR}${PREFIX}/share/${PORTNAME}/${PORTNAME}${EXTRACT_SUFX}
+	@${CHMOD} -R 444 ${STAGEDIR}${PREFIX}/share/${PORTNAME}
+
+.include <bsd.port.mk>
Index: devel/sonar-ant-task/distinfo
===================================================================
--- /dev/null
+++ 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: devel/sonar-ant-task/files/pkg-message.in
===================================================================
--- /dev/null
+++ 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: devel/sonar-ant-task/pkg-descr
===================================================================
--- /dev/null
+++ 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