freebsd-ports/java/mx4j/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

30 lines
807 B
Makefile

PORTNAME= mx4j
PORTVERSION= 3.0.2
PORTREVISION= 1
CATEGORIES= java devel
MASTER_SITES= SF/${PORTNAME}/MX4J%20Binary/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Open Source implementation of the Java Management Extensions (JMX)
WWW= https://mx4j.sourceforge.net
USES= java
NO_BUILD= yes
JARFILES= mx4j-examples.jar mx4j-impl.jar mx4j-jmx.jar \
mx4j-remote.jar mx4j-rimpl.jar mx4j-rjmx.jar \
mx4j-soap.war mx4j-tools.jar mx4j.jar
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
(cd ${WRKSRC}/lib && ${INSTALL_DATA} ${JARFILES} ${STAGEDIR}${JAVAJARDIR})
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>