forked from Lainports/freebsd-ports
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
30 lines
807 B
Makefile
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>
|