Sitting in relative obscurity since 2007…
--with-apxs=/sw/bin/apxs2to the command line arguments.
sudo mkdir /svn, where
/svnis the path where you want to store your repository.
sudo svnadmin create /svn.
sudo chown -R www /svn, where
wwwis the name of the user the Apache uses.
/sw/etc/apache2/mods-enabled/dav_svn.conf; the comments should explain what you need to do here.
/sw/etc/sbin/apache2ctl -k restart).
At this point, you should have a pretty basic Subversion server set up at
http://your-machine/svn. Of course, there are all sorts of other things that you can do to your repository, like set it up for secure access, put it on a different port, and what-have-you, but I haven't had need for any of these features (I'm running on a small, personal network). However, I would suspect that setting up these features would not vary as much from platform to platform as the initial setup procedure does, so try Google if you need that stuff.
Sadly, I lost my notes on how to get Apache 2 to start up at boot. However, I did find this forum posting that suggests that it can be accomplished by replacing the Apache 1.3 startup scripts with links to the Apache 2 scripts.
I've also found that sometimes, even though I have Apache 2 set up to start up at boot, it fails to do so, or CruiseControl.NET fails to start (or eventually locks up). However, this happens infrequently enough that I haven't bothered to track down the root of the problem, and a reboot (or two) generally fixes it. If anyone reading this happens to stumble upon a solution to my problem, I'd love to hear about it.