| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.77 2020/01/26 17:31:39 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.78 2020/05/02 13:37:08 rillig Exp $ |
2 | | | 2 | |
3 | DISTNAME= pari-2.7.6 | | 3 | DISTNAME= pari-2.7.6 |
4 | PKGREVISION= 5 | | 4 | PKGREVISION= 5 |
5 | CATEGORIES= math | | 5 | CATEGORIES= math |
6 | MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ | | 6 | MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://pari.math.u-bordeaux.fr/ | | 9 | HOMEPAGE= https://pari.math.u-bordeaux.fr/ |
10 | COMMENT= Software package for computer-aided number theory | | 10 | COMMENT= Software package for computer-aided number theory |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | MAKE_JOBS_SAFE= no | | 13 | MAKE_JOBS_SAFE= no |
14 | | | 14 | |
| @@ -29,26 +29,20 @@ REPLACE_PERL+= src/desc/PARI/822.pm | | | @@ -29,26 +29,20 @@ REPLACE_PERL+= src/desc/PARI/822.pm |
29 | REPLACE_PERL+= doc/gphelp | | 29 | REPLACE_PERL+= doc/gphelp |
30 | REPLACE_PERL+= misc/tex2mail | | 30 | REPLACE_PERL+= misc/tex2mail |
31 | | | 31 | |
32 | BUILD_TARGET= all | | 32 | BUILD_TARGET= all |
33 | TEST_TARGET= test-compat bench | | 33 | TEST_TARGET= test-compat bench |
34 | INSTALL_TARGET= install | | 34 | INSTALL_TARGET= install |
35 | | | 35 | |
36 | SUBST_CLASSES+= fix-cfg | | 36 | SUBST_CLASSES+= fix-cfg |
37 | SUBST_STAGE.fix-cfg= pre-configure | | 37 | SUBST_STAGE.fix-cfg= pre-configure |
38 | SUBST_MESSAGE.fix-cfg= Adding CFLAGS to Configure scripts. | | 38 | SUBST_MESSAGE.fix-cfg= Adding CFLAGS to Configure scripts. |
39 | SUBST_FILES.fix-cfg= config/get_* | | 39 | SUBST_FILES.fix-cfg= config/get_* |
40 | SUBST_SED.fix-cfg= -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g' | | 40 | SUBST_SED.fix-cfg= -e 's,$$CC $$extraflag,$$CC $$CFLAGS $$extraflag,g' |
41 | | | 41 | |
42 | SUBST_CLASSES+= fix-wrap | | | |
43 | SUBST_STAGE.fix-wrap= post-build | | | |
44 | SUBST_MESSAGE.fix-wrap= Removing TOOLS_DIR references | | | |
45 | SUBST_FILES.fix-wrap= */pari.cfg | | | |
46 | SUBST_SED.fix-wrap= -e "s,${TOOLS_DIR}/bin/,,g" | | | |
47 | | | | |
48 | pre-install: replace-interpreter | | 42 | pre-install: replace-interpreter |
49 | | | 43 | |
50 | .include "options.mk" | | 44 | .include "options.mk" |
51 | | | 45 | |
52 | # rl_save_prompt() | | 46 | # rl_save_prompt() |
53 | .include "../../devel/readline/buildlink3.mk" | | 47 | .include "../../devel/readline/buildlink3.mk" |
54 | .include "../../mk/bsd.pkg.mk" | | 48 | .include "../../mk/bsd.pkg.mk" |