[101615] trunk/dports/python/py-otp/Portfile
jmr at macports.org
jmr at macports.org
Mon Jan 14 18:11:09 PST 2013
Revision: 101615
https://trac.macports.org/changeset/101615
Author: jmr at macports.org
Date: 2013-01-14 18:11:09 -0800 (Mon, 14 Jan 2013)
Log Message:
-----------
py-otp: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-otp/Portfile
Modified: trunk/dports/python/py-otp/Portfile
===================================================================
--- trunk/dports/python/py-otp/Portfile 2013-01-15 01:59:41 UTC (rev 101614)
+++ trunk/dports/python/py-otp/Portfile 2013-01-15 02:11:09 UTC (rev 101615)
@@ -1,13 +1,15 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-otp
version 1.0
revision 2
categories python security
+license GPL
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description RFC2289 implementation for python (one-time password)
long_description python-otp is a module which implements support for \
@@ -22,7 +24,11 @@
checksums md5 351380746f9eaa624221e6037736c618 \
sha1 abb0c92b790fa4a32c126142aa8a1a9ecfbb5c52
-post-destroot {
- xinstall -m 0444 -W ${worksrcpath} README rfc2289.txt \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 0444 -W ${worksrcpath} README rfc2289.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130114/a9b54563/attachment.html>
More information about the macports-changes
mailing list