Changeset 5609


Ignore:
Timestamp:
Feb 26, 2004, 12:16:00 AM (16 years ago)
Author:
gwright
Message:

Use a wrapper script for buddha.
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/buddha/Portfile

    r4990 r5609  
    1 # $Id: Portfile,v 1.1 2004/01/25 00:59:12 gwright Exp $
     1# $Id: Portfile,v 1.2 2004/02/26 00:16:00 gwright Exp $
    22
    33PortSystem 1.0
     
    6161                  reinplace s|${destroot}/${prefix}|${prefix}|g \
    6262                            ${destroot}/${prefix}/lib/${name}-${version}/mk.buddha.sh
     63
     64                  cd ${destroot}/${prefix}/bin
     65                  file delete buddha
     66                  set script [open "${destroot}${prefix}/bin/buddha" w 755]
     67                  puts $script "#!/bin/sh"
     68                  puts $script "${prefix}/bin/buddha-1.0 $@"
     69                  puts $script ""
     70                  close $script
     71                  system "chmod 755 ${destroot}${prefix}/bin/buddha"
    6372                }
Note: See TracChangeset for help on using the changeset viewer.