Ticket #36367: Portfile-php-mode.diff
File Portfile-php-mode.diff, 867 bytes (added by jrhope, 12 years ago) |
---|
-
Portfile
old new 25 25 26 26 # We want emacs from MacPorts since this will install stuff in emacs' site-lisp and we want 27 27 # it to go into ${prefix}'s site-lisp. 28 depends_lib path:${prefix}/bin/emacs:emacs 28 depends_lib path:${prefix}/share/emacs/site-lisp:emacs 29 30 set EMACS ${prefix}/bin/emacs 31 32 variant app description {Use this package with Emacs.app} { 33 depends_build port:emacs-app 34 set EMACS ${applications_dir}/Emacs.app/Contents/MacOS/Emacs 35 } 29 36 30 37 use_configure no 31 38 32 39 build { 33 40 system "cd ${worksrcpath} && \ 34 emacs--batch --eval \41 $EMACS --batch --eval \ 35 42 '(progn (setq load-path (cons \".\" load-path)) \ 36 43 (byte-compile-file \"php-mode.el\"))'" 37 44 }