From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 16 03:10:04 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86CF616A403 for ; Fri, 16 Mar 2007 03:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6741013C45D for ; Fri, 16 Mar 2007 03:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2G3A4UC055921 for ; Fri, 16 Mar 2007 03:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2G3A4dr055919; Fri, 16 Mar 2007 03:10:04 GMT (envelope-from gnats) Resent-Date: Fri, 16 Mar 2007 03:10:04 GMT Resent-Message-Id: <200703160310.l2G3A4dr055919@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nemo Liu Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D9A516A404 for ; Fri, 16 Mar 2007 03:06:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 7EFA513C469 for ; Fri, 16 Mar 2007 03:06:35 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2G36XQX025465 for ; Fri, 16 Mar 2007 03:06:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l2G36VWl025460; Fri, 16 Mar 2007 03:06:31 GMT (envelope-from nobody) Message-Id: <200703160306.l2G36VWl025460@www.freebsd.org> Date: Fri, 16 Mar 2007 03:06:31 GMT From: Nemo Liu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/110373: [NEW PORT]Netbeans5 : an open source java IDE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 03:10:04 -0000 >Number: 110373 >Category: ports >Synopsis: [NEW PORT]Netbeans5 : an open source java IDE >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 16 03:10:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Nemo Liu >Release: 6.2 >Organization: >Environment: FreeBSD monitor.internal.sina.com.cn 6.2-STORM-r3 FreeBSD 6.2-STORM-r3 #0: Tue Jan 30 18:26:24 CST 2007 delphij@monitor.internal.sina.com.cn:/usr/obj/usr/src/sys/SINAMAIL i386 >Description: I'm not very sure the Licence of Netbeans allow package distribution.Could commiter who handler this PR would like to help me analysis it.The licence's URL is bellow: http://www.netbeans.info/downloads/licence/show.php?l=ide-5.0-rc1-2006-01-09.inc The NetBeans IDE is a free, Open-Source Integrated Development Environment for software developers. The IDE runs on many platforms including Windows, Linux, Solaris, and the MacOS. It is easy to install and use straight out of the box. The NetBeans IDE provides developers with all the tools they need to create professional cross-platform desktop, enterprise, web and mobile applications. >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # netbeans5 # netbeans5/files # netbeans5/files/patch-etc_netbeans.conf # netbeans5/files/pkg-deinstall.in # netbeans5/files/pkg-install.in # netbeans5/Makefile # netbeans5/distinfo # netbeans5/pkg-descr # echo c - netbeans5 mkdir -p netbeans5 > /dev/null 2>&1 echo c - netbeans5/files mkdir -p netbeans5/files > /dev/null 2>&1 echo x - netbeans5/files/patch-etc_netbeans.conf sed 's/^X//' >netbeans5/files/patch-etc_netbeans.conf << 'END-of-netbeans5/files/patch-etc_netbeans.conf' X X$FreeBSD$ X X--- etc/netbeans.conf.orig X+++ etc/netbeans.conf X@@ -6,7 +6,7 @@ X netbeans_default_options="-J-Xms32m -J-Xmx128m -J-XX:PermSize=32m -J-XX:MaxPermSize=96m -J-Xverify:none" X X # default location of J2SE JDK, can be overridden by using --jdkhome switch X-#netbeans_jdkhome="/path/to/jdk" X+netbeans_jdkhome="%%JAVA_HOME%%" X X # clusters' paths separated by path.separator (semicolon on Windows, colon on Unices) X #netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2" END-of-netbeans5/files/patch-etc_netbeans.conf echo x - netbeans5/files/pkg-deinstall.in sed 's/^X//' >netbeans5/files/pkg-deinstall.in << 'END-of-netbeans5/files/pkg-deinstall.in' X#!/bin/sh X Xcase "$2" in X DEINSTALL) X rm -f %%PREFIX%%/bin/netbeans5 X ;; Xesac X Xexit 0 END-of-netbeans5/files/pkg-deinstall.in echo x - netbeans5/files/pkg-install.in sed 's/^X//' >netbeans5/files/pkg-install.in << 'END-of-netbeans5/files/pkg-install.in' X#!/bin/sh X Xcase "$2" in X POST-INSTALL) X ln -sf %%PREFIX%%/netbeans4/bin/netbeans %%PREFIX%%/bin/netbeans5 X ;; Xesac X Xexit 0 END-of-netbeans5/files/pkg-install.in echo x - netbeans5/Makefile sed 's/^X//' >netbeans5/Makefile << 'END-of-netbeans5/Makefile' X# New ports collection makefile for: netbeans X# Date Created: 15 May 2007 X# Whom: Nemo Liu X# X# $FreeBSD$ X# X XPORTNAME= netbeans XPORTVERSION= 5 XCATEGORIES= java devel XMASTER_SITES= http://us1.mirror.netbeans.org/download/5_0/fcs/200601251500/ XDISTNAME= netbeans-5_0 X XMAINTAINER= nemoliu@gmail.com XCOMMENT= A free and open-source IDE for Java X XUSE_BZIP2= yes XUSE_JAVA= yes XJAVA_VERSION= 1.4+ XNO_BUILD= yes X XWRKSRC= ${WRKDIR}/netbeans X XSUB_FILES= pkg-install pkg-deinstall X XDOWNLOAD_URL?= http://www.netbeans.info/downloads/index.php?rs=2 X X.include X Xpost-patch: X @${RM} ${WRKSRC}/etc/netbeans.conf.orig X Xdo-configure: X @${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf X @${RM} ${WRKSRC}/etc/netbeans.conf.bak X Xdo-install: X @${MKDIR} ${PREFIX}/netbeans5 X @${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans5 X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans5 X @${LN} -sf ${PREFIX}/netbeans5/bin/netbeans ${PREFIX}/bin/netbeans5 X @(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans5,p' >> ${TMPPLIST} X @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans5,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST} X @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans5,' -ne 's,^,@exec ${MKDIR} %D/,p' >> ${TMPPLIST} X X.include END-of-netbeans5/Makefile echo x - netbeans5/distinfo sed 's/^X//' >netbeans5/distinfo << 'END-of-netbeans5/distinfo' XMD5 (netbeans-5_0.tar.bz2) = ad2646c47b79a9a5a832f1f24ff84e69 XSHA256 (netbeans-5_0.tar.bz2) = d1e7e3fad3a75b8b9543426efc79a6508b06510b12b43aca02f2429e6112cc49 XSIZE (netbeans-5_0.tar.bz2) = 50819931 END-of-netbeans5/distinfo echo x - netbeans5/pkg-descr sed 's/^X//' >netbeans5/pkg-descr << 'END-of-netbeans5/pkg-descr' XThe NetBeans IDE is a world-class development environment written Xin Java. It can be used to develop code in Java, HTML, XML, JSP, XC/C++ and other languages. The IDE is modular, and there is a huge Xvariety of commercial and free extensions to it to support various Xtechnologies. X XWWW: http://www.netbeans.org/ END-of-netbeans5/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: