[143409] trunk/dports/net/nrg/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 10:49:16 PST 2015


Revision: 143409
          https://trac.macports.org/changeset/143409
Author:   mojca at macports.org
Date:     2015-12-12 01:31:58 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
nrg: switch to perl 5.22 (#48365, untested)

Modified Paths:
--------------
    trunk/dports/net/nrg/Portfile

Modified: trunk/dports/net/nrg/Portfile
===================================================================
--- trunk/dports/net/nrg/Portfile	2015-12-12 09:26:02 UTC (rev 143408)
+++ trunk/dports/net/nrg/Portfile	2015-12-12 09:31:58 UTC (rev 143409)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                nrg
 version             0.99.27
-revision            2
+revision            3
 categories          net
 maintainers         nomaintainer
 platforms           darwin
@@ -17,6 +18,7 @@
                     automatically creates and maintains web pages and RRDtool databases, \
                     while providing short and long-term graph web pages just like MRTG.
 
+# website no longer exists
 homepage            http://ginseng.hep.wisc.edu/NRG/
 master_sites        ftp://noc.hep.wisc.edu/src/nrg/ \
                     ftp://noc.hep.wisc.edu/pub/src/nrg/
@@ -24,13 +26,16 @@
 checksums           rmd160  1192ce02d14447abdcff994671693eeb4ca67e28 \
                     sha256  ef851705f9ebd2bf55892823f258c7cffc079ae0276df4f40860c520262971c2
 
-depends_lib         port:rrdtool \
-                    port:p5.16-time-hires
+perl5.branches      5.22
 
+depends_lib         port:perl${perl5.major} \
+                    port:p${perl5.major}-time-hires \
+                    port:rrdtool
+
 patchfiles          patch-nrg-discover-tcp.in.diff \
                     patch-roverpingd-send.c.diff
 
-configure.perl      ${prefix}/bin/perl5.16
+configure.perl      ${perl5.bin}
 
 configure.pre_args  --prefix=${prefix}/var/${name}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/486b92c3/attachment.html>


More information about the macports-changes mailing list