[143428] trunk/dports/net/sendpage/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 10:54:05 PST 2015


Revision: 143428
          https://trac.macports.org/changeset/143428
Author:   mojca at macports.org
Date:     2015-12-12 02:52:03 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
sendpage: switch to perl5.22 using the perl5 portgroup (#48365), see also #49992

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

Modified: trunk/dports/net/sendpage/Portfile
===================================================================
--- trunk/dports/net/sendpage/Portfile	2015-12-12 10:44:19 UTC (rev 143427)
+++ trunk/dports/net/sendpage/Portfile	2015-12-12 10:52:03 UTC (rev 143428)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                sendpage
 version             1.000003
-revision            2
+revision            3
 categories          net
 license             GPL-2+
 maintainers         nomaintainer
@@ -21,15 +22,18 @@
 
 master_sites        sourceforge
 
-checksums           md5 586afe41d6cd82d045fdc34ccf99cab3
+checksums           rmd160  a427a662dceef09a3b9f881429b18c429c2fdf97 \
+                    sha256  88a128c077ca0573cfe456bd9f595ccf8f9335ba44a339144a0c70163e209317
 
-depends_lib         port:p5.16-net-snpp \
-                    port:p5.16-device-serialport \
-                    port:p5.16-mailtools \
-                    port:p5.16-dbi
+perl5.branches      5.22
 
+depends_lib         port:p${perl5.major}-net-snpp \
+                    port:p${perl5.major}-device-serialport \
+                    port:p${perl5.major}-mailtools \
+                    port:p${perl5.major}-dbi
+
 use_configure       no
-build {}
+build               {}
 
 # Create a startupitem to start/stop the server
 startupitem.create  yes
@@ -69,7 +73,7 @@
 }
 
 destroot {
-    system "cd ${worksrcpath} && ${prefix}/bin/perl5.16 Makefile.PL INSTALLDIRS=vendor CC='${configure.cc}' LD='${configure.cc}'"
+    system "cd ${worksrcpath} && ${perl5.bin} Makefile.PL INSTALLDIRS=vendor CC='${configure.cc}' LD='${configure.cc}'"
     system "cd ${worksrcpath} && make"
     system "cd ${worksrcpath} && make install DESTDIR='${destroot}'"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/66004c2f/attachment.html>


More information about the macports-changes mailing list