[102002] trunk/dports/python/py-fnorb/Portfile

jmr at macports.org jmr at macports.org
Thu Jan 24 01:51:32 PST 2013


Revision: 102002
          https://trac.macports.org/changeset/102002
Author:   jmr at macports.org
Date:     2013-01-24 01:51:32 -0800 (Thu, 24 Jan 2013)
Log Message:
-----------
py-fnorb: use unified portgroup, license, noarch

Modified Paths:
--------------
    trunk/dports/python/py-fnorb/Portfile

Modified: trunk/dports/python/py-fnorb/Portfile
===================================================================
--- trunk/dports/python/py-fnorb/Portfile	2013-01-24 09:47:43 UTC (rev 102001)
+++ trunk/dports/python/py-fnorb/Portfile	2013-01-24 09:51:32 UTC (rev 102002)
@@ -1,13 +1,14 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-fnorb
 version			1.3
 revision		1
-categories		python
+license			PSF
 platforms		darwin freebsd
+supported_archs	noarch
 maintainers		nomaintainer
 description		py-fnorb is a pure Python CORBA 2.0 ORB
 long_description	Fnorb is a CORBA 2.0 ORB for Python. Fnorbs claim to \
@@ -21,8 +22,12 @@
 distname		Fnorb-${version}
 checksums		md5 7de1500c7ef6592a603890b45e23261b
 
-post-destroot	{
-	file delete -force ${destroot}${prefix}/share/doc/${name}
-	file rename ${destroot}${prefix}/share/doc/Fnorb \
-		${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        file delete -force ${destroot}${prefix}/share/doc/${subport}
+        file rename ${destroot}${prefix}/share/doc/Fnorb \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130124/ae1558d9/attachment.html>


More information about the macports-changes mailing list