I'm not sure the people above are still waiting for answers, but a response could be useful for future reference.
Basically Deuce has posted a shell script that creates a port-directory for code::blocks in the current directory. I've updated it for myself to SVN version 4418 and made some changes to the original script of Deuce as the SVN-stuff refused to work here (I'm new to FreeBSD, so probably my fault). I've not yet had time to test code-blocks itself, but it seems to work fine.
The updated script can be found
hereHow to install:
1) Go to the directory you use to store locally created ports, for example:
/usr/local/ports (create if you don't have it)
2) Save
the script in this directory.
3) Make the script executable by:
chmod +x <name of the script-file>4) Execute the script.....it will create the directory-structure for the port:
./<script-name>5) move to the created directory:
cd ./devel/codeblocks-devel6) Retrieve the SVN-version and make the distfile with the command:
make distfile7) Now install in the usual fashion by typing:
make installYou can update to later SVN versions by changing the portrevision variable in the makefile. However, as I understand it, FreeBSD uses the content of pkg-plist to determine what to remove when deinstalling. As such the content of this file would have to be updated if you change to later SVN-versions, see the porters handbook for more details if you are interested. Note that for the original script posted by Deuce step 6 would not be needed....I think.
Disclaimer) as far as I can tell the port install and deinstalls cleanly with all options except debug selected, but no guarantees. How it works with less options selected has not been tested....