freebsd-ports/math/pari/Makefile

52 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: PARI
# Date created: 19 January 1999
# Whom: Yoshiaki UCHIKAWA <yoshiaki@kt.rim.or.jp>
#
1999-08-25 09:23:21 +02:00
# $FreeBSD$
#
2000-04-14 09:20:58 +02:00
PORTNAME= pari
PORTVERSION= 2.1.5
PORTREVISION= 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= yoshiaki@kt.rim.or.jp
2003-02-21 13:51:06 +01:00
COMMENT= Mathmatics library and advanced calculator package
INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= --prefix=${PREFIX} --share-prefix=${PREFIX}/share
# build is broken on some locales
CONFIGURE_ENV= LANG=C
MAKE_ENV= LANG=C
USE_GMAKE= yes
USE_REINPLACE= yes
MAKE_ARGS= gp
MAN1= gp.1 gphelp.1 tex2mail.1
MLINKS= gp.1 pari.1
HAVE_EMACS!= which emacs || echo nope
.if ${HAVE_EMACS} != "nope"
2000-10-08 04:36:49 +02:00
PLIST= ${PKGDIR}/pkg-plist.emacs
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
2004-02-17 13:59:08 +01:00
CFLAGS+= -fPIC
.endif
.if ${ARCH} == "sparc64"
BROKEN= "Does not compile on sparc64"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>