Need someone to check the new Portfile

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


Hello,


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 http://www.cubrid.org.


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 http://pastebin.com/DZ7DkfER.

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 cubridmanager.app. 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.
Esen.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20111221/a469611c/attachment.html>


More information about the macports-dev mailing list