ports/java/eclipse-findbugs/Makefile
Muhammad Moinur Rahman 0835676e36
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
  USES=java:build,run if NO_BUILD is undefined. Else it defaults to
  USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
  USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
  extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
  build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
  build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>

Approved by: mat (portmgr), glewis
Differential Revision:  https://reviews.freebsd.org/D48201
2024-12-31 09:57:55 +01:00

29 lines
726 B
Makefile

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>