configure/make/install options for compiling applications from source into

Ryan Schmidt macports-2006c at
Thu Sep 21 12:40:55 PDT 2006

On Sep 21, 2006, at 20:41, Landon Fuller wrote:

> On Sep 21, 2006, at 10:48, Mark Duling wrote:
>> "Daniel J. Luke" <dluke at> writes:
>>> EDITOR is an environment variable that port uses to decide which  
>>> text
>>> editor to invoke when you type 'port edit foo'
>>> With bash, you'd want to do something like 'export EDITOR=nano' (or
>>> vi or emacs or whatever)
>>> We could probably have it default to nano if no editor is specified,
>>> though.
>> Oooh.  That would be nice for people who are new to Unix, and also  
>> for us
>> who assist them.  Could that be put on the TODO list, wherever it is?
> Seeing as Wolfgang Keller was whining about not being Mac-like, why  
> not go all the way?
> TextMate and BBEdit have command line tools ('mate' and 'bbedit')  
> that launch the GUI editor.

Absolutely. Here's how I do just that:

(That was in response to a question on the Subversion mailing list  
but it applies just as well to MacPorts or any other Unix command- 
line utility that uses the EDITOR environment variable.)

More information about the macports-users mailing list