[51935] trunk/dports/textproc/mmencode/Portfile

blb at macports.org blb at macports.org
Sat Jun 6 17:18:10 PDT 2009


Revision: 51935
          http://trac.macports.org/changeset/51935
Author:   blb at macports.org
Date:     2009-06-06 17:18:10 -0700 (Sat, 06 Jun 2009)
Log Message:
-----------
textproc/mmencode - remove stale servers from master_sites; use use_configure; simplify destroot and use xinstall instead (ticket #19863)

Modified Paths:
--------------
    trunk/dports/textproc/mmencode/Portfile

Modified: trunk/dports/textproc/mmencode/Portfile
===================================================================
--- trunk/dports/textproc/mmencode/Portfile	2009-06-07 00:13:07 UTC (rev 51934)
+++ trunk/dports/textproc/mmencode/Portfile	2009-06-07 00:18:10 UTC (rev 51935)
@@ -18,32 +18,24 @@
 
 platforms           darwin
 
-master_sites        ftp://thumper.bellcore.com/pub/nsb/ \
-                    http://ftp.dmz.digex.net/pub/packages/mail/metamail/ \
-                    ftp://ftp.funet.fi/pub/unix/mail/metamail/ \
+master_sites        ftp://ftp.funet.fi/pub/unix/mail/metamail/ \
                     freebsd
 
-checksums           md5 fd5617ea87e20d7f2fa839e1d1fede60
+checksums           md5     fd5617ea87e20d7f2fa839e1d1fede60 \
+                    sha1    8f213baec9b17c05bcb066f616977a561757d7a6 \
+                    rmd160  ae322cad0653140cbe7f0148ce48757df98c26b0
 distname            mm${version}
 extract.suffix      .tar.Z
 worksrcdir          ${distname}/src/metamail
 
-configure           {}
+use_configure       no
 
 build.target        mmencode
 
 destroot {
-   system "install -o root -m 755 -d ${destroot}${prefix}/bin"
-   system "install -o root -m 755 ${worksrcpath}/mmencode \
-      ${destroot}${prefix}/bin"
-   system "install -o root -m 755 -d \
-      ${destroot}${prefix}/share/man/man1"
-   system "install -o root -m 644 \
-      ${worksrcpath}/../man/mmencode.1 \
-      ${destroot}${prefix}/share/man/man1"
+   xinstall -m 755 -W ${worksrcpath} mmencode ${destroot}${prefix}/bin
+   xinstall -m 644 -W ${worksrcpath}/../man mmencode.1 \
+      ${destroot}${prefix}/share/man/man1
+   ln -s mmencode ${destroot}${prefix}/bin/mimencode
 }
 
-post-destroot {
-   system "ln -fs mmencode ${destroot}${prefix}/bin/mimencode"
-}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090606/8a163670/attachment.html>


More information about the macports-changes mailing list