[49904] trunk/dports/python

blb at macports.org blb at macports.org
Sun Apr 19 14:51:24 PDT 2009


Revision: 49904
          http://trac.macports.org/changeset/49904
Author:   blb at macports.org
Date:     2009-04-19 14:51:24 -0700 (Sun, 19 Apr 2009)
Log Message:
-----------
New port - python/py26-elementtree, flexible container object for python

Modified Paths:
--------------
    trunk/dports/python/py26-elementtree/Portfile

Added Paths:
-----------
    trunk/dports/python/py26-elementtree/

Modified: trunk/dports/python/py26-elementtree/Portfile
===================================================================
--- trunk/dports/python/py25-elementtree/Portfile	2009-04-19 19:52:49 UTC (rev 49891)
+++ trunk/dports/python/py26-elementtree/Portfile	2009-04-19 21:51:24 UTC (rev 49904)
@@ -1,13 +1,13 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
 
-name			py25-elementtree
+name			py26-elementtree
 version			1.2.6-20050316
 categories		python
 platforms		darwin
-maintainers		stechert at macports.org
+maintainers		nomaintainer
 description		flexible container object for python
 long_description	The Element type is a simple but flexible container \
 				object, designed to store hierarchical data structures, such \
@@ -27,12 +27,14 @@
 
 post-destroot	{
 	xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
-	xinstall -m 644 -W ${worksrcpath}/samples simple-ns.xml simple.xml \
-		${destroot}${prefix}/share/doc/${name}/examples
 	eval file copy [glob ${worksrcpath}/docs/*] \
 		${destroot}/${prefix}/share/doc/${name}
+	xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
+	eval xinstall -m 644 [glob ${worksrcpath}/samples/*] \
+		${destroot}${prefix}/share/examples/${name}
 }
 
 livecheck.check	regex
 livecheck.url	http://effbot.org/downloads/
 livecheck.regex	elementtree-(\[0-9\.-\]+).tar.gz
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090419/81c141f5/attachment-0001.html>


More information about the macports-changes mailing list