[104781] trunk/dports/comms/rgm3800py/Portfile

jmr at macports.org jmr at macports.org
Tue Apr 2 12:10:30 PDT 2013


Revision: 104781
          https://trac.macports.org/changeset/104781
Author:   jmr at macports.org
Date:     2013-04-02 12:10:30 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
rgm3800py: license, noarch, fix (uncaught) extract error

Modified Paths:
--------------
    trunk/dports/comms/rgm3800py/Portfile

Modified: trunk/dports/comms/rgm3800py/Portfile
===================================================================
--- trunk/dports/comms/rgm3800py/Portfile	2013-04-02 19:07:30 UTC (rev 104780)
+++ trunk/dports/comms/rgm3800py/Portfile	2013-04-02 19:10:30 UTC (rev 104781)
@@ -1,9 +1,10 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
+PortSystem          1.0
 
-PortSystem          1.0
 categories			comms python
+license             GPL-3+
 
 name                rgm3800py
 version             25
@@ -17,20 +18,25 @@
                     * Erase all tracks.
 
 platforms           darwin
+supported_archs     noarch
 build               {}
 use_configure       no
 
 homepage            http://code.google.com/p/rgm3800py/
 master_sites        http://rgm3800py.googlecode.com/files/
-distname            rgm3800py.py
 distfiles           rgm3800-rev${version}.py
 
 checksums           md5     28f575cf28d32a00615a2fc8b69f54b0 \
                     sha1    e8cf2f6aad55ea00b5b81a3dca03e18c3859960d \
                     rmd160  d339eeb8a892e3aaf53209483f61cfbc39bd1d64
 
+extract {
+    file mkdir ${worksrcpath}
+    copy ${distpath}/${distfiles} ${worksrcpath}
+}
+
 destroot {
-     xinstall ${distpath}/${distfiles} ${destroot}${prefix}/bin/${distname}
+     xinstall ${worksrcpath}/${distfiles} ${destroot}${prefix}/bin/${name}.py
 }
 
 notes "RGM3800 needs a PL2303 USB driver, i.e. http://osx-pl2303.sourceforge.net/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/3f1905f2/attachment.html>


More information about the macports-changes mailing list