57c2bed734
the user has Emacs installed on their box. Hopefully now it does the right thing in either case. Suggested by: billf
38 lines
738 B
Makefile
38 lines
738 B
Makefile
# New ports collection makefile for: PARI
|
|
# Version required: 2.0.18b
|
|
# Date created: 19 January 1999
|
|
# Whom: Yoshiaki UCHIKAWA <yoshiaki@kt.rim.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= pari-2.0.18.beta
|
|
PKGNAME= pari-2.0.18b
|
|
CATEGORIES= math
|
|
MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.0/
|
|
|
|
MAINTAINER= yoshiaki@kt.rim.or.jp
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
HAS_CONFIGURE = Yes
|
|
CONFIGURE_SCRIPT = Configure
|
|
CONFIGURE_ARGS = --prefix=${PREFIX}
|
|
CFLAGS=
|
|
|
|
#USE_GMAKE = Yes
|
|
MAKE_ARGS= gp
|
|
|
|
MAN1= gp.1 gphelp.1
|
|
MLINKS= gp.1 pari.1
|
|
|
|
HAVE_EMACS!= which emacs || echo nope
|
|
.if ${HAVE_EMACS} != "nope"
|
|
PLIST= ${PKGDIR}/PLIST.emacs
|
|
.endif
|
|
|
|
post-install:
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|