[130876] trunk/dports/perl
devans at macports.org
devans at macports.org
Sat Jan 3 04:34:41 PST 2015
Revision: 130876
https://trac.macports.org/changeset/130876
Author: devans at macports.org
Date: 2015-01-03 04:34:41 -0800 (Sat, 03 Jan 2015)
Log Message:
-----------
p5-csp: delete obsolete port with no replacement per updated guidance.
Modified Paths:
--------------
trunk/dports/perl/p5-datetime-timezone/Portfile
trunk/dports/perl/p5-sgmlspm/Portfile
trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff
Added Paths:
-----------
trunk/dports/perl/p5-sgmlspm/files/
trunk/dports/perl/p5-sgmlspm/files/patch-Makefile.diff
Removed Paths:
-------------
trunk/dports/perl/p5-csp/
Modified: trunk/dports/perl/p5-datetime-timezone/Portfile
===================================================================
--- trunk/dports/perl/p5-datetime-timezone/Portfile 2015-01-03 12:30:17 UTC (rev 130875)
+++ trunk/dports/perl/p5-datetime-timezone/Portfile 2015-01-03 12:34:41 UTC (rev 130876)
@@ -6,7 +6,7 @@
epoch 5
perl5.branches 5.16 5.18 5.20
-perl5.setup DateTime-TimeZone 1.81
+perl5.setup DateTime-TimeZone 1.82
maintainers nomaintainer
license {Artistic-1 GPL}
supported_archs noarch
@@ -19,8 +19,8 @@
platforms darwin
-checksums rmd160 b5894dad3e206dfeacf9ada747da45ca723bfcfe \
- sha256 62f74919227aa996600ab508b999c658e3aa5789098ade189cf82dd2d9e6833d
+checksums rmd160 0f1f7bee571b109f3f9ed62f2a26b7ba42a09fdc \
+ sha256 0d19cd337cc8ac0f2f7553ab9d1795d5b580abe3387e961da0c3b5775598c4de
if {${perl5.major} != ""} {
depends_build-append \
Modified: trunk/dports/perl/p5-sgmlspm/Portfile
===================================================================
--- trunk/dports/perl/p5-sgmlspm/Portfile 2015-01-03 12:30:17 UTC (rev 130875)
+++ trunk/dports/perl/p5-sgmlspm/Portfile 2015-01-03 12:34:41 UTC (rev 130876)
@@ -7,9 +7,9 @@
perl5.branches 5.16 5.18 5.20
perl5.setup SGMLSpm 1.03ii
# version needs to be set because of a bug in the perl5 portgroup that cannot handle characters in the version number.
-# See #43727 <http://trac.macports.org/ticket/43727>.
+# See #43727 <http://trac.macports.org/ticket/43727>.
version 1.03ii.0
-revision 1
+revision 2
platforms darwin
license GPL-2+
maintainers gmail.com:tlockhart1976 openmaintainer
@@ -31,20 +31,17 @@
worksrcdir ${perl5.module}
if {${perl5.major} != ""} {
- post-patch {
- reinplace "s|/usr/local/|${destroot}${prefix}/|" ${worksrcpath}/Makefile
- reinplace "s|/usr/local/|${destroot}${prefix}/|" ${worksrcpath}/DOC/Makefile
+ patchfiles patch-Makefile.diff
- xinstall -d -m 775 ${destroot}${prefix}/bin
- xinstall -d -m 775 ${destroot}${perl5.lib}
- xinstall -d -m 775 ${destroot}${perl5.lib}/SGMLS
+ post-patch {
+ reinplace "s|__MP_PERL__|${perl5.bin}|" ${worksrcpath}/Makefile
+ reinplace "s|__MP_BINDIR__|${destroot}${perl5.bindir}|" ${worksrcpath}/Makefile
+ reinplace "s|__MP_PERL5DIR__|${destroot}${perl5.lib}|" ${worksrcpath}/Makefile
+ reinplace "s|__MP_HTMLDIR__|${destroot}${prefix}/share/doc/${subport}|" ${worksrcpath}/Makefile
}
- use_configure no
-
- build.args-append PERL=${perl5.bin} BINDIR=${destroot}${prefix}/bin
- build.args-append PERL5DIR=${destroot}${perl5.lib}
- build.args-append HTMLDIR=${destroot}${prefix}/share/doc/${subport}
-
+ use_configure no
+ build {}
+
destroot.target install
}
Added: trunk/dports/perl/p5-sgmlspm/files/patch-Makefile.diff
===================================================================
--- trunk/dports/perl/p5-sgmlspm/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/perl/p5-sgmlspm/files/patch-Makefile.diff 2015-01-03 12:34:41 UTC (rev 130876)
@@ -0,0 +1,78 @@
+--- Makefile.orig 1995-12-05 04:26:11.000000000 -0800
++++ Makefile 2014-12-29 15:30:05.000000000 -0800
+@@ -13,13 +13,13 @@
+ #
+
+ # Where is the binary for perl5 located on your system?
+-PERL = /usr/bin/perl
++PERL = __MP_PERL__
+
+ # Where do you want the sgmlspl executable script to be installed?
+-BINDIR = /usr/local/bin
++BINDIR = __MP_BINDIR__
+
+ # Where do you put local perl5 libaries?
+-PERL5DIR = /usr/local/lib/perl5
++PERL5DIR = __MP_PERL5DIR__
+ MODULEDIR = ${PERL5DIR}/SGMLS
+
+ # Where do you want to put sgmlspl specifications?
+@@ -29,14 +29,14 @@
+ # do you intend to put it? 'make html' will create two
+ # subdirectories, ${HTMLDIR}/SGMLSpm and ${HTMLDIR}/sgmlspl, and place
+ # its files there.
+-HTMLDIR = /usr/local/lib/www/docs
++HTMLDIR = __MP_HTMLDIR__
+
+
+ #
+ # End of user options.
+ #
+
+-HTML_SOURCES = DOC/HTML/SGMLSpm/ DOC/HTML/sgmlspl/
++HTML_SOURCES = DOC/HTML/SGMLSpm DOC/HTML/sgmlspl
+
+ FILES = ${BINDIR}/sgmlspl \
+ ${PERL5DIR}/SGMLS.pm \
+@@ -46,13 +46,17 @@
+
+ all: install docs
+
+-install: install_system # install_html
++install: install_system install_html
+
+ install_system: ${MODULEDIR} ${FILES}
+
+ dist: ${DIST}
+
+ ${BINDIR}/sgmlspl: sgmlspl.pl
++ if [ ! -d ${BINDIR} ]; then\
++ mkdir -p ${BINDIR}; \
++ chmod a+x ${BINDIR}; \
++ fi
+ sed -e 's!/usr/bin/perl!${PERL}!' sgmlspl.pl > ${BINDIR}/sgmlspl
+ chmod a+x,a+r ${BINDIR}/sgmlspl
+
+@@ -62,7 +66,7 @@
+
+ ${MODULEDIR}:
+ if [ ! -d ${MODULEDIR} ]; then\
+- mkdir ${MODULEDIR}; \
++ mkdir -p ${MODULEDIR}; \
+ chmod a+x ${MODULEDIR}; \
+ fi
+
+@@ -80,8 +84,12 @@
+
+ install_html: ${HTML_SOURCES}
+ cd DOC; make html
++ if [ ! -d ${HTMLDIR} ]; then\
++ mkdir -p ${HTMLDIR}; \
++ chmod a+x ${HTMLDIR}; \
++ fi
+ rm -rf ${HTMLDIR}/SGMLSpm ${HTMLDIR}/sgmlspl
+- cp -r ${HTML_SOURCES} ${HTMLDIR}
++ cp -R ${HTML_SOURCES} ${HTMLDIR}
+ chmod a+x,a+r ${HTMLDIR}/SGMLSpm ${HTMLDIR}/sgmlspl
+ chmod a+r ${HTMLDIR}/SGMLSpm/* ${HTMLDIR}/sgmlspl/*
+
Modified: trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff
===================================================================
--- trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff 2015-01-03 12:30:17 UTC (rev 130875)
+++ trunk/dports/perl/p5-xml-parser/files/patch-CheckLib.pm.diff 2015-01-03 12:34:41 UTC (rev 130876)
@@ -1,11 +1,11 @@
---- inc/Devel/CheckLib.pm.orig 2011-05-24 21:39:14.000000000 -0600
-+++ inc/Devel/CheckLib.pm 2014-07-21 14:04:44.000000000 -0600
-@@ -332,6 +332,8 @@
- }
-
+--- inc/Devel/CheckLib.pm.orig 2014-12-10 22:51:11.000000000 -0800
++++ inc/Devel/CheckLib.pm 2014-12-14 07:50:42.000000000 -0800
+@@ -362,6 +362,8 @@
+ # where $cc is an array ref of compiler name, compiler flags
+ # where $ld is an array ref of linker flags
sub _findcc {
+ my @cc = split(/\s+/, $ENV{CC});
+ return @cc if -x $cc[0];
# Need to use $keep=1 to work with MSWin32 backslashes and quotes
- my @Config_ccflags_ldflags = @Config{qw(ccflags ldflags)}; # use copy so ASPerl will compile
- my @flags = grep { length } map { quotewords('\s+', 1, $_ || ()) } @Config_ccflags_ldflags;
+ my $Config_ccflags = $Config{ccflags}; # use copy so ASPerl will compile
+ my @Config_ldflags = ();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150103/34d931eb/attachment.html>
More information about the macports-changes
mailing list