[96725] trunk/dports/print/transfig/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 17 15:47:46 PDT 2012
Revision: 96725
https://trac.macports.org/changeset/96725
Author: ryandesign at macports.org
Date: 2012-08-17 15:47:44 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
transfig: detect when programs that should get installed don't get installed (#35528)
Modified Paths:
--------------
trunk/dports/print/transfig/Portfile
Modified: trunk/dports/print/transfig/Portfile
===================================================================
--- trunk/dports/print/transfig/Portfile 2012-08-17 22:16:37 UTC (rev 96724)
+++ trunk/dports/print/transfig/Portfile 2012-08-17 22:47:44 UTC (rev 96725)
@@ -56,6 +56,12 @@
destroot.target install install.man
post-destroot {
+ foreach prog {fig2dev fig2ps2tex pic2tpic transfig} {
+ if {![file exists ${destroot}${prefix}/bin/${prog}]} {
+ return -code error "${prog} did not get installed"
+ }
+ }
+
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
xinstall -m 644 -W ${worksrcpath} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/e4a81881/attachment.html>
More information about the macports-changes
mailing list