1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/math/pari/Makefile
Tijl Coosemans 4db1f137e9 Remove -fPIC. Problem was already fixed in r432070.
Remove some other bits from older versions that no longer have any effect.
2017-02-14 18:08:27 +00:00

55 lines
1.2 KiB
Makefile

# Created by: Yoshiaki UCHIKAWA <yoshiaki@kt.rim.or.jp>
# $FreeBSD$
PORTNAME= pari
PORTVERSION= 2.9.1
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= math
MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/ \
http://mirrors.rit.edu/zi/
MAINTAINER= yuri@rawbw.com
COMMENT= Mathematics library and advanced calculator package
LICENSE= GPLv2
LIB_DEPENDS= libgmp.so:math/gmp
MAKE_JOBS_UNSAFE= yes
ALL_TARGET= gp
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man/man1 \
--prefix=${PREFIX} \
--with-gmp=${LOCALBASE}
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PERL5= build
USES= perl5
OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS X11
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS X11
.ifndef WITH_DEBUG
OPTIMIZED_CFLAGS_CFLAGS= -O3 -fno-strict-aliasing -fomit-frame-pointer
.endif
X11_CONFIGURE_ON= --graphic=X11
X11_CONFIGURE_OFF= --graphic=none
X11_USE= xorg=x11
PLIST_SUB= GP_VERSION=${GP_VERSION} PORTVERSION=${PORTVERSION}
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
GP_VERSION= ${PORTVERSION:R}
post-patch:
@${REINPLACE_CMD} -e '/^CFLAGS=/s/\$$cflags//' \
${WRKSRC}/config/get_cc
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpari-gmp.so.*
.include <bsd.port.mk>