How to get BZflag from darwin ports (OSX)

Questions or HOWTOs about the above? Post 'em here...
Post Reply
User avatar
Private First Class
Private First Class
Posts: 25
Joined: Sat Dec 13, 2003 1:58 pm
Location: Portugal

How to get BZflag from darwin ports (OSX)

Post by rufitos » Sun Jun 20, 2004 2:52 pm

Getting BZflag from darwin ports.(OSX)

First of all you must have either the Mac OS X Developer Tools (for 10.2.x), or XCode (for 10.3.x) installed.

Obtaining DarwinPorts:

Use the following commands to check the project out of the CVS repository:

Code: Select all

cvs -d login
cvs -d co -P darwinports
(password, simply press return on your keyboard—the password is empty)

Installing DarwinPorts:

To install DarwinPorts execute the following commands from the darwinports/base directory.

Code: Select all

% ./configure 
% make
% sudo make install
This will compile and install all the necessary software.

To configure DarwinPorts you should edit /etc/ports/sources.conf. Add an entry for your local ports tree:
file:///Users/mike/darwinports/dports. To edit the file you must use a command line text editor like pico or vi.

You should add /opt/local/bin (or wherever you chose to install DarwinPorts) to your path.
Add set path=($path /opt/local/bin) to your .cshrc file. You may need to create the file first if you haven't set one up before. Then close the Terminal window and open a new one so the new path setting takes effect.

You should have a working installation of DarwinPorts, you have installed the 'port' command (by default this installed as /opt/local/bin/port.)


Install ports

Code: Select all

sudo port install bzflag
you can use "sudo port install bzflag -v" (-v verbose mode)

Search ports

Code: Select all

port search bzflag
Cleaning a port

Once the port has been installed, you may want to delete all the intermediate files that DarwinPorts has created while building the port. To do this, simply use the clean option:

Code: Select all

port clean bzflag
Always clean a port after a installation.

For more information you should look at the port manpage by entering: man port.
or go to and check how to update the ports.

Now just type bzflag under X11 and play it!
If it doesnt work check the $PATH settings, the bzflag is install in /opt/local/bin/


Post Reply