[MacPorts] #36135: gnuplot enhancement to support emacs-app
MacPorts
noreply at macports.org
Tue Oct 2 05:19:53 PDT 2012
#36135: gnuplot enhancement to support emacs-app
--------------------------+------------------------------------
Reporter: jrh@… | Owner: mojca.miklavec.lists@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords: haspatch
Port: gnuplot |
--------------------------+------------------------------------
Comment (by mojca.miklavec.lists@…):
I'm sorry. I now see that I forgot about emacs-app-devel. Any idea how to
incorporate that one? (A slightly different "if" is needed, I guess ...)
The following comes to my mind, but is probably suboptimal:
{{{
variant emacs description "An emacs mode for working with gnuplot" {
if {[catch {registry_active emacs-app}] == 0} {
depends_build-append port:emacs-app
configure.env-append
EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
} else if {[catch {registry_active emacs-app-devel}] == 0} {
depends_build-append port:emacs-app-devel
configure.env-append
EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
} else {
depends_build-append path:bin/emacs:emacs
}
configure.args-delete --without-lisp-files
configure.args-append --with-lisp-files --with-
lispdir=${prefix}/share/emacs/site-lisp
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/36135#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list