freebsd-ports/math/pari/Makefile

58 lines
1.3 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= ${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://pari.math.u-bordeaux.fr/pub/pari/unix/
DISTNAME= pari-${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}
MAINTAINER= ports@FreeBSD.org
2006-06-06 16:47:49 +02:00
COMMENT= Mathematics library and advanced calculator package
LIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= --prefix=${PREFIX} --share-prefix=${PREFIX}/share --with-gmp=${LOCALBASE}
MAKE_ARGS= gp
PLIST_SUB= MAJOR_VERSION=${MAJOR_VERSION} MINOR_VERSION=${MINOR_VERSION} REV_VERSION=${REV_VERSION}
MAJOR_VERSION= 2
MINOR_VERSION= 3
REV_VERSION= 4
MAN1= gp.1 gphelp.1 gp-${MAJOR_VERSION}.${MINOR_VERSION}.1 tex2mail.1
MLINKS= gp.1 pari.1
.include <bsd.port.pre.mk>
HAVE_EMACS!= ${WHICH} emacs || ${ECHO} nope
HAVE_PERL!= ${WHICH} perl || ${ECHO} nope
.if ${HAVE_EMACS} != "nope"
PLIST_SUB+= EMACS=""
.else
PLIST_SUB+= EMACS="@comment "
.endif
.if ${HAVE_PERL} != "nope"
PLIST_SUB+= PERL=""
.else
PLIST_SUB+= PERL="@comment "
2004-02-17 13:59:08 +01:00
.endif
post-install:
@if [ -L ${PREFIX}/man/man1/pari.1 ]; then \
${RM} -f ${PREFIX}/man/man1/pari.1 ;\
fi
.include <bsd.port.post.mk>