[153516] users/khindenburg/ports/devel/krazy
khindenburg at macports.org
khindenburg at macports.org
Mon Oct 3 22:53:53 CEST 2016
Revision: 153516
https://trac.macports.org/changeset/153516
Author: khindenburg at macports.org
Date: 2016-10-03 13:53:53 -0700 (Mon, 03 Oct 2016)
Log Message:
-----------
krazy: update 20160828 perl5.24
Modified Paths:
--------------
users/khindenburg/ports/devel/krazy/Portfile
Added Paths:
-----------
users/khindenburg/ports/devel/krazy/files/
users/khindenburg/ports/devel/krazy/files/patch-perlversion.diff
users/khindenburg/ports/devel/krazy/files/patch-qmakeversion.diff
Modified: users/khindenburg/ports/devel/krazy/Portfile
===================================================================
--- users/khindenburg/ports/devel/krazy/Portfile 2016-10-03 20:52:00 UTC (rev 153515)
+++ users/khindenburg/ports/devel/krazy/Portfile 2016-10-03 20:53:53 UTC (rev 153516)
@@ -4,9 +4,9 @@
PortSystem 1.0
PortGroup github 1.0
-github.setup Krazy-collection krazy 28b622941c740c548395d1d185013212c2496492
-version 20150712
-set perl_version 5.22
+github.setup Krazy-collection krazy e0183af
+version 20160828
+set perl_version 5.24
categories devel
platforms darwin
license GPL-2
@@ -18,18 +18,22 @@
for reasons of policy, good coding practice, optimization, or any other \
good reason.
-checksums rmd160 ce794f1bea0eae2ef72d07dd1bf4c6b777fd3181 \
- sha256 5e023a3aa27c314997281353995bc22ba57d48d0ccec12a5db2a373a457d7989
+checksums rmd160 5345eb13e0e2940dbd29950cbdc6c312f8996989 \
+ sha256 37468995e1ae1c4e6ac3c0cd589a74771e57cc1a9b6bcd69f51625fd16d111e6
+patchfiles patch-perlversion.diff \
+ patch-qmakeversion.diff
+
+#build.cmd QMAKE=/opt/local/bin/qmake-qt5 ./install.sh ${destroot}${prefix}
build.cmd ./install.sh ${destroot}${prefix}
build.target
-depends_build-append port:qt4-mac \
- port:p${perl_version}-extutils-makemaker
+#depends_build-append port:qt4-mac
+depends_build-append port:p${perl_version}-extutils-makemaker
-depends_lib-append port:perl5 \
- port:perl${perl_version} \
+depends_lib-append port:perl${perl_version} \
+ port:p${perl_version}-html-parser \
port:p${perl_version}-tie-ixhash \
port:p${perl_version}-yaml \
port:p${perl_version}-xml-libxml \
@@ -37,6 +41,10 @@
use_configure no
+post-patch {
+ reinplace -W ${worksrcpath} "s|__PERL__|${prefix}/bin/perl${perl_version}|g" install.sh
+}
+
# build's ./install.sh puts files in destroot
destroot {}
post-destroot {
Added: users/khindenburg/ports/devel/krazy/files/patch-perlversion.diff
===================================================================
--- users/khindenburg/ports/devel/krazy/files/patch-perlversion.diff (rev 0)
+++ users/khindenburg/ports/devel/krazy/files/patch-perlversion.diff 2016-10-03 20:53:53 UTC (rev 153516)
@@ -0,0 +1,20 @@
+--- install.sh 2016-08-20 11:34:13.000000000 -0400
++++ install.sh 2016-10-03 16:11:23.000000000 -0400
+@@ -10,7 +10,7 @@
+
+ #bootstrap by checking that the MakeMaker module is installed
+ module="ExtUtils::MakeMaker"
+-perl -M$module -e 1 2> /dev/null
++__PERL__ -M$module -e 1 2> /dev/null
+ status=$?
+ if ( test $status -ne 0 ) then
+ echo "Cannot locate the $module Perl module"
+@@ -79,7 +79,7 @@
+
+ #install user-interface scripts
+ #perl Makefile.PL PREFIX=$TOP
+-perl Makefile.PL INSTALLSITESCRIPT=$TOP/bin INSTALLSITEBIN=$TOP/bin INSTALLSITELIB=$TOP/lib PREFIX=$TOP
++__PERL__ Makefile.PL INSTALLSITESCRIPT=$TOP/bin INSTALLSITEBIN=$TOP/bin INSTALLSITELIB=$TOP/lib PREFIX=$TOP
+ stat=$?
+ if ( test $stat -ne 0 ) then
+ exit $stat
Added: users/khindenburg/ports/devel/krazy/files/patch-qmakeversion.diff
===================================================================
--- users/khindenburg/ports/devel/krazy/files/patch-qmakeversion.diff (rev 0)
+++ users/khindenburg/ports/devel/krazy/files/patch-qmakeversion.diff 2016-10-03 20:53:53 UTC (rev 153516)
@@ -0,0 +1,12 @@
+--- install.sh 2016-08-20 11:34:13.000000000 -0400
++++ install.sh 2016-08-28 21:09:19.000000000 -0400
+@@ -42,7 +42,8 @@
+ exit 1
+ fi
+
+-qmakever=`$QMAKE -query QT_VERSION`
++#Hack
++qmakever=5.6.0
+ if ( test `echo $qmakever | grep -ic unknown` -eq 0 )
+ then
+ qmake_majver=`echo $qmakever | cut -d. -f1`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161003/43027f21/attachment-0002.html>
More information about the macports-changes
mailing list