Ticket #32151: org-mode-devel.diff
File org-mode-devel.diff, 1.2 KB (added by vishketan@…, 13 years ago) |
---|
-
Portfile.
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=42 1 # $Id$ 3 2 4 3 PortSystem 1.0 4 5 5 name org-mode-devel 6 6 version devel 7 7 categories editors … … 23 23 depends_lib port:emacs 24 24 depends_build port:texinfo 25 25 26 variant emacs_app description "If your Emacs is emacs-app" {27 depends_lib-append port:emacs-app28 depends_lib-delete port:emacs29 destroot.args EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs30 }31 32 26 use_configure no 33 27 34 28 destroot.destdir prefix=${destroot}${prefix} 35 29 destroot.target install-lisp install-info 36 30 37 31 livecheck.type none 38 39 post-activate {40 file rename ${prefix}/share/info/org ${prefix}/share/info/org.info41 system "${prefix}/bin/install-info ${prefix}/share/info/org.info ${prefix}/share/info/dir"42 }43 44 pre-deactivate {45 system "${prefix}/bin/install-info --delete ${prefix}/share/info/org.info ${prefix}/share/info/dir"46 file rename ${prefix}/share/info/org.info ${prefix}/share/info/org47 }