[28388] trunk/dports/sysutils/coreutils/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 29 23:43:07 PDT 2007
Revision: 28388
http://trac.macosforge.org/projects/macports/changeset/28388
Author: afb at macports.org
Date: 2007-08-29 23:43:07 -0700 (Wed, 29 Aug 2007)
Log Message:
-----------
workaround for ticket #12356
Modified Paths:
--------------
trunk/dports/sysutils/coreutils/Portfile
Modified: trunk/dports/sysutils/coreutils/Portfile
===================================================================
--- trunk/dports/sysutils/coreutils/Portfile 2007-08-30 06:28:22 UTC (rev 28387)
+++ trunk/dports/sysutils/coreutils/Portfile 2007-08-30 06:43:07 UTC (rev 28388)
@@ -32,7 +32,12 @@
set docdir ${prefix}/share/doc/${name}-${version}
post-destroot {
- delete ${destroot}${prefix}/share/info/dir ${destroot}${prefix}/lib/charset.alias
+ if {[file exists ${destroot}${prefix}/share/info/dir]} {
+ delete ${destroot}${prefix}/share/info/dir
+ }
+ if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
+ delete ${destroot}${prefix}/lib/charset.alias
+ }
xinstall -m 0755 -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070829/1632f5fd/attachment.html
More information about the macports-changes
mailing list