Ticket #38740: Portfile-sml-mode-el.diff
File Portfile-sml-mode-el.diff, 843 bytes (added by jrhope, 12 years ago) |
---|
-
Portfile
old new 21 21 22 22 supported_archs noarch 23 23 24 depends_lib p ort:emacs24 depends_lib path:${prefix}/share/emacs/site-lisp:emacs 25 25 26 26 patchfiles patch-sml-compat.el.diff 27 27 … … 29 29 build.target elcfiles 30 30 destroot.target install_elc install_el prefix=${destroot}${prefix} 31 31 32 set EMACS ${applications_dir}/Emacs.app/Contents/MacOS/Emacs 33 if {![file exists $EMACS] || [registry_file_registered $EMACS] == 0} { 34 set EMACS ${prefix}/bin/emacs 35 } 36 37 post-patch { 38 reinplace "s|EMACS = emacs|EMACS = ${EMACS}|g" ${worksrcpath}/Makefile 39 } 40 32 41 variant docs description {Install extra documentation} { 33 42 depends_build-append path:${prefix}/texi2dvi:texinfo \ 34 43 path:${prefix}/makeinfo:texinfo \