Need someone to check the new Portfile

에센 사그노브 esen.sagynov at
Wed Dec 21 00:55:48 PST 2011


My name is Esen Sagynov. I have just developed a port for CUBRID Manager, a GUI based database administration tool for CUBRID. CUBRID is a very popular open source SQL database management system in Asia. The community site can be found at

Before I proceed with requesting a commit access, I would like to make sure my code follows the standards.

I have pasted the Portfile code to

Simply put, the software doesn't require any build or installation. It's just extract-and-use type of software.For this reason I skipped build {},and implemented custom destroot {...} which just copies the extracted files to /opt/local/etc/${name}.Once extracted and copies to destination, it will have a Since /opt/loca/etc/cubridmanager is not included in the path, I added a symlink to /opt/local/bin.So here I need your feedback. How good practice it is to add symlinks to the main App file to ${prefix}/bin?
Or is it better to add final destination dir to users' path? But again, I don't know who is the user, so I can't do this.
Another small problem I experience with symlink is that when I uninstall the port, the symlink still remains. Macports doesn't delete it. Why?
I would appreciate very much your help.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list