I updated the portagemaster ebuild to version 0.1.8 It needed a couple of extra dependencies since the jar file is now compiled on your system. Also, on my system I needed ant-1.5, as 1.4.1 was br0ken. I got the ebuilds for ant-1.5 from bugzilla bug 5614
Created attachment 2922 [details] portagemaster-0.1.8.ebuild
It works with ant-1.4.1-r1 over here. I've run into a few problems with your ebuild, however: 1) The header is missing the $Header:$ sentence. 2) You should depend on a specific version of Jikes (>=1.15) and ant (>=1.4.1), unless you have tested _ALL_ older versions. 3) src_unpack is superfluous 4) Your package not only needs the JDK 1.4 to be installed, it must also be the system default JDK. A check should be put into pkg_setup(). 5) You install a .jar file into /usr/bin. Install it with dojar, and write a small bash script (named portagemaster) that you put into /usr/sbin (from what I can see, there is no reason why regular users should want to run portagemaster). 6) You should do dodoc on INSTALL. I've fixed all these points except 5). If you attach a portagemaster bash script, I'll stuff all of this into the Portage Tree with no further delay.
Created attachment 3160 [details] wrapper file to start portagemaster Thanks for the comments. This was my first attempt at making an ebuild, and I kind of expected to have done a couple of things wrong :)
Created attachment 3161 [details] wrapper script version 2 oops, made a stupid mistake. This should fix it.
I've rewritten Robin Cull's submission (random pick; there were three submitted scripts + ebuilds). It is now available as app-admin/portagemaster-0.1.8