[110944] trunk/dports/multimedia/mimms/Portfile

jmr at macports.org jmr at macports.org
Tue Sep 10 13:44:00 PDT 2013


Revision: 110944
          https://trac.macports.org/changeset/110944
Author:   jmr at macports.org
Date:     2013-09-10 13:44:00 -0700 (Tue, 10 Sep 2013)
Log Message:
-----------
mimms: use unified python portgroup, license, noarch

Modified Paths:
--------------
    trunk/dports/multimedia/mimms/Portfile

Modified: trunk/dports/multimedia/mimms/Portfile
===================================================================
--- trunk/dports/multimedia/mimms/Portfile	2013-09-10 20:38:02 UTC (rev 110943)
+++ trunk/dports/multimedia/mimms/Portfile	2013-09-10 20:44:00 UTC (rev 110944)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python 1.0
 
 name            mimms
 version         3.2.1
 revision        1
 categories      multimedia
+license         GPL-3+
 maintainers     gmail.com:cedric.luthi openmaintainer
 description     MiMMS isn't an MMS Message Sender, it's an MMS \
                 (e.g. mms://) stream downloader.
@@ -18,22 +19,24 @@
     being, remains a useful program.
 homepage        http://savannah.nongnu.org/projects/mimms/
 platforms       darwin
+supported_archs noarch
 master_sites    http://download.savannah.gnu.org/releases/mimms/
 checksums       md5     ec629d8899551b4789ba15c17402c36f \
                 sha1    279eee76dd4032cd2c1dddf1d49292a952c57b80 \
                 rmd160  669d5d80ae9bd318bf98c032197fa6980622182e
 use_bzip2       yes
+
+python.default_version  26
+
 depends_lib-append    port:libmms
 
 configure {
     reinplace "s|libmms.so.0|${prefix}/lib/libmms.0.dylib|g" ${worksrcpath}/libmimms/libmms.py
 }
 
+python.link_binaries_suffix
+
 post-destroot {
-    foreach binfile [glob -tails -directory ${destroot}${python.prefix}/bin *] {
-        ln -s ${python.prefix}/bin/${binfile} \
-            ${destroot}${prefix}/bin/${binfile}
-    }
     foreach manfile [glob -tails -directory ${destroot}${python.prefix}/share/man/man1 *] {
         ln -s ${python.prefix}/share/man/man1/${manfile} \
             ${destroot}${prefix}/share/man/man1/${manfile}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130910/af56ca42/attachment.html>


More information about the macports-changes mailing list