ports/122247: [PATCH] java/mx4j: update to 3.0.2, take maintainership
Simon Olofsson
simon at olofsson.de
Sat Mar 29 22:50:02 UTC 2008
>Number: 122247
>Category: ports
>Synopsis: [PATCH] java/mx4j: update to 3.0.2, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 29 22:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Simon Olofsson
>Release: FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ports.olofsson.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- Update to 3.0.2
- Take maintainership
- Use SF macro
- Install examples depending on NOPORTEXAMPLES
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- mx4j-3.0.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/java/mx4j/Makefile /usr/home/simon/ports/java/mx4j/Makefile
--- /usr/ports/java/mx4j/Makefile 2007-06-06 09:45:31.000000000 +0200
+++ /usr/home/simon/ports/java/mx4j/Makefile 2008-03-29 23:09:23.000000000 +0100
@@ -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 at FreeBSD.org
+MAINTAINER= simon at olofsson.de
COMMENT= Open Source implementation of the Java Management Extensions (JMX)
USE_JAVA= yes
@@ -22,6 +20,10 @@
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 @@
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-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, at dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/java/mx4j/distinfo /usr/home/simon/ports/java/mx4j/distinfo
--- /usr/ports/java/mx4j/distinfo 2006-01-22 13:39:57.000000000 +0100
+++ /usr/home/simon/ports/java/mx4j/distinfo 2008-03-29 22:32:19.000000000 +0100
@@ -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
--- mx4j-3.0.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list