reduce emacs dependency

Mark Brethen mark.brethen at gmail.com
Fri Jan 29 14:52:03 PST 2016


I was thinking something like

depends_build-append [port:emacs || port:emacs-app || port:emacs-mac-app || etc.]

but this isn’t very elegant. Can you use regex with a depends statement?

> On Jan 29, 2016, at 11:28 AM, Sterling Smith <smithsp at fusion.gat.com> wrote:
> 
> Is there a common library or binary that could be specified as a library, path, or bin dependency
> https://guide.macports.org/chunked/reference.dependencies.html
> 
> -Sterling
> 
> On Jan 28, 2016, at 8:50PM, Mark Brethen <mark.brethen at gmail.com> wrote:
> 
>> I have a dependency on the emacs-app for the reduce-addons subport. It is needed to byte-compile a couple of elisp files for the ide.  I realize there are currently 8 different ports that install emacs:
>> 
>> emacs @24.5_1 (editors)
>>   The GNU Emacs text editor
>> 
>> emacs-app @24.5_2 (aqua, editors)
>>   The GNU Emacs text editor (Cocoa version)
>> 
>> emacs-app-devel @20151029 (aqua, editors)
>>   The GNU Emacs text editor, recent Git development version
>> 
>> emacs-mac-app @5.15 (aqua, editors)
>>   Emacs Mac port
>> 
>> emacs-snapshot @20140101_1 (editors)
>>   The GNU Emacs text editor
>> 
>> emacs22 @22.3_8 (editors)
>>   The GNU Emacs text editor
>> 
>> emacs23 @23.4_6 (editors)
>>   The GNU Emacs text editor
>> 
>> xemacs @21.4.22_11 (editors, x11)
>>   A highly customizable open-source text editor.
>> 
>> A user who uses xemacs, for example, may not like another emacs app installed on their mac. Is it preferable to check if emacs is already installed on the user’s system and if not, then install a “default” emacs app or the emacs binary? What’s the best way to implement this?
>> 
>> 
>> Mark
>> 
>> 
>> 
>> 
>> _______________________________________________
>> macports-dev mailing list
>> macports-dev at lists.macosforge.org
>> https://lists.macosforge.org/mailman/listinfo/macports-dev
> 



Mark






More information about the macports-dev mailing list