As long as we’re building port files for MacPorts, here is the updated Groovy 1.5.6 portFile ( the one in macport has an old version 1.0 for some reason ).
You can download the file from the ticket. Hopefully it can be approved soon.
This will install the latest release of Groovy ( as of April 2008 ) when you call sudo port install groovy
To get it running on your local machine now do this
1. Make a directory on your desktop called portfiles
2. Create a new folder here called java
3. And another one inside java called lang
4. Copy the portFile into /Users/tomaslin/Desktop/portfiles/java/lang
( of course, assuming you’re me. Otherwise probably name it you )
5. Open a terminal window and call
cd /Users/tomaslin/Desktop/portfiles portindex
6. It should register your ports and create an index file
7. Modify your /opt/local/etc/macports/sources.conf file by calling
sudo nano /opt/local/etc/macports/sources.conf
8. Add the line
Make sure this is BEFORE rsync://rsync.macports.org/release/ports/
9. Phew, save the file and type
sudo port install groovy
10. Groovy 1.5.6 should be ready to use!