Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just installed Dia using macports.

Now, I need to place the shortcut in the Apps folder and also make the executable available in the Spotlight search.

How can I do that?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

MacPorts installs it's applications by default in /opt/local. dia installs to /opt/local/bin/dia. Since the program is started from the command line and runs in X11, I suggest making an AppleScript program (or use Platypus) to do this for you. You can then save this program in the Applications folder so it can be found using Spotlight.

Sample AppleScript:

do shell script "/opt/local/bin/dia &"

Alternatively, a standalone application has been made by dia-installer.de that you can copy right into your Applications folder.

share|improve this answer
    
Installed the mac installer! Thanks! –  zengr Aug 24 '10 at 9:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.