I use MacPorts to manage my libraries on OSX and until now, they have worked flawlessly. I get tons of flack for using RPM's, PORT's, YUM, up2date, any kinda package manager on any linux OS I manage. Whatever. They have, until now, worked flawlessly.
In any case, I am writing a cool SVN tool in a Rails app, and low and behold, it needed some Ruby bindings. I had been using the same bindings I managed to get working some time ago, and had forgotten how to get them working at the time. I searched far and wide to find to find that subversion-rubybindings had the swig-rb libraries packaged in, but that still didn't work. Something still failed whenever I tried to "require 'svn/core/'". I would always get a random LoadError saying that the system couldn't find "svn/core/ext".
So... I did some more research and decided to just do it manually. No real package for this, but you can follow these simple steps to make sure that you keep your MacPort Subversion install working, and simply upgrade the swig bindings. I imagine the next time you upgrade subversion, you may have to do this again?
The first thing you need to do is grab the source code and compile SWIG.
wget http://internap.dl.sourceforge.net/sourceforge/swig/swig-1.3.31.tar.gz
tar xzvf swig-1.3.31.tar.gz
cd ./swig-1.3.31
./configure
make
sudo make install
Next, grab the source code for Subversion. At present, 1.4.4 is the latest, but later on you may want to grab a newer version here.
wget http://subversion.tigris.org/downloads/subversion-1.4.4.tar.gz
tar xzvf subversion-1.4.4.tar.gz
cd subversion-1.4.4
This is the important part. After you have unpacked subversion, you only need to configure it. But... do make sure to use this command precisely!