[87536] trunk/dports/perl/p5-libwww-perl/Portfile

dports at macports.org dports at macports.org
Thu Nov 24 10:37:06 PST 2011


Revision: 87536
          http://trac.macports.org/changeset/87536
Author:   dports at macports.org
Date:     2011-11-24 10:37:06 -0800 (Thu, 24 Nov 2011)
Log Message:
-----------
p5-libwww-perl: use ${subport} instead of ${name} to name the doc
directory to prevent conflicts

Modified Paths:
--------------
    trunk/dports/perl/p5-libwww-perl/Portfile

Modified: trunk/dports/perl/p5-libwww-perl/Portfile
===================================================================
--- trunk/dports/perl/p5-libwww-perl/Portfile	2011-11-24 18:31:52 UTC (rev 87535)
+++ trunk/dports/perl/p5-libwww-perl/Portfile	2011-11-24 18:37:06 UTC (rev 87536)
@@ -4,6 +4,7 @@
 PortGroup                    perl5 1.0
 
 perl5.setup                  libwww-perl 6.03 LWP
+revision                     1
 maintainers                  nomaintainer
 license                      {Artistic GPL}
 supported_archs              noarch
@@ -43,12 +44,12 @@
 
 post-destroot {
     # Install miscellaneous doc files
-    file mkdir ${destroot}${prefix}/share/doc/${name}
+    file mkdir ${destroot}${prefix}/share/doc/${subport}
     file copy ${worksrcpath}/AUTHORS \
               ${worksrcpath}/Changes \
               ${worksrcpath}/README \
               ${worksrcpath}/README.SSL \
-        ${destroot}${prefix}/share/doc/${name}
+        ${destroot}${prefix}/share/doc/${subport}
 }
 
 variant ssl description {Include optional SSL/TLS (HTTPS) support} {
@@ -60,11 +61,11 @@
 
 notes \
     "As of version 6.00, libwww-perl has been broken up into multiple" \
-    "packages.  If you were using ${name} for just one or two of its" \
+    "packages.  If you were using ${subport} for just one or two of its" \
     "modules before, you may be able to pare down your installation to" \
     "just those modules now.  Other important changes have been made that" \
     "may affect your code; for details, please see:" \
-    ${prefix}/share/doc/${name}/Changes
+    ${prefix}/share/doc/${subport}/Changes
 
 # Starting with version 6.02, LWP::Protocol::https began to be packaged
 # separately from libwww-perl as well.  The thinking seems to have been that
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111124/b5e7e424/attachment.html>


More information about the macports-changes mailing list