I done the ebuild that installs the official freebsd sun jre
Created attachment 92233 [details] diablo-jre-bin-1.5.0.07.00.ebuild
Someone from Java team can take a look if this looks good?
Created attachment 92234 [details] files/diablo-jre-bin-1.5.env
A few comments: * set_java_env doesn't take any arguments anymore. * java-vm-2 has a pkg_postinst that you should be calling. * not sure about installing the .desktop file, because I think there are other packages which install the same file... although, they aren't likely available on fbsd. * might want to have -* in keywords if it isn't available on other archs. Don't see any major issues otherwise.
set_java_env call is identical to sun-jre-bin's ebuild in portage. The X dependency should be updated copying the one there most likely (or testing it again but I'm pretty sure it would be the same).
You're right, it is the same as in sun-jre-bin... it must just have been missed though, since sun-jdk has no args to it. I'll have to take care of that.
Created attachment 92337 [details] diablo-jre-bin-1.5.0.07.00.ebuild
(In reply to comment #7) > Created an attachment (id=92337) [edit] > diablo-jre-bin-1.5.0.07.00.ebuild > Now is it ok?
At a minimum, it misses a dependency on =virtual/libstdc++-3.3*, as it uses libstdc++.so.5. I'm building it now to test that too.
Okay, I've committed this to the tree under joined bsd+java herds (java mostly for the java-vm-2 support, as I would not know if something is changed, which means feel free to change anything for that side whenever needed :) all the rest of maintainership is up to bsd herd). Thanks Timothy for all your work, I'm looking forward for diablo-jdk :)