1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/math/pari/Makefile

55 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 07:23:21 +00:00
# $FreeBSD$
#
2000-04-14 07:20:58 +00:00
PORTNAME= pari
PORTVERSION= 2.1.6
CATEGORIES= math
MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/
MAINTAINER= yoshiaki@kt.rim.or.jp
2003-02-21 12:51:06 +00:00
COMMENT= Mathmatics library and advanced calculator package
EXTRACT_SUFX= .tgz
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 02:36:49 +00:00
PLIST= ${PKGDIR}/pkg-plist.emacs
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
USE_GCC= 3.2
.endif
.if ${ARCH} == "amd64"
2004-02-17 12:59:08 +00:00
CFLAGS+= -fPIC
.endif
.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
BROKEN= "Does not compile on sparc64 or ia64"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>