|
|||||||||
Sunday the 22nd of November, 2009 |
|||||||||
openjdk6 most recent diffversion b16
Scroll down toward the bottom of the page to get installation instructions for openjdk6. The raw portfile for openjdk6 b16 is located here: http://openjdk6.darwinports.com/dports/java/openjdk6/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/openjdk6 The openjdk6 Portfile 53088 2009-06-29 05:16:32Z ryandesign PortSystem 1.0 Name: openjdk6 Version: b16 Revision: 1 set builddate 24_apr_2009 Category: java Maintainers: landonf openmaintainer Platform: darwin Homepage: http://openjdk.java.net/ Description: Sun's java 6 virtual machine release under the GNUV2 license Long Description: OpenJDK is an open-source implementation of the Java Platform, Standard Edition. The version has all of Sun's bug fixes up to JDK 6 Release 11 and should be the runtime equivelent to JDK6 Release 11. Much of the OpenJDK code is licensed under the GPL version 2 with the Classpath exception. The Java Hotspot virtual machine source code is licensed under the GPL version 2 only. distname openjdk-6-src-${version}-${builddate} Master Sites: http://download.java.net/openjdk/jdk6/promoted/${version}/ Checksums: md5 850a29b70206bc7fa083cd26acc781f3 sha256 96159489d8b70db275c125b627c6e6912e6c078279d76b968d2e0969359c9420 Patch Files: patch-set patch-null_word_intptr_t patch-jdk_src_solaris_javavm_include_typedefs__md.h patch-jvm_base_addr patch-jdk_src_share_java.c patch-jdk_src_solaris_native_common_gdefs__md.h patch-10.4-ucontext patch-disable_test_gamma use_configure no depends_lib port:freetype port:openmotif port:xorg-libX11 port:xorg-libXtst depends_build port:icedtea6-plugs port:apache-ant # Check if the boostrap is required if {[file exists ${prefix}/share/java/openjdk6/bin/java]} { # A previous OpenJDK6 release is already installed set bootstrapvm "${prefix}/share/java/openjdk6" } else { # A bootstrap binary is required to build depends_build-append port:openjdk6_bootstrap set bootstrapvm "${prefix}/share/java/openjdk6_bootstrap" } worksrcdir "./" post-extract { set copydirs { hotspot/src/os/linux/launcher hotspot/src/os/linux/vm hotspot/src/os_cpu/linux_x86/vm hotspot/build/linux hotspot/build/linux/makefiles jdk/src/linux/doc/man } set copyfiles { corba/make/common/Defs-linux.gmk corba/make/common/shared/Defs-linux.gmk jdk/make/common/Defs-linux.gmk jdk/make/common/shared/Defs-linux.gmk jdk/make/java/nio/mapfile-linux jdk/make/netbeans/common/architectures/name-Linux.properties jdk/make/sun/awt/mapfile-vers-linux jdk/make/tools/sharing/classlist.linux jdk/src/solaris/classes/java/lang/UNIXProcess.java.linux jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.properties jdk/src/solaris/classes/sun/tools/attach/LinuxAttachProvider.java jdk/src/solaris/hpi/include/largefile_linux.h jdk/src/solaris/native/java/net/linux_close.c jdk/src/solaris/native/sun/tools/attach/LinuxVirtualMachine.c } # Copy over original Linux sources foreach src ${copydirs} { set dest "${worksrcpath}/[strsed ${src} g/linux/bsd/]" # Create the parent directories file mkdir "${dest}" # Copy the contents, adjust file contents foreach srcfile [glob -types f "${worksrcpath}/${src}/*"] { set destfile "${dest}/[strsed [file tail ${srcfile}] g/linux/bsd/]" copy "${srcfile}" "${destfile}" reinplace "s/linux/bsd/g; s/Linux/Bsd/g" "${destfile}" reinplace "s/linux/bsd/g; s/Linux/Bsd/g" "${destfile}" } } foreach src ${copyfiles} { set dest "${worksrcpath}/[exec echo ${src} | sed {s/linux/bsd/g; s/Linux/Bsd/g}]" copy "${worksrcpath}/${src}" "${dest}" reinplace "s/linux/bsd/g; s/Linux/Bsd/g" "${dest}" } # Copy the solaris sources copy "${worksrcpath}/jdk/src/solaris/hpi/native_threads/src/threads_solaris.c" "${worksrcpath}/jdk/src/solaris/hpi/native_threads/src/threads_bsd.c" reinplace "s/solaris/bsd/g; s/Solaris/Bsd/g" "${worksrcpath}/jdk/src/solaris/hpi/native_threads/src/threads_bsd.c" copy "${worksrcpath}/jdk/src/share/lib/security/java.security" "${worksrcpath}/jdk/src/share/lib/security/java.security-openbsd" } build.args ALT_BOOTDIR="${bootstrapvm}" ALT_BINARY_PLUGS_PATH="${prefix}/share/java/icedtea6-plugs/jre/lib/rt-closed.jar" ANT_HOME="${prefix}/share/java/apache-ant" ALT_FREETYPE_HEADERS_PATH="${prefix}/include" ALT_FREETYPE_LIB_PATH="${prefix}/lib" ALT_CUPS_HEADERS_PATH="/usr/include" ALT_MOTIF_DIR="${prefix}" ALT_X11_PATH="${prefix}" ALT_DEVTOOLS_PATH=/usr ALT_CACERTS_FILE=/System/Library/Frameworks/JavaVM.framework/Home/lib/security/cacerts NO_DOCS=true HOTSPOT_BUILD_JOBS=[expr [exec sysctl -n hw.ncpu] - 1] destroot { set path "${destroot}${prefix}/share/java/${name}/" xinstall -m 755 -d ${path} system "(cd ${worksrcpath}/build/bsd-i586/j2sdk-image && tar cf - *) | (tar -C ${path} -xf -)" } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/openjdk6You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using openjdk6 with these commands: % man openjdk6 Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




