summaryrefslogtreecommitdiff
path: root/math/pari/Makefile
blob: 852784b1a9d4b840156f19e3ff82a901a4ce097b (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
30
31
32
33
# $NetBSD: Makefile,v 1.8 2001/06/11 22:46:14 jtb Exp $

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/

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

DEPENDS+=		readline>=4.0:../../devel/readline
BUILD_DEPENDS+= 	teTeX-[0-9]*:../../print/teTeX
BUILD_DEPENDS+= 	emacs-[0-9]*:../../editors/emacs

USE_PERL5=		yes

USE_X11=		yes

USE_CURSES=		yes
REPLACE_NCURSES=	${WRKSRC}/Configure

HAS_CONFIGURE=		yes
CONFIGURE_SCRIPT=	${WRKSRC}/Configure

CONFIGURE_ARGS+=	--prefix=${PREFIX} --share-prefix=${PREFIX}/share

CONFIGURE_ENV+=		LOCALBASE=${LOCALBASE}
CONFIGURE_ENV+=		X11BASE=${X11BASE}

CONFIGURE_ARGS+=	--graphic=X11

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