Changeset 4189 for trunk/dports


Ignore:
Timestamp:
Dec 10, 2003, 9:41:20 PM (20 years ago)
Author:
mww
Message:

-added missing 'platforms' key
-replaced 'system' cmds with 'file' equivalent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/sendemail/Portfile

    r3851 r4189  
    1 # $Id: Portfile,v 1.1 2003/10/29 18:09:51 mww Exp $
     1# $Id: Portfile,v 1.2 2003/12/10 21:41:20 mww Exp $
    22PortSystem 1.0
    33name            sendemail
     
    55categories      mail
    66maintainers     mww@opendarwin.org
     7platforms       darwin freebsd
    78description     lightweight, completly command line based SMTP email agent
    89long_description        sendemail is a lightweight, completly command line \
     
    2122depends_run     bin:perl:perl5.8
    2223
    23 configure       { reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" \
    24                         ${worksrcpath}/sendEmail }
     24configure       {
     25        reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" \
     26        ${worksrcpath}/sendEmail
     27}
    2528
    2629build           {}
    2730
    28 destroot        { system "cd ${worksrcpath} \
    29                 && install -m 755 sendEmail ${destroot}${prefix}/bin/sendemail \
    30                 && install -m 755 -d ${destroot}${prefix}/share/doc/sendemail \
    31                 && install -m 644 CHANGELOG README TODO \
    32                         ${destroot}${prefix}/share/doc/sendemail/" }
     31destroot        {
     32        file mkdir ${destroot}${prefix}/share/doc/${name}
     33        file copy ${worksrcpath}/sendEmail ${destroot}${prefix}/bin/sendemail
     34        file copy ${worksrcpath}/CHANGELOG ${worksrcpath}/README \
     35                ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     36}
Note: See TracChangeset for help on using the changeset viewer.