From filippo@widestore.net  Thu Feb 17 15:38:18 2005
Return-Path: <filippo@widestore.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C8CF216A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Feb 2005 15:38:18 +0000 (GMT)
Received: from w1001.widhost.net (w1001.widhost.net [209.235.192.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 151E343D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Feb 2005 15:38:18 +0000 (GMT)
	(envelope-from filippo@widestore.net)
Received: from mx0.hq.widestore.net (mx0.hq.widestore.net [212.97.46.42])
	by w1001.widhost.net (Postfix) with ESMTP id DBFA021A48
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Feb 2005 10:38:16 -0500 (EST)
Received: from cagnina.hq.widestore.net (cagnina.hq.widestore.net [192.168.1.1])
	by mx0.hq.widestore.net (Postfix) with ESMTP id 5758E62
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Feb 2005 16:37:50 +0100 (CET)
Message-Id: <1108654670.0@cagnina.hq.widestore.net>
Date: Thu, 17 Feb 2005 16:37:50 +0100
From: "Filippo Natali" <filippo@widestore.net>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [NEW PORT] java/mx4j: JMX Open Source implementation
X-Send-Pr-Version: gtk-send-pr 0.4.4 
X-GNATS-Notify:

>Number:         77642
>Category:       ports
>Synopsis:       [NEW PORT] java/mx4j: JMX Open Source implementation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hq
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 17 15:40:26 GMT 2005
>Closed-Date:    Sun Feb 20 23:01:30 GMT 2005
>Last-Modified:  Sun Feb 20 23:01:30 GMT 2005
>Originator:     Filippo Natali
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Widestore srl 
>Environment:


System: FreeBSD 5.3-STABLE #0: Thu Jan 13 12:15:26 CET 2005
    filippo@cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA



>Description:


MX4J is a project to build an Open Source implementation of the Java(TM) Management Extensions (JMX) and of the JMX Remote API (JSR 160) specifications, and to build tools relating to JMX.

http://mx4j.sourceforge.net


>How-To-Repeat:





>Fix:


--- mx4j.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mx4j
#	mx4j/Makefile
#	mx4j/distinfo
#	mx4j/pkg-descr
#
echo c - mx4j
mkdir -p mx4j > /dev/null 2>&1
echo x - mx4j/Makefile
sed 's/^X//' >mx4j/Makefile << 'END-of-mx4j/Makefile'
X# New ports collection makefile for:   mx4j
X# Date created:                16 Jan 2005
X# Whom:                        Filippo Natali <filippo@widestore.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mx4j
XPORTVERSION=	2.1.1
XCATEGORIES=	java misc
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	filippo@widestore.net
XCOMMENT=	Open Source implementation of the Java Management Extensions (JMX)
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.3+
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	*
X.endif
X
XJARFILES=	mx4j-examples.jar mx4j-impl.jar mx4j-jmx.jar \
X	mx4j-remote.jar mx4j-rimpl.jar mx4j-rjmx.jar \
X	mx4j-soap.war mx4j-tools.jar mx4j.jar
X
XPLIST_FILES=	${JARFILES:S,^,%%JAVAJARDIR%%/,}
XNO_BUILD=	yes
X
Xdo-install: do-install-jar do-install-javadoc
X
Xdo-install-jar:
X	@${ECHO_CMD} -n  ">> Installing .jar file..."
X	@for jarfile in ${JARFILES}; do					\
X		${INSTALL_DATA} ${WRKSRC}/lib/$$jarfile ${JAVAJARDIR} ;	\
X	done
X	@${ECHO_CMD} " [DONE]"
X
Xdo-install-javadoc:
X.if !defined(NOPORTDOCS)
X	@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
X	@${MKDIR} ${DOCSDIR}
X	@cd ${WRKSRC}/docs && ${FIND} . \
X	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
X	@${ECHO_CMD} -n ">> Installing examples in ${EXAMPLESDIR}..."
X	@cd ${WRKSRC}/examples && ${FIND} . \
X	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
X	@${ECHO_CMD} " [DONE]"
X	@${FIND} -s ${WRKSRC}/examples -not -type d \
X	  | ${SED} -ne 's,^${WRKSRC}/examples,${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
X	@${FIND} -s -d ${WRKSRC}/examples -type d \
X	  | ${SED} -ne 's,^${WRKSRC}/examples,@dirrm ${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
X	@${FIND} -s -d ${WRKSRC}/examples -type d \
X	  | ${SED} -ne 's,^${WRKSRC}/examples,@exec mkdir -p  %D/${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST}
X.endif
X
X.include <bsd.port.mk>
END-of-mx4j/Makefile
echo x - mx4j/distinfo
sed 's/^X//' >mx4j/distinfo << 'END-of-mx4j/distinfo'
XMD5 (mx4j-2.1.1.tar.gz) = 0b5ce38677e3cd56bbd80e272ff7661b
XSIZE (mx4j-2.1.1.tar.gz) = 4587837
END-of-mx4j/distinfo
echo x - mx4j/pkg-descr
sed 's/^X//' >mx4j/pkg-descr << 'END-of-mx4j/pkg-descr'
XMX4J is a project to build an Open Source implementation of the
XJava(TM) Management Extensions (JMX) and of the JMX Remote API
X(JSR 160) specifications, and to build tools relating to JMX.
X
XJMX is an optional package for J2SE that provides a standard
Xway to manage applications. It can also be used to wrap legacy
Xsystems and provide a standard interface to the outside world,
Xenabling the development of web services. JMX allows developers
Xto write more modular and loosely coupled system components and
Xreduce the complexity of large, interoperating systems.
X
XWWW: http://mx4j.sourceforge.net 
END-of-mx4j/pkg-descr
exit

--- mx4j.shar ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->hq 
Responsible-Changed-By: hq 
Responsible-Changed-When: Thu Feb 17 15:44:18 GMT 2005 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77642 
State-Changed-From-To: open->feedback 
State-Changed-By: hq 
State-Changed-When: Thu Feb 17 16:46:40 GMT 2005 
State-Changed-Why:  
I don't really understand the usefulness of these lines: 

@${FIND} -s -d ${WRKSRC}/examples -type d  
| ${SED} -ne 's,^${WRKSRC}/examples,@exec mkdir -p  %D/${EXAMPLESDIR:S,^${PREFIX}/,,},p' >> ${TMPPLIST} 

This is not needed when you already have a @dirrm entry for each directory. 

I have a question regarding CATEGORIES. It has been recently decided that we 
should not add new ports with 'java' as the main category, unless it's the only 
category of the port and/or the port is a JDK or closely related to the Java 
language itself. At first I thought about switching the two categories of this 
port, but I'm not sure that the port should be located in misc/mx4j. Maybe the 
port is indeed closely related to Java, or maybe we could also add 'devel'... 

What is your opinion? 


http://www.freebsd.org/cgi/query-pr.cgi?pr=77642 
State-Changed-From-To: feedback->closed 
State-Changed-By: hq 
State-Changed-When: Sun Feb 20 23:01:20 GMT 2005 
State-Changed-Why:  
New port added. 

Thanks for your contribution. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77642 
>Unformatted:
