2012-12-10 13:18:28 +00:00
|
|
|
# Created by: Filippo Natali <filippo@widestore.net>
|
2005-02-20 23:01:02 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mx4j
|
2008-03-30 00:48:45 +00:00
|
|
|
PORTVERSION= 3.0.2
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2005-02-20 23:01:02 +00:00
|
|
|
CATEGORIES= java devel
|
2009-08-22 00:24:37 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/MX4J%20Binary/${PORTVERSION}
|
2005-02-20 23:01:02 +00:00
|
|
|
|
2014-05-10 22:06:22 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-02-20 23:01:02 +00:00
|
|
|
COMMENT= Open Source implementation of the Java Management Extensions (JMX)
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
2012-12-10 13:18:28 +00:00
|
|
|
JAVA_VERSION= 1.6+
|
2005-02-20 23:01:02 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2008-03-30 00:48:45 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
.endif
|
|
|
|
|
2005-02-20 23:01:02 +00:00
|
|
|
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%%/,}
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install: do-install-jar do-install-javadoc
|
|
|
|
|
2013-09-20 19:48:32 +00:00
|
|
|
NO_STAGE= yes
|
2005-02-20 23:01:02 +00:00
|
|
|
do-install-jar:
|
2008-03-30 00:48:45 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR} ..."
|
2005-02-20 23:01:02 +00:00
|
|
|
@for jarfile in ${JARFILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib/$$jarfile ${JAVAJARDIR} ; \
|
|
|
|
done
|
|
|
|
@${ECHO_MSG} " [DONE]"
|
|
|
|
|
|
|
|
do-install-javadoc:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2008-03-30 00:48:45 +00:00
|
|
|
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR} ..."
|
2005-02-20 23:01:02 +00:00
|
|
|
@cd ${WRKSRC}/docs \
|
|
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
|
|
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
|
|
|
|
@${ECHO_MSG} " [DONE]"
|
2008-03-30 00:48:45 +00:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR} ..."
|
2005-02-20 23:01:02 +00:00
|
|
|
@cd ${WRKSRC}/examples \
|
|
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
|
|
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
|
|
|
|
@${ECHO_MSG} " [DONE]"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|