[MacPorts] #36135: gnuplot enhancement to support emacs-app
MacPorts
noreply at macports.org
Tue Oct 2 05:03:52 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@…):
What about the following?
{{{
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 {
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
}
}}}
If that works for you - can you please ask on the macports-devel list if
that's an acceptable solution?
My preference would still be something along the following lines though:
{{{
variant emacs description "An emacs mode for working with gnuplot" {
PortGroup emacs 1.0
configure.env-append EMACS=${emacs.binary}
configure.args-delete --without-lisp-files
configure.args-append --with-lisp-files --with-
lispdir=${emacs.lispfiles} # or simply current string
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/36135#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list