summaryrefslogtreecommitdiff
path: root/math/pari/Makefile
blob: 6af24e3162e1e5bbca35c14274f6d905e22ba368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.3 2001/04/14 21:43:55 jtb Exp $

DISTNAME=		pari-2.1.0
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/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://www.parigp-home.de
COMMENT=		PARI-GP is a software package for computer-aided number theory

DEPENDS+=		readline>=4.0:../../devel/readline
BUILD_DEPENDS+=		{emacs-*,xemacs-*}:../../editors/emacs
BUILD_DEPENDS+= 	teTeX-*:../../print/teTeX

USE_PERL5=		#defined
USE_X11=		#defined
HAS_CONFIGURE=		#defined
CONFIGURE_SCRIPT=	${WRKSRC}/Configure
CONFIGURE_ARGS+=	--prefix=${PREFIX}
EVAL_PREFIX+=		READLINE_PREFIX=readline
CONFIGURE_ENV+=		LOCALBASE=${LOCALBASE}
CONFIGURE_ENV+=		X11BASE=${X11BASE}
CONFIGURE_ENV+=		READLINE_PREFIX=${READLINE_PREFIX}
CONFIGURE_ENV+=		miscdir=${PREFIX}/share/pari
CONFIGURE_ARGS+=	--graphic=X11
REPLACE_NCURSES=	${WRKSRC}/Configure

.include "../../mk/bsd.pkg.mk"