[101778] trunk/dports/python/py-lupy/Portfile

jmr at macports.org jmr at macports.org
Fri Jan 18 21:22:40 PST 2013


Revision: 101778
          https://trac.macports.org/changeset/101778
Author:   jmr at macports.org
Date:     2013-01-18 21:22:40 -0800 (Fri, 18 Jan 2013)
Log Message:
-----------
py-lupy: use unified portgroup, license, noarch

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

Modified: trunk/dports/python/py-lupy/Portfile
===================================================================
--- trunk/dports/python/py-lupy/Portfile	2013-01-19 04:59:53 UTC (rev 101777)
+++ trunk/dports/python/py-lupy/Portfile	2013-01-19 05:22:40 UTC (rev 101778)
@@ -1,13 +1,15 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
 
 name			py-lupy
 version			0.2.1
 revision		1
 categories		python textproc databases
+license			LGPL-2.1
 platforms		darwin freebsd
+supported_archs	noarch
 maintainers		nomaintainer
 description		full-text indexer and search engine in Python
 long_description	Lupy is a is a full-text indexer and search engine \
@@ -23,9 +25,13 @@
 distname		Lupy-${version}
 checksums		md5 515ea0b4aab8dd8299480cb9a0da6068
 
-post-destroot	{
-	xinstall -m 644 -W ${worksrcpath} LICENSE README.txt changelog.txt \
-		releasenotes.txt ${destroot}${prefix}/share/doc/${name}
-	file delete -force ${destroot}${prefix}/share/doc/${name}/examples
-	file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
+python.versions	24
+
+if {$subport != $name} {
+    post-destroot	{
+        xinstall -m 644 -W ${worksrcpath} LICENSE README.txt changelog.txt \
+            releasenotes.txt ${destroot}${prefix}/share/doc/${subport}
+        file delete -force ${destroot}${prefix}/share/doc/${subport}/examples
+        file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130118/aa8a1b1f/attachment.html>


More information about the macports-changes mailing list