Changeset 10590


Ignore:
Timestamp:
Jan 24, 2005, 9:46:21 AM (15 years ago)
Author:
jkh
Message:

The leim component is an optional component that is downloaded separately. Since
the current portfile does not download that component, it should make an empty
directory in its place to prevent emacs from complaining about its absense every
time it runs.

Also fix some redundant variable usage given $CWD in post-destroot
Bug: 2609
Submitted by: Salvatore Desiano <sal@…>

File:
1 edited

Legend:

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

    r10362 r10590  
    1 # $Id: Portfile,v 1.35 2005/01/12 21:28:25 pguyot Exp $
     1# $Id: Portfile,v 1.36 2005/01/24 09:46:21 jkh Exp $
    22
    33PortSystem 1.0
     
    3131        system "rm -rf share/man"
    3232        file rename man share/man
     33        file mkdir share/emacs/$version/leim
    3334        if {[variant_isset carbon]} {
    3435                global destroot prefix version
    3536
    36                 file delete ${destroot}${prefix}/bin/emacs
    37                 file delete ${destroot}${prefix}/bin/emacs-$version
     37                file delete bin/emacs
     38                file delete bin/emacs-$version
    3839        }
    3940}
Note: See TracChangeset for help on using the changeset viewer.