summaryrefslogtreecommitdiff
path: root/math/pari/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/pari/Makefile')
-rw-r--r--math/pari/Makefile28
1 files changed, 10 insertions, 18 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 01d020e7008..ccc3c9c6eb3 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2001/05/04 17:14:08 jtb Exp $
+# $NetBSD: Makefile,v 1.7 2001/05/19 17:31:05 jtb Exp $
-DISTNAME= pari-2.1.0
+DISTNAME= pari-2.1.1
CATEGORIES= math
MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.1/ \
http://www.gn-50uma.de/ftp/pari-2.1/
@@ -10,31 +10,23 @@ HOMEPAGE= http://www.parigp-home.de
COMMENT= software package for computer-aided number theory
DEPENDS+= readline>=4.0:../../devel/readline
-BUILD_DEPENDS+= emacs-[0-9]*:../../editors/emacs
BUILD_DEPENDS+= teTeX-[0-9]*:../../print/teTeX
-USE_PERL5= #defined
-USE_X11= #defined
+USE_PERL5= yes
-HAS_CONFIGURE= #defined
-CONFIGURE_SCRIPT= ${WRKSRC}/Configure
+USE_X11= yes
+
+USE_CURSES= yes
REPLACE_NCURSES= ${WRKSRC}/Configure
-CONFIGURE_ARGS+= --prefix=${PREFIX}
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= ${WRKSRC}/Configure
-READLINE_PREFIX_DEFAULT=${LOCALBASE}
-EVAL_PREFIX+= READLINE_PREFIX=readline
-CONFIGURE_ENV+= READLINE_PREFIX=${READLINE_PREFIX}
+CONFIGURE_ARGS+= --prefix=${PREFIX} --share-prefix=${PREFIX}/share
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
-
CONFIGURE_ENV+= X11BASE=${X11BASE}
-CONFIGURE_ARGS+= --graphic=X11
-CONFIGURE_ENV+= miscdir=${PREFIX}/share/pari
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pari
- cd ${WRKSRC}/examples/ && ${INSTALL_DATA} EXPLAIN *.gp \
- matexp.c Inputrc ${PREFIX}/share/examples/pari
+CONFIGURE_ARGS+= --graphic=X11
.include "../../mk/bsd.pkg.mk"