Ticket #39094: gnuplot-elisp-portgroup.patch
File gnuplot-elisp-portgroup.patch, 1.4 KB (added by mojca (Mojca Miklavec), 12 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup xcodeversion 1.0 6 6 PortGroup texlive 1.0 7 PortGroup elisp 1.0 7 8 8 9 name gnuplot 9 10 version 4.6.3 … … 94 95 } 95 96 96 97 variant emacs description "An emacs mode for working with gnuplot" { 97 # This would be nicer with an emacs PortGroup: 98 # Use the port that provides Emacs.app (emacs-app[-devel]) 99 # or the usual emacs binary if the former doesn't exist 100 set app_binary ${applications_dir}/Emacs.app/Contents/MacOS/Emacs 101 set app_provider [registry_file_registered $app_binary] 102 if {[file exists $app_binary] && $app_provider != 0} { 103 depends_build-append port:${app_provider} 104 configure.env-append EMACS=${app_binary} 105 } else { 106 depends_build-append path:bin/emacs:emacs 107 } 98 depends_build-append port:${emacs_binary_provider} 99 configure.env-append EMACS=${emacs_binary} 108 100 configure.args-delete --without-lisp-files 109 configure.args-append --with-lisp-files --with-lispdir=${ prefix}/share/emacs/site-lisp101 configure.args-append --with-lisp-files --with-lispdir=${emacs_lispdir} 110 102 } 111 103 112 104 variant luaterm description "Enable lua-based terminals" {