[135000] trunk/dports/perl/p5-file-basedir
devans at macports.org
devans at macports.org
Sun Apr 12 19:42:05 PDT 2015
Revision: 135000
https://trac.macports.org/changeset/135000
Author: devans at macports.org
Date: 2015-04-12 19:42:05 -0700 (Sun, 12 Apr 2015)
Log Message:
-----------
p5-file-basedir: update to version 0.06, dependencies, use module build.
Modified Paths:
--------------
trunk/dports/perl/p5-file-basedir/Portfile
trunk/dports/perl/p5-file-basedir/files/patch-lib-File-BaseDir.pm.diff
Modified: trunk/dports/perl/p5-file-basedir/Portfile
===================================================================
--- trunk/dports/perl/p5-file-basedir/Portfile 2015-04-13 02:22:31 UTC (rev 134999)
+++ trunk/dports/perl/p5-file-basedir/Portfile 2015-04-13 02:42:05 UTC (rev 135000)
@@ -5,8 +5,7 @@
PortGroup perl5 1.0
perl5.branches 5.16 5.18 5.20
-perl5.setup File-BaseDir 0.03
-revision 6
+perl5.setup File-BaseDir 0.06
license {Artistic-1 GPL}
maintainers nomaintainer
supported_archs noarch
@@ -21,15 +20,18 @@
follow this layout. However, the same layout can just as well be \
used for non-GUI applications.
-checksums md5 527596f1507894dfaacdda72ea6dbb31 \
- sha1 901f56c06fd3b4a105bd24b8790ba95337d9aea7
-
platforms darwin
+checksums rmd160 02ee8e48d66faf67a6d29e68367158190aedf16a \
+ sha256 0b774e78e182f4c0dfaae73dee8e22539b0273bc6a46ae51bf832d869103bfae
+
if {${perl5.major} != ""} {
depends_build-append \
- port:p${perl5.major}-module-build
+ port:p${perl5.major}-file-which
+ depends_lib-append \
+ port:p${perl5.major}-ipc-system-simple
+
## patch in the @@_MACPORTS_PREFIX_GOES_HERE_@@ tag for replacing in the XDG_DATA_DIRS
patchfiles patch-lib-File-BaseDir.pm.diff
@@ -37,4 +39,6 @@
post-patch {
reinplace "s|@@_MACPORTS_PREFIX_GOES_HERE_@@|${prefix}|" ${worksrcpath}/lib/File/BaseDir.pm
}
+
+ perl5.use_module_build
}
Modified: trunk/dports/perl/p5-file-basedir/files/patch-lib-File-BaseDir.pm.diff
===================================================================
--- trunk/dports/perl/p5-file-basedir/files/patch-lib-File-BaseDir.pm.diff 2015-04-13 02:22:31 UTC (rev 134999)
+++ trunk/dports/perl/p5-file-basedir/files/patch-lib-File-BaseDir.pm.diff 2015-04-13 02:42:05 UTC (rev 135000)
@@ -1,6 +1,6 @@
--- lib/File/BaseDir.pm.orig 2008-09-30 10:02:11.000000000 -0700
+++ lib/File/BaseDir.pm 2008-09-30 10:06:11.000000000 -0700
-@@ -41,7 +41,7 @@
+@@ -42,7 +42,7 @@
# Set defaults
our $xdg_data_home = File::Spec->catdir($home, qw/.local share/);
our @xdg_data_dirs = (
@@ -9,7 +9,7 @@
File::Spec->catdir($rootdir, qw/usr share/),
);
our $xdg_config_home = File::Spec->catdir($home, '.config');
-@@ -242,7 +242,7 @@
+@@ -243,7 +243,7 @@
=item C<xdg_data_dirs>
Returns either C<$ENV{XDG_DATA_DIRS}> or it's default value as list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150412/dc14459d/attachment.html>
More information about the macports-changes
mailing list