[105360] contrib/cpan2port/cpan2port

macsforever2000 at macports.org macsforever2000 at macports.org
Thu Apr 18 15:03:58 PDT 2013


Revision: 105360
          https://trac.macports.org/changeset/105360
Author:   macsforever2000 at macports.org
Date:     2013-04-18 15:03:58 -0700 (Thu, 18 Apr 2013)
Log Message:
-----------
cpan2port: Add perl5.branches. Add blank license line. Re-organize portfile slightly.

Modified Paths:
--------------
    contrib/cpan2port/cpan2port

Modified: contrib/cpan2port/cpan2port
===================================================================
--- contrib/cpan2port/cpan2port	2013-04-18 22:02:49 UTC (rev 105359)
+++ contrib/cpan2port/cpan2port	2013-04-18 22:03:58 UTC (rev 105360)
@@ -181,7 +181,7 @@
     my ($info) = shift;
     my $tarball = $$info{tarball} or die;
     my %check;
-    for my $k (qw( sha256 rmd160)) {
+    for my $k (qw( rmd160 sha256)) {
         my ($sum) = qx( openssl $k $tarball);
         my ($v)   = $sum =~ / (.*)/;
         $check{$k} = $v;
@@ -268,15 +268,19 @@
 
     my $portfile = <<STOP;
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# \$Id\$
+# \$Id: \$
 
 PortSystem          1.0
 PortGroup           perl5 1.0
 
+perl5.branches      5.8 5.10 5.12 5.14 5.16
 perl5.setup         $$info{prefix} $$info{version}
 #perl5.setup         $$info{prefix} $$info{version} ../by-authors/id/$$info{cpan_path}
+
 platforms           darwin
 maintainers         $$info{maintainers}
+license             unknown
+
 # Uncomment this line if you know there will be no arch-specific code:
 #supported_archs     noarch
 
@@ -293,8 +297,9 @@
     $portfile .= <<STOP;
 $checksums
 
+$build_depends
+
 $depends
-$build_depends
 $use_module_build
 STOP
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130418/308f7832/attachment.html>


More information about the macports-changes mailing list