[80123] trunk/dports/devel/libtool/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Jul 4 13:35:01 PDT 2011
Revision: 80123
http://trac.macports.org/changeset/80123
Author: ryandesign at macports.org
Date: 2011-07-04 13:35:00 -0700 (Mon, 04 Jul 2011)
Log Message:
-----------
libtool: use an unversioned docdir, and prevent installation if libltdl.dylib did not get built (#30018)
Modified Paths:
--------------
trunk/dports/devel/libtool/Portfile
Modified: trunk/dports/devel/libtool/Portfile
===================================================================
--- trunk/dports/devel/libtool/Portfile 2011-07-04 20:08:06 UTC (rev 80122)
+++ trunk/dports/devel/libtool/Portfile 2011-07-04 20:35:00 UTC (rev 80123)
@@ -4,6 +4,7 @@
name libtool
version 2.4
+revision 1
categories devel sysutils
maintainers boeyms openmaintainer
description GNU Libtool - The GNU Portable Library Tool
@@ -35,7 +36,14 @@
use_parallel_build yes
post-destroot {
- set docdir ${prefix}/share/doc/${name}-${version}
+ foreach {neededfile} "${prefix}/lib/libltdl.dylib" {
+ if {![file exists ${destroot}${neededfile}]} {
+ ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again."
+ return -code error "missing ${neededfile} in destroot"
+ }
+ }
+
+ set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README THANKS \
TODO ${destroot}${docdir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110704/ca6507c8/attachment-0001.html>
More information about the macports-changes
mailing list