aboutsummaryrefslogtreecommitdiff
path: root/math/pari
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2017-01-21 18:46:03 +0000
committerThomas Zander <riggs@FreeBSD.org>2017-01-21 18:46:03 +0000
commit450c345a8c30be4e1ee8baeec2aab7f83b054f13 (patch)
tree361b39d3bcf71e250bbbb0f609fd750d6bb2d9fb /math/pari
parent8de81b5dd50ca240b5e2e7bbf1e339cd9cb01bda (diff)
downloadports-450c345a8c30be4e1ee8baeec2aab7f83b054f13.tar.gz
ports-450c345a8c30be4e1ee8baeec2aab7f83b054f13.zip
Notes
Diffstat (limited to 'math/pari')
-rw-r--r--math/pari/Makefile16
-rw-r--r--math/pari/distinfo5
-rw-r--r--math/pari/files/patch-config_Makefile.SH31
-rw-r--r--math/pari/pkg-plist8
4 files changed, 15 insertions, 45 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 88176e07c470..63b0f36cb04c 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -2,13 +2,13 @@
# $FreeBSD$
PORTNAME= pari
-PORTVERSION= 2.3.5
+PORTVERSION= 2.9.0
PORTEPOCH= 2
CATEGORIES= math
-MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/ \
+MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ \
http://mirrors.rit.edu/zi/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= yuri@rawbw.com
COMMENT= Mathematics library and advanced calculator package
LICENSE= GPLv2
@@ -30,7 +30,7 @@ USE_LDCONFIG= yes
USE_PERL5= build
USES= perl5
-OPTIONS_DEFINE= OPTIMIZED_CFLAGS X11
+OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS X11
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS X11
.ifndef WITH_DEBUG
OPTIMIZED_CFLAGS_CFLAGS= -O3 -fno-strict-aliasing -fomit-frame-pointer
@@ -47,12 +47,12 @@ PORTEXAMPLES= *
GP_VERSION= ${PORTVERSION:R}
post-patch:
- @${REINPLACE_CMD} -E '/^list=/s/(ld|ranlib|perl|emacs)//g' \
+ ${REINPLACE_CMD} -E '/^list=/s/(ld|ranlib|perl|emacs)//g' \
${WRKSRC}/Configure
- @${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \
+ ${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \
${WRKSRC}/config/get_cc
-post-build:
- @${STRIP_CMD} ${WRKSRC}/*/libpari-gmp.so.*
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpari-gmp.so.*
.include <bsd.port.mk>
diff --git a/math/pari/distinfo b/math/pari/distinfo
index 365f515057fe..324498501f8f 100644
--- a/math/pari/distinfo
+++ b/math/pari/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pari-2.3.5.tar.gz) = 47ddae1af73b4476660d2a89338483949067a97ffb8758c82e8189dfa4c89d88
-SIZE (pari-2.3.5.tar.gz) = 2018097
+TIMESTAMP = 1479059053
+SHA256 (pari-2.9.0.tar.gz) = 4aa4f737ad41e856001b13194fab281d07ef030dfd5d0a890dc73fb9b3fd9266
+SIZE (pari-2.9.0.tar.gz) = 3833906
diff --git a/math/pari/files/patch-config_Makefile.SH b/math/pari/files/patch-config_Makefile.SH
deleted file mode 100644
index 94d1469873e0..000000000000
--- a/math/pari/files/patch-config_Makefile.SH
+++ /dev/null
@@ -1,31 +0,0 @@
---- config/Makefile.SH.orig 2010-01-09 12:59:48.000000000 -0500
-+++ config/Makefile.SH 2014-07-08 04:15:24.000000000 -0400
-@@ -208,7 +208,6 @@
- MV = mv -f
- LN = $ln_s
- CP_F = cp -f
--STRIP = strip
- STRIPFLAGS =
-
- # Change these installation directories to suit your needs.
-@@ -221,9 +220,9 @@
- DATADIR = "\$(DESTDIR)$datadir"
- SYSDATADIR= "\$(DESTDIR)$sysdatadir"
-
--EXDIR = \$(DATADIR)/examples
-+EXDIR = \$(DESTDIR)/\$(PREFIX)/share/examples/pari
- MISCDIR = \$(DATADIR)/misc
--DOCDIR = \$(DATADIR)/doc
-+DOCDIR = \$(DESTDIR)/\$(PREFIX)/share/doc/pari
-
- INSTALL = $cfg/install
- INSTALL_PROGRAM = \$(INSTALL)
-@@ -377,7 +376,7 @@
-
- install-doc::
- -mkdir -p \$(BINDIR) \$(DOCDIR)
-- -cd $doc; \$(MAKE) all
-+ #-cd $doc; \$(MAKE) all
- -\$(INSTALL_PROGRAM) $doc/gphelp \$(BINDIR)
- -\$(INSTALL_DATA) $doc/Makefile \$(DOCDIR)
- -\$(INSTALL_DATA) $doc/translations \$(DOCDIR)
diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist
index 76e5b356a04f..1a7f680b436d 100644
--- a/math/pari/pkg-plist
+++ b/math/pari/pkg-plist
@@ -2,6 +2,7 @@ bin/gp
bin/gp-%%GP_VERSION%%
bin/gphelp
bin/tex2mail
+include/pari/mpinl.h
include/pari/genpari.h
include/pari/pari.h
include/pari/paricast.h
@@ -11,19 +12,18 @@ include/pari/paridecl.h
include/pari/parierr.h
include/pari/parigen.h
include/pari/pariinl.h
+include/pari/parimt.h
include/pari/parinf.h
include/pari/pariold.h
include/pari/paripriv.h
include/pari/paristio.h
include/pari/parisys.h
include/pari/paritune.h
-include/pari/pariport.h
-include/pari/paritype.h
lib/libpari-gmp.so.%%PORTVERSION%%
-lib/libpari-gmp.so.2
+lib/libpari-gmp.so.5
lib/libpari.so
lib/pari/pari.cfg
-man/man1/gp-2.3.1.gz
+man/man1/gp-%%GP_VERSION%%.1.gz
man/man1/gp.1.gz
man/man1/gphelp.1.gz
man/man1/pari.1.gz