[135127] trunk/dports/perl

devans at macports.org devans at macports.org
Wed Apr 15 15:39:12 PDT 2015


Revision: 135127
          https://trac.macports.org/changeset/135127
Author:   devans at macports.org
Date:     2015-04-15 15:39:11 -0700 (Wed, 15 Apr 2015)
Log Message:
-----------
p5-db_file: port submission, Perl5 access to Berkeley DB version 1.x (#28174).

Added Paths:
-----------
    trunk/dports/perl/p5-db_file/
    trunk/dports/perl/p5-db_file/Portfile
    trunk/dports/perl/p5-db_file/files/
    trunk/dports/perl/p5-db_file/files/patch-config.in.diff

Added: trunk/dports/perl/p5-db_file/Portfile
===================================================================
--- trunk/dports/perl/p5-db_file/Portfile	                        (rev 0)
+++ trunk/dports/perl/p5-db_file/Portfile	2015-04-15 22:39:11 UTC (rev 135127)
@@ -0,0 +1,28 @@
+# -*- 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         DB_File 1.835 ../../authors/id/P/PM/PMQS/
+license             {Artistic-1 GPL}
+maintainers         nomaintainer
+description         DB_File - Perl5 access to Berkeley DB version 1.x
+long_description    ${description}
+
+platforms           darwin
+
+checksums           rmd160  fd7028326a085949743258f03ae4d674d6caa0f2 \
+                    sha256  41206f39a1bac49db8c1595e300b04c70e1393b2d78ccb9ef15c5c0b81037cfc
+
+if {${perl5.major} != ""} {
+    depends_lib-append \
+                    port:db51
+
+    patchfiles      patch-config.in.diff
+
+    post-patch {
+        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/config.in
+    }
+}


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

Added: trunk/dports/perl/p5-db_file/files/patch-config.in.diff
===================================================================
--- trunk/dports/perl/p5-db_file/files/patch-config.in.diff	                        (rev 0)
+++ trunk/dports/perl/p5-db_file/files/patch-config.in.diff	2015-04-15 22:39:11 UTC (rev 135127)
@@ -0,0 +1,20 @@
+--- config.in.orig	2011-01-27 00:09:43.000000000 -0600
++++ config.in	2011-01-27 00:21:39.000000000 -0600
+@@ -9,7 +9,7 @@
+ #    Change the path below to point to the directory where db.h is
+ #    installed on your system.
+ 
+-INCLUDE	= /usr/local/BerkeleyDB/include
++INCLUDE	= @PREFIX@/include/db51
+ #INCLUDE	= /usr/local/include
+ #INCLUDE	= /usr/include
+ 
+@@ -18,7 +18,7 @@
+ #    Change the path below to point to the directory where libdb is
+ #    installed on your system.
+ 
+-LIB	= /usr/local/BerkeleyDB/lib
++LIB	= @PREFIX@/lib/db51
+ #LIB	= /usr/local/lib
+ #LIB	= /usr/lib
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150415/e8dbe2e7/attachment-0001.html>


More information about the macports-changes mailing list