Changeset 5708


Ignore:
Timestamp:
Mar 3, 2004, 11:26:53 PM (16 years ago)
Author:
jkh
Message:

Do the right thing with info and man, nuke non-functional emacs binaries
in the +carbon case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/editors/emacs/Portfile

    r5557 r5708  
    1 # $Id: Portfile,v 1.26 2004/02/23 10:38:44 jkh Exp $
     1# $Id: Portfile,v 1.27 2004/03/03 23:26:53 jkh Exp $
    22
    33PortSystem 1.0
     
    2323        file delete share/info
    2424        file rename info share/info
     25        system "rm -rf share/man"
     26        file rename man share/man
     27        if {[info proc final-destroot-hook] == "final-destroot-hook"} {
     28                final-destroot-hook
     29        }
    2530}
    2631
     
    3136
    3237variant devel {
    33         version 21.3.50.1
     38        version 21.3.50
    3439        fetch.type      cvs
    3540        cvs.root        :ext:anoncvs@savannah.gnu.org:/cvsroot/emacs
     
    4752variant carbon requires devel {
    4853        configure.args-append   --with-carbon --enable-carbon-app=${destroot}/Applications/DarwinPorts
     54        proc final-destroot-hook {} {
     55                global destroot prefix version
     56
     57                file delete ${destroot}${prefix}/bin/emacs
     58                file delete ${destroot}${prefix}/bin/emacs-$version
     59        }
    4960}
Note: See TracChangeset for help on using the changeset viewer.