Ticket #40398: magit-emacs_app.diff

File magit-emacs_app.diff, 455 bytes (added by cubranic@…, 11 years ago)

Adding an emacs_app variant that depends and builds with emacs-app

  • Portfile

    old new  
    3838use_configure   no
    3939
    4040destroot.args   PREFIX=${prefix} SYSCONFDIR=${prefix}/etc
     41
     42variant emacs_app description "If your Emacs is emacs-app" {
     43    depends_lib-append     port:emacs-app
     44    depends_lib-delete     port:emacs
     45   
     46    destroot.args-append    EMACS=${destroot}${applications_dir}/Emacs.app/Contents/MacOS/Emacs
     47}