[101319] trunk/dports/python/py-rad/Portfile
jmr at macports.org
jmr at macports.org
Tue Jan 8 11:01:32 PST 2013
Revision: 101319
https://trac.macports.org/changeset/101319
Author: jmr at macports.org
Date: 2013-01-08 11:01:32 -0800 (Tue, 08 Jan 2013)
Log Message:
-----------
py-rad: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-rad/Portfile
Modified: trunk/dports/python/py-rad/Portfile
===================================================================
--- trunk/dports/python/py-rad/Portfile 2013-01-08 18:53:21 UTC (rev 101318)
+++ trunk/dports/python/py-rad/Portfile 2013-01-08 19:01:32 UTC (rev 101319)
@@ -1,12 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-rad
version 0.9
categories python net
+license BSD
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python RADIUS module implementing RFC2865
long_description pyrad is an implementation of a RADIUS client as \
@@ -15,14 +17,19 @@
decoding responses.
homepage http://www.wiggy.net/code/pyrad/
-master_sites http://www.wiggy.net/files/
+master_sites http://www.wiggy.net/files/ \
+ http://distfiles.macports.org/python/
distname pyrad-${version}
checksums sha1 e6212dd65938e85f870cd769c64025f61f3bc884
-post-destroot {
- xinstall -m 644 ${worksrcpath}/README.txt \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath}/example acct.py auth.py dictionary \
- dictionary.attingo server.py \
- ${destroot}${prefix}/share/doc/${name}/examples
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 644 ${worksrcpath}/README.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath}/example acct.py auth.py dictionary \
+ dictionary.attingo server.py \
+ ${destroot}${prefix}/share/doc/${subport}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130108/d0d310e2/attachment.html>
More information about the macports-changes
mailing list