[95292] trunk/dports/perl/p5-thrift/Portfile
blair at macports.org
blair at macports.org
Sun Jul 8 14:25:02 PDT 2012
Revision: 95292
https://trac.macports.org/changeset/95292
Author: blair at macports.org
Date: 2012-07-08 14:25:01 -0700 (Sun, 08 Jul 2012)
Log Message:
-----------
p5-thrift: move post-destroot into the if block for ${perl5.major} != "".
Modified Paths:
--------------
trunk/dports/perl/p5-thrift/Portfile
Modified: trunk/dports/perl/p5-thrift/Portfile
===================================================================
--- trunk/dports/perl/p5-thrift/Portfile 2012-07-08 20:56:09 UTC (rev 95291)
+++ trunk/dports/perl/p5-thrift/Portfile 2012-07-08 21:25:01 UTC (rev 95292)
@@ -6,6 +6,7 @@
perl5.branches 5.8 5.10 5.12 5.14 5.16
perl5.setup Thrift 0.8.0
+revision 1
platforms darwin
maintainers blair openmaintainer
license BSD
@@ -38,12 +39,18 @@
if {${perl5.major} != ""} {
depends_lib-append port:p${perl5.major}-bit-vector \
port:p${perl5.major}-class-accessor
-}
-post-destroot {
- set docdir ${prefix}/share/doc/${subport}
- xinstall -d ${destroot}${docdir}
- xinstall -m 644 -W ${worksrcpath} \
- CHANGES CONTRIBUTORS DISCLAIMER LICENSE NEWS NOTICE README \
- ${destroot}${docdir}
+ post-destroot {
+ set docdir ${prefix}/share/doc/${subport}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 -W ${worksrcpath} \
+ CHANGES \
+ CONTRIBUTORS \
+ DISCLAIMER \
+ LICENSE \
+ NEWS \
+ NOTICE \
+ README \
+ ${destroot}${docdir}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120708/31cb628d/attachment.html>
More information about the macports-changes
mailing list