Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add netbeans update from 6.9 to 7.1.1

  • Loading branch information...
commit 57fbfe433e63f458d432e5198f4b4b7ffd30df9d 1 parent bbe4790
@sizeofvoid sizeofvoid authored
View
55 devel/netbeans/Makefile
@@ -0,0 +1,55 @@
+# $OpenBSD: Makefile,v 1.23 2011/12/02 08:29:45 ajacoutot Exp $
+
+SHARED_ONLY= Yes
+
+COMMENT= NetBeans Java IDE
+
+V= 7.1.1
+DISTNAME= netbeans-${V}
+CATEGORIES= devel
+
+HOMEPAGE= http://www.netbeans.org/
+
+MAINTAINER= Rafael Sadowski <rafael@sizeofvoid.org>
+
+# CDDL and GPLv2 dual-licensed
+#
+# For external components see:
+# http://www.netbeans.info/downloads/licence/netbeans-3rd-party.txt
+PERMIT_PACKAGE_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP= Yes
+
+MASTER_SITES= http://dlc.sun.com.edgesuite.net/netbeans/${V}/final/zip/
+EXTRACT_SUFX= -201203012225-ml.zip
+
+MODULES= java
+MODJAVA_VER= 1.7+
+
+RUN_DEPENDS= java/javaPathHelper \
+ devel/desktop-file-utils
+
+NO_BUILD= Yes
+NO_REGRESS= Yes
+
+WRKDIST= ${WRKDIR}/netbeans
+
+NB= ${PREFIX}/netbeans
+
+do-install:
+ ${INSTALL_DATA_DIR} ${NB}
+ @tar -czf - -C ${WRKDIR}/netbeans . | tar xzf - -C ${NB}
+ @rm -rf ${NB}/profiler3
+ @find ${NB} -name "*.dll" -o -name "*.exe" -o -name "*.cmd" \
+ -o -name "*.bat" -o -name "*.orig" | xargs rm
+ @${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -c \
+ ${FILESDIR}/netbeans \
+ ${PREFIX}/bin/netbeans
+ @chmod ${BINMODE} ${PREFIX}/bin/netbeans
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/applications
+ @${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -c \
+ ${FILESDIR}/netbeans.desktop \
+ ${PREFIX}/share/applications/netbeans.desktop
+
+.include <bsd.port.mk>
View
3  devel/netbeans/TODO
@@ -0,0 +1,3 @@
+Need more tests
+ - Java - "Hello World" -- OK
+ - C/C++ - "Hello World" -- OK
View
5 devel/netbeans/distinfo
@@ -0,0 +1,5 @@
+MD5 (netbeans-7.1.1-201203012225-ml.zip) = FVm3+nTR5/aYDGZQNzTvkQ==
+RMD160 (netbeans-7.1.1-201203012225-ml.zip) = 7ZAiuwTPJNluTOrmrCyWoHofWoQ=
+SHA1 (netbeans-7.1.1-201203012225-ml.zip) = rTeM3PAl0jbyjmGaj4PPkYCBYqc=
+SHA256 (netbeans-7.1.1-201203012225-ml.zip) = OesxRy3ec2cQA0UW+gMK0lHpr8cLC7eyIKnBO1SxxQg=
+SIZE (netbeans-7.1.1-201203012225-ml.zip) = 262643219
View
26 devel/netbeans/files/netbeans
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $OpenBSD: netbeans,v 1.1 2010/04/03 11:42:06 landry Exp $
+#
+# OpenBSD-specific startup script for NetBeans IDE
+
+NETBEANS_HOME=${TRUEPREFIX}/netbeans
+
+#-----------------------------------------------------------------------------
+# Determine configuration settings
+#-----------------------------------------------------------------------------
+
+JAVA_HOME=`javaPathHelper -h netbeans`
+
+if [ -z "${JAVA_HOME}" ]; then
+ exit 1
+fi
+
+# Check if 'netbeans' executable can be found
+if [ ! -x "${NETBEANS_HOME}/bin/netbeans" ]; then
+ echo "Error: NETBEANS_HOME is not defined correctly: ${NETBEANS_HOME}"
+ echo " Unable to find launcher binary"
+ exit 1
+fi
+
+PATH=${JAVA_HOME}/bin:$PATH exec "${NETBEANS_HOME}/bin/netbeans" --jdkhome ${JAVA_HOME} $@
View
12 devel/netbeans/files/netbeans.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=NetBeans
+GenericName=NetBeans IDE
+Comment=NetBeans Integrated Development Environment
+Icon=${TRUEPREFIX}/netbeans/nb/netbeans.png
+Exec=${TRUEPREFIX}/bin/netbeans
+Terminal=false
+StartupNotify=true
+Categories=Application;Development;
View
12 devel/netbeans/patches/patch-etc_netbeans_conf
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- etc/netbeans.conf.orig Thu Mar 15 11:50:46 2012
++++ etc/netbeans.conf Thu Mar 15 11:51:30 2012
+@@ -3,7 +3,7 @@ netbeans_default_userdir="${HOME}/.netbeans/7.1.1"
+
+ # Options used by NetBeans launcher by default, can be overridden by explicit
+ # command line switches:
+-netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true"
++netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dplugin.manager.check.updates=false -J-Dplugin.manager.check.interval=NEVER"
+ # Note that default -Xmx and -XX:MaxPermSize are selected for you automatically.
+ # You can find these values in var/log/messages.log file in your userdir.
+ # The automatically selected value can be overridden by specifying -J-Xmx or
View
6 devel/netbeans/pkg/DESCR
@@ -0,0 +1,6 @@
+The NetBeans IDE is a multi-platform, integrated development
+environment consisting of an open-source IDE and an application
+platform that enable developers to create web, enterprise, desktop,
+and mobile applications using the Java platform, as well as JavaFX,
+PHP, JavaScript and Ajax, Ruby and Ruby on Rails, Groovy and Grails,
+and C/C++.
View
6,995 devel/netbeans/pkg/PLIST
6,995 additions, 0 deletions not shown
View
40 devel/netbeans/pkg/README
@@ -0,0 +1,40 @@
+$OpenBSD: README,v 1.2 2011/06/02 13:41:38 ajacoutot Exp $
+
++-----------------------------------------------------------------------
+| Running ${FULLPKGNAME} on OpenBSD
++-----------------------------------------------------------------------
+
+Help System
+===========
+
+NetBeans relies on the presence of a firefox binary for access to
+the online help system. Firefox is not set up as a runtime dependency
+as this dependency is optional.
+
+If you have Firefox 3.5 on your system you may want to set up the
+following symbolic link:
+
+ln -s ${LOCALBASE}/bin/firefox35 ${LOCALBASE}/bin/firefox
+
+You can also customize this setting within the IDE by going to
+Tools> Options> General> Web Browser.
+
+Font issues in the output window
+================================
+
+After hitting the Clean & Build or the Run buttons from
+within the IDE, the output window will show square boxes
+instead of fonts.
+
+Bug 145696 was filed but marked as WONTFIX by NetBeans developers:
+ https://netbeans.org/bugzilla/show_bug.cgi?id=145696
+
+Native Libraries
+================
+
+The profiler module is not included in the port. Additionally,
+the following modules, although included, contain native code which
+will likely not work:
+- cnd
+- dlight
+- ruby
Please sign in to comment.
Something went wrong with that request. Please try again.