[136894] trunk/dports/perl

devans at macports.org devans at macports.org
Fri May 29 04:41:30 PDT 2015


Revision: 136894
          https://trac.macports.org/changeset/136894
Author:   devans at macports.org
Date:     2015-05-29 04:41:30 -0700 (Fri, 29 May 2015)
Log Message:
-----------
p5-unix-process: new port, perl extension to get pid info from (/bin/ps).

Added Paths:
-----------
    trunk/dports/perl/p5-unix-process/
    trunk/dports/perl/p5-unix-process/Portfile
    trunk/dports/perl/p5-unix-process/files/
    trunk/dports/perl/p5-unix-process/files/patch-Makefile.PL.diff

Added: trunk/dports/perl/p5-unix-process/Portfile
===================================================================
--- trunk/dports/perl/p5-unix-process/Portfile	                        (rev 0)
+++ trunk/dports/perl/p5-unix-process/Portfile	2015-05-29 11:41:30 UTC (rev 136894)
@@ -0,0 +1,30 @@
+# -*- 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$
+
+PortSystem          1.0
+PortGroup           perl5 1.0
+
+perl5.branches      5.16 5.18 5.20
+perl5.setup         Unix-Process 1.3101
+license             LGPL
+maintainers         devans openmaintainer
+description         Unix::Process - Perl extension to get pid info from (/bin/ps).
+long_description    ${description}
+
+platforms           darwin
+
+checksums           rmd160  4891444332e9296da27e5c07d17a3239b2ece8c7 \
+                    sha256  83da4cab1e4ea4ded8daddf45988bd581416431c907b0e18a3238e950a9c9107
+
+if {${perl5.major} != ""} {
+    depends_lib-append \
+                    port:p${perl5.major}-ipc-system-simple
+    
+    post-extract {
+        file attributes ${worksrcpath} -permissions 0755
+    }
+
+    patchfiles      patch-Makefile.PL.diff
+
+    supported_archs noarch
+}


Property changes on: trunk/dports/perl/p5-unix-process/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/perl/p5-unix-process/files/patch-Makefile.PL.diff
===================================================================
--- trunk/dports/perl/p5-unix-process/files/patch-Makefile.PL.diff	                        (rev 0)
+++ trunk/dports/perl/p5-unix-process/files/patch-Makefile.PL.diff	2015-05-29 11:41:30 UTC (rev 136894)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2015-05-29 01:36:20.000000000 -0700
++++ Makefile.PL	2015-05-29 01:36:50.000000000 -0700
+@@ -14,6 +14,8 @@
+     }
+ }
+ 
++$worked = 1;
++
+ unless( $worked ) {
+     warn "this module assumes you have a ps program in /bin/ps\n";
+     warn "you can override it by setting an environment variable,\n";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150529/dfb4ca40/attachment.html>


More information about the macports-changes mailing list