[35048] trunk/dports/python

eridius at macports.org eridius at macports.org
Sat Mar 15 08:33:30 PDT 2008


Revision: 35048
          http://trac.macosforge.org/projects/macports/changeset/35048
Author:   eridius at macports.org
Date:     2008-03-15 08:33:30 -0700 (Sat, 15 Mar 2008)

Log Message:
-----------
Fix doc/examples installation for py{,25}-sqlalchemy for real

Modified Paths:
--------------
    trunk/dports/python/py-sqlalchemy/Portfile
    trunk/dports/python/py25-sqlalchemy/Portfile

Modified: trunk/dports/python/py-sqlalchemy/Portfile
===================================================================
--- trunk/dports/python/py-sqlalchemy/Portfile	2008-03-15 15:23:20 UTC (rev 35047)
+++ trunk/dports/python/py-sqlalchemy/Portfile	2008-03-15 15:33:30 UTC (rev 35048)
@@ -25,9 +25,9 @@
 	# Install example files not installed by the Makefile
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
 	foreach f [glob -directory ${worksrcpath}/doc *] {
-		copy $f ${destroot}${prefix}/share/doc/${name}/$f
+		copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
 	}
 	foreach f [glob -directory ${worksrcpath}/examples *] {
-		copy $f ${destroot}${prefix}/share/doc/${name}/examples/$f
+		copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
 	}
 }

Modified: trunk/dports/python/py25-sqlalchemy/Portfile
===================================================================
--- trunk/dports/python/py25-sqlalchemy/Portfile	2008-03-15 15:23:20 UTC (rev 35047)
+++ trunk/dports/python/py25-sqlalchemy/Portfile	2008-03-15 15:33:30 UTC (rev 35048)
@@ -27,9 +27,9 @@
 	# Install example files not installed by the Makefile
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
 	foreach f [glob -directory ${worksrcpath}/doc *] {
-		copy $f ${destroot}${prefix}/share/doc/${name}/$f
+		copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
 	}
 	foreach f [glob -directory ${worksrcpath}/examples *] {
-		copy $f ${destroot}${prefix}/share/doc/${name}/examples/$f
+		copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
 	}
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080315/c24f9f16/attachment.html


More information about the macports-changes mailing list