Ticket #36135: Portfile-gnuplot.diff
File Portfile-gnuplot.diff, 1.3 KB (added by jrhope, 12 years ago) |
---|
-
Portfile
old new 111 111 configure.args-append --with-lisp-files --with-lispdir=${prefix}/share/emacs/site-lisp 112 112 } 113 113 114 variant emacs_app description "An emacs mode for working with gnuplot, 115 for use with editors/emacs-app." { 116 depends_build-append path:share/emacs/site-lisp:emacs-app 117 configure.args-delete --without-lisp-files 118 configure.args-append --with-lisp-files \ 119 --with-lispdir=${prefix}/share/emacs/site-lisp 120 configure.env-append \ 121 EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs \ 122 PATH=${applications_dir}/Emacs.app/Contents/MacOS/:$env(PATH) 123 } 124 114 125 variant luaterm description "Enable lua-based terminals" { 115 126 depends_lib-append port:lua 116 127 configure.args-delete --without-lua … … 156 167 157 168 default_variants +aquaterm +luaterm +pangocairo +x11 158 169 170 pre-configure { 171 if {[variant_isset emacs_app]} { 172 reinplace "s/if test \"\$EMACS\" = emacs/if test `echo \$EMACS \| tr \[:upper:\] \[:lower:\]` = emacs/g" lisp/configure 173 } 174 } 175 159 176 post-destroot { 160 177 xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} 161 178 xinstall -m 0644 ${distpath}/${name}.pdf \