aboutsummaryrefslogtreecommitdiff
path: root/devel/sonar-ant-task/Makefile
blob: a76da387b5b0a7719f89cdb7227d477781bb720f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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}${DATADIR}
	${INSTALL_DATA} ${DISTDIR}/${DISTFILES} \
		${STAGEDIR}${DATADIR}/${PORTNAME}${EXTRACT_SUFX}

.include <bsd.port.mk>