summaryrefslogtreecommitdiff
path: root/java/eclipse-findbugs/Makefile
blob: ebb290aa1d76d6ddae8eb018a0a9d56bc1393227 (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
PORTNAME=	findbugs
DISTVERSION=	3.0.1.20150306-5afe4d1
CATEGORIES=	java devel
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20eclipse%20plugin/3.0.1
PKGNAMEPREFIX=	eclipse-
DISTNAME=	edu.umd.cs.findbugs.plugin.eclipse_${DISTVERSION}
DIST_SUBDIR=	eclipse

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Eclipse plug-in that provides FindBugs support
WWW=		https://findbugs.sourceforge.net/manual/eclipse.html

RUN_DEPENDS=	eclipse:java/eclipse

USES=		java zip
NO_BUILD=	yes
JAVA_OS=	native

PLIST_SUB=	\
	ECLIPSE_PLUGINS="lib/eclipse/plugins" \
	DISTNAME="${DISTNAME}"

post-extract:
	@${RM} -R ${WRKSRC}/src

do-install:
	@(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/eclipse/plugins/${DISTNAME})

.include <bsd.port.mk>