[82578] trunk/dports/perl/p5-error/Portfile
jmr at macports.org
jmr at macports.org
Mon Aug 15 15:41:08 PDT 2011
Revision: 82578
http://trac.macports.org/changeset/82578
Author: jmr at macports.org
Date: 2011-08-15 15:41:07 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
p5-error: use subport rather than name for doc/examples dirs
Modified Paths:
--------------
trunk/dports/perl/p5-error/Portfile
Modified: trunk/dports/perl/p5-error/Portfile
===================================================================
--- trunk/dports/perl/p5-error/Portfile 2011-08-15 22:15:27 UTC (rev 82577)
+++ trunk/dports/perl/p5-error/Portfile 2011-08-15 22:41:07 UTC (rev 82578)
@@ -4,7 +4,7 @@
PortGroup perl5 1.0
perl5.setup Error 0.17016
-revision 2
+revision 3
license {Artistic GPL}
maintainers email.arc.nasa.gov:sal
description Error/exception handling in an OO-ish way
@@ -21,11 +21,11 @@
if {${perl5.major} != ""} {
post-destroot {
- set docdir ${prefix}/share/doc/${name}
+ set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir}
- set examplesdir ${prefix}/share/examples/${name}
+ set examplesdir ${prefix}/share/examples/${subport}
xinstall -d ${destroot}[file dirname ${examplesdir}]
copy ${worksrcpath}/examples ${destroot}${examplesdir}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/39feee6a/attachment-0001.html>
More information about the macports-changes
mailing list