diff options
author | mat <mat@FreeBSD.org> | 2014-09-04 18:52:01 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-09-04 18:52:01 +0800 |
commit | 1570598a2f27e60b2defa53c82c0670a72da4658 (patch) | |
tree | 1a99623726b652e9fe4c45d8a66b2fd37ca38cb8 /math | |
parent | 332959690721870ee48be110344f47b554f3304c (diff) | |
download | freebsd-ports-gnome-1570598a2f27e60b2defa53c82c0670a72da4658.tar.gz freebsd-ports-gnome-1570598a2f27e60b2defa53c82c0670a72da4658.tar.zst freebsd-ports-gnome-1570598a2f27e60b2defa53c82c0670a72da4658.zip |
Update to 2.007.
Sponsored by: Absolight
Diffstat (limited to 'math')
-rw-r--r-- | math/PDL/Makefile | 13 | ||||
-rw-r--r-- | math/PDL/distinfo | 4 |
2 files changed, 7 insertions, 10 deletions
diff --git a/math/PDL/Makefile b/math/PDL/Makefile index 8863a3c324b1..8977147ae8ed 100644 --- a/math/PDL/Makefile +++ b/math/PDL/Makefile @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= PDL -PORTVERSION= 2.4.11 -PORTREVISION= 4 +PORTVERSION= 2.007 CATEGORIES= math perl5 -MASTER_SITES= CPAN/${PORTNAME} SF/pdl/PDL/${PORTVERSION} +MASTER_SITES= CPAN/${PORTNAME} SF/pdl/PDL_2013/PDL-${PORTVERSION} DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= perl@FreeBSD.org @@ -14,6 +13,7 @@ COMMENT= Perl Data Language BUILD_DEPENDS= p5-Astro-FITS-Header>=0:${PORTSDIR}/astro/p5-Astro-FITS-Header \ p5-Convert-UU>=0:${PORTSDIR}/converters/p5-Convert-UU \ p5-File-Map>=0.47:${PORTSDIR}/devel/p5-File-Map \ + p5-Module-Compile>=0.23:${PORTSDIR}/devel/p5-Module-Compile \ p5-Inline>=0.43:${PORTSDIR}/devel/p5-Inline RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -64,13 +64,10 @@ SINK_RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm \ saoimage:${PORTSDIR}/astro/saoimage post-patch: - @${GREP} -lR '#!/usr/local/bin/perl' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|#!/usr/local/bin/perl|#!${PERL}|' -i '' + @${GREP} -lR '#!/.*bin/perl' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|#!/.*bin/perl|#!${PERL}|' -i '' @${GREP} -lR 'x86_64' ${WRKSRC}/ | ${XARGS} ${SED} -e 's|x86_64|amd64|g' -i '' - @${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|' ${WRKSRC}/perldl.conf @${REINPLACE_CMD} -e "/POSIX_THREADS_LIBS/ s|undef|'${PTHREAD_LIBS}'|" \ - -e '/WITH_IO_BROWSER/ s|0|1|' -e '/WITH_DEVEL_REPL/ s|1|0|' ${WRKSRC}/perldl.conf - @${REINPLACE_CMD} -e '/^#include <nan.h>/d' ${WRKSRC}/Basic/Math/mconf.h - @${REINPLACE_CMD} -e '/^require PDL::Core::Dev;/d' ${WRKSRC}/IO/Browser/Makefile.PL + ${WRKSRC}/perldl.conf test: build @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} make test diff --git a/math/PDL/distinfo b/math/PDL/distinfo index efa9d99cab30..670cbdfb512e 100644 --- a/math/PDL/distinfo +++ b/math/PDL/distinfo @@ -1,2 +1,2 @@ -SHA256 (PDL-2.4.11.tar.gz) = c777ed2519d73ebde0d870e94931a2d2c57865abcee27dfec53f4412a2cac662 -SIZE (PDL-2.4.11.tar.gz) = 2859537 +SHA256 (PDL-2.007.tar.gz) = 609f6661061e444f2b5de845b2ab927adb9007b6511cf2f08aa0d6df0c62500c +SIZE (PDL-2.007.tar.gz) = 2921078 |