Changeset 51935


Ignore:
Timestamp:
Jun 7, 2009, 12:18:10 AM (10 years ago)
Author:
blb@…
Message:

textproc/mmencode - remove stale servers from master_sites; use use_configure; simplify destroot and use xinstall instead (ticket #19863)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/mmencode/Portfile

    r51934 r51935  
    1919platforms           darwin
    2020
    21 master_sites        ftp://thumper.bellcore.com/pub/nsb/ \
    22                     http://ftp.dmz.digex.net/pub/packages/mail/metamail/ \
    23                     ftp://ftp.funet.fi/pub/unix/mail/metamail/ \
     21master_sites        ftp://ftp.funet.fi/pub/unix/mail/metamail/ \
    2422                    freebsd
    2523
    26 checksums           md5 fd5617ea87e20d7f2fa839e1d1fede60
     24checksums           md5     fd5617ea87e20d7f2fa839e1d1fede60 \
     25                    sha1    8f213baec9b17c05bcb066f616977a561757d7a6 \
     26                    rmd160  ae322cad0653140cbe7f0148ce48757df98c26b0
    2727distname            mm${version}
    2828extract.suffix      .tar.Z
    2929worksrcdir          ${distname}/src/metamail
    3030
    31 configure           {}
     31use_configure       no
    3232
    3333build.target        mmencode
    3434
    3535destroot {
    36    system "install -o root -m 755 -d ${destroot}${prefix}/bin"
    37    system "install -o root -m 755 ${worksrcpath}/mmencode \
    38       ${destroot}${prefix}/bin"
    39    system "install -o root -m 755 -d \
    40       ${destroot}${prefix}/share/man/man1"
    41    system "install -o root -m 644 \
    42       ${worksrcpath}/../man/mmencode.1 \
    43       ${destroot}${prefix}/share/man/man1"
     36   xinstall -m 755 -W ${worksrcpath} mmencode ${destroot}${prefix}/bin
     37   xinstall -m 644 -W ${worksrcpath}/../man mmencode.1 \
     38      ${destroot}${prefix}/share/man/man1
     39   ln -s mmencode ${destroot}${prefix}/bin/mimencode
    4440}
    4541
    46 post-destroot {
    47    system "ln -fs mmencode ${destroot}${prefix}/bin/mimencode"
    48 }
    49 
Note: See TracChangeset for help on using the changeset viewer.