[151170] trunk/dports/perl/p5-net-snmp/Portfile

devans at macports.org devans at macports.org
Mon Aug 8 22:36:07 PDT 2016


Revision: 151170
          https://trac.macports.org/changeset/151170
Author:   devans at macports.org
Date:     2016-08-08 22:36:07 -0700 (Mon, 08 Aug 2016)
Log Message:
-----------
p5-net-snmp: remove v-string version workarounds, use module build, dependencies, comments, increment revision.

Modified Paths:
--------------
    trunk/dports/perl/p5-net-snmp/Portfile

Modified: trunk/dports/perl/p5-net-snmp/Portfile
===================================================================
--- trunk/dports/perl/p5-net-snmp/Portfile	2016-08-09 05:33:51 UTC (rev 151169)
+++ trunk/dports/perl/p5-net-snmp/Portfile	2016-08-09 05:36:07 UTC (rev 151170)
@@ -1,17 +1,12 @@
 # -*- 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$
 
-# This comment was inserted on 20160713 to force reindexing of
-# this port after the default homepage definition in the perl5
-# PortGroup was changed to use metacpan.org (r150080).
-# Reindexing is necessary for the new definition to take effect.
-# This comment may be removed in subsequent updates of this port.
-
 PortSystem          1.0
 PortGroup           perl5 1.0
 
 perl5.branches      5.22 5.24
-perl5.setup         Net-SNMP 6.0.1
+perl5.setup         Net-SNMP v6.0.1
+revision            1
 license             {Artistic-1 GPL}
 maintainers         nomaintainer
 description         Object oriented interface to SNMP
@@ -27,18 +22,17 @@
                     concepts.
 platforms           darwin
 
-distname            ${perl5.module}-v${perl5.moduleversion}
-
 checksums           rmd160  86ed463c87c694a06dabbb6a86234f0e44249a56 \
                     sha256  14c37bc1cbb3f3cdc7d6c13e0f27a859f14cdcfd5ea54a0467a88bc259b0b741
 
 if {${perl5.major} != ""} {
     depends_lib-append \
+                    port:p${perl5.major}-crypt-des \
+                    port:p${perl5.major}-crypt-rijndael \
                     port:p${perl5.major}-digest-hmac \
                     port:p${perl5.major}-digest-sha1 \
-                    port:p${perl5.major}-crypt-des
+                    port:p${perl5.major}-socket6
 
+    perl5.use_module_build
     supported_archs noarch
 }
-
-livecheck.version   v${perl5.moduleversion}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160808/541e9989/attachment.html>


More information about the macports-changes mailing list