aboutsummaryrefslogtreecommitdiff
path: root/java/mx4j
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-30 00:48:45 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-30 00:48:45 +0000
commit563a535b949dd7f2916014edd9a75a5acc1ae7c0 (patch)
tree2af61a2a05399c31931f95b810239e5091df8264 /java/mx4j
parenta539b41567ae35077e8043d5da9c922116008f55 (diff)
downloadports-563a535b949dd7f2916014edd9a75a5acc1ae7c0.tar.gz
ports-563a535b949dd7f2916014edd9a75a5acc1ae7c0.zip
Notes
Diffstat (limited to 'java/mx4j')
-rw-r--r--java/mx4j/Makefile27
-rw-r--r--java/mx4j/distinfo6
2 files changed, 15 insertions, 18 deletions
diff --git a/java/mx4j/Makefile b/java/mx4j/Makefile
index 3517862b4a69..57baace90b09 100644
--- a/java/mx4j/Makefile
+++ b/java/mx4j/Makefile
@@ -6,13 +6,11 @@
#
PORTNAME= mx4j
-PORTVERSION= 2.1.1
-PORTREVISION= 1
+PORTVERSION= 3.0.2
CATEGORIES= java devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= simon@olofsson.de
COMMENT= Open Source implementation of the Java Management Extensions (JMX)
USE_JAVA= yes
@@ -22,6 +20,10 @@ JAVA_VERSION= 1.3+
PORTDOCS= *
.endif
+.if !defined(NOPORTEXAMPLES)
+PORTEXAMPLES= *
+.endif
+
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
@@ -29,13 +31,10 @@ JARFILES= mx4j-examples.jar mx4j-impl.jar mx4j-jmx.jar \
PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
NO_BUILD= yes
-post-extract:
- @${FIND} -s -d ${WRKSRC}/examples -type d -exec ${RMDIR} {} \; >/dev/null 2>&1 || true
-
do-install: do-install-jar do-install-javadoc
do-install-jar:
- @${ECHO_MSG} -n ">> Installing .jar files..."
+ @${ECHO_MSG} -n ">> Installing .jar files in ${JAVAJARDIR} ..."
@for jarfile in ${JARFILES}; do \
${INSTALL_DATA} ${WRKSRC}/lib/$$jarfile ${JAVAJARDIR} ; \
done
@@ -43,20 +42,18 @@ do-install-jar:
do-install-javadoc:
.if !defined(NOPORTDOCS)
- @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
+ @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR} ..."
@cd ${WRKSRC}/docs \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [DONE]"
- @${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR}..."
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${ECHO_MSG} -n ">> Installing examples in ${EXAMPLESDIR} ..."
@cd ${WRKSRC}/examples \
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
@${ECHO_MSG} " [DONE]"
- @${FIND} -s ${WRKSRC}/examples -not -type d \
- | ${SED} -ne 's,^${WRKSRC}/examples,${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
- @${FIND} -s -d ${WRKSRC}/examples -type d \
- | ${SED} -ne 's,^${WRKSRC}/examples,@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
diff --git a/java/mx4j/distinfo b/java/mx4j/distinfo
index 7a4e20a8cefe..10017250b0f3 100644
--- a/java/mx4j/distinfo
+++ b/java/mx4j/distinfo
@@ -1,3 +1,3 @@
-MD5 (mx4j-2.1.1.tar.gz) = 0b5ce38677e3cd56bbd80e272ff7661b
-SHA256 (mx4j-2.1.1.tar.gz) = e52af33cc990b73fb8b9ff68a85f399ee4daf2752ab122357313a92a43e236bd
-SIZE (mx4j-2.1.1.tar.gz) = 4587837
+MD5 (mx4j-3.0.2.tar.gz) = 2fbf496495e15b338a33a2aaf443774f
+SHA256 (mx4j-3.0.2.tar.gz) = 282bd68e517aba3d0f5bbf76f90c3c09e446c529e7796467ab7de65398bb1115
+SIZE (mx4j-3.0.2.tar.gz) = 4555894