Ticket #32151: org-mode-devel.diff

File org-mode-devel.diff, 1.2 KB (added by vishketan@…, 13 years ago)

Unified diff of the changes

  • 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=4
    21# $Id$
    32
    43PortSystem          1.0
     4
    55name                org-mode-devel
    66version             devel
    77categories          editors
     
    2323depends_lib         port:emacs
    2424depends_build       port:texinfo
    2525
    26 variant emacs_app description "If your Emacs is emacs-app" {
    27         depends_lib-append      port:emacs-app
    28         depends_lib-delete      port:emacs
    29         destroot.args   EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
    30 }
    31 
    3226use_configure       no
    3327
    3428destroot.destdir    prefix=${destroot}${prefix}
    3529destroot.target     install-lisp install-info
    3630
    3731livecheck.type          none
    38 
    39 post-activate   {
    40     file rename ${prefix}/share/info/org ${prefix}/share/info/org.info
    41     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/org
    47 }