[29336] trunk/dports/textproc/expat/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 21 06:27:37 PDT 2007
Revision: 29336
http://trac.macosforge.org/projects/macports/changeset/29336
Author: yves at macports.org
Date: 2007-09-21 06:27:36 -0700 (Fri, 21 Sep 2007)
Log Message:
-----------
Remove cd command
Modified Paths:
--------------
trunk/dports/textproc/expat/Portfile
Modified: trunk/dports/textproc/expat/Portfile
===================================================================
--- trunk/dports/textproc/expat/Portfile 2007-09-21 12:30:39 UTC (rev 29335)
+++ trunk/dports/textproc/expat/Portfile 2007-09-21 13:27:36 UTC (rev 29336)
@@ -25,8 +25,7 @@
set docdir ${prefix}/share/doc/${name}-${version}
pre-test {
- cd ${worksrcpath}/lib
- copy -force expat.h expat_external.h ../tests
+ copy -force ${worksrcpath}/lib/expat.h ${worksrcpath}/lib/expat_external.h ${worksrcpath}/tests
}
# extract from tests/README.txt: "Expat must be built and installed
# before "make check" can be executed."
@@ -38,8 +37,8 @@
xinstall -m 0644 -W ${worksrcpath} COPYING Changes README ${destroot}${docdir}
eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir}/html
- cd ${destroot}${prefix}/lib
- ln -s libexpat.1.dylib libexpat.0.dylib
+ system "cd ${destroot}${prefix}/lib &&
+ ln -s libexpat.1.dylib libexpat.0.dylib"
}
variant no_static description {Do not build static libraries} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070921/a7324c2f/attachment.html
More information about the macports-changes
mailing list