[MacPorts] #36367: php-mode.el: variant to support emacs-app
#36367: php-mode.el: variant to support emacs-app -------------------------+-------------------------------- Reporter: jrh@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: php-mode.el -------------------------+-------------------------------- The attached Portfile patch adds a new {{{app}}} variant to support using Emacs.app to compile {{{php-mode.elc}}} (the destination directory remains {{{${prefix}/share/emacs/site-lisp}}}): {{{ --- Portfile.orig 2012-09-28 13:57:59.000000000 -0400 +++ Portfile 2012-09-28 14:21:27.000000000 -0400 @@ -25,13 +25,20 @@ # We want emacs from MacPorts since this will install stuff in emacs' site-lisp and we want # it to go into ${prefix}'s site-lisp. -depends_lib path:${prefix}/bin/emacs:emacs +depends_lib path:${prefix}/share/emacs/site-lisp:emacs + +set EMACS ${prefix}/bin/emacs + +variant app description {Use this package with Emacs.app} { + depends_build port:emacs-app + set EMACS ${applications_dir}/Emacs.app/Contents/MacOS/Emacs +} use_configure no build { system "cd ${worksrcpath} && \ - emacs --batch --eval \ + $EMACS --batch --eval \ '(progn (setq load-path (cons \".\" load-path)) \ (byte-compile-file \"php-mode.el\"))'" } }}} -- Ticket URL: <https://trac.macports.org/ticket/36367> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36367: php-mode.el: variant to support emacs-app --------------------------+------------------------ Reporter: jrh@… | Owner: billitch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: php-mode.el | --------------------------+------------------------ Changes (by ryandesign@…): * keywords: => haspatch * owner: macports-tickets@… => billitch@… -- Ticket URL: <https://trac.macports.org/ticket/36367#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts