aboutsummaryrefslogtreecommitdiff
path: root/math/pari/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-06-05 21:42:13 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-06-05 21:42:13 +0000
commit8887f148c041116e74d09c134a8b4594f62e6139 (patch)
tree6bedda2b1bfddadee5f0cbc4695d9ba63ab6a3b5 /math/pari/Makefile
parentb50c4a004fcfcbcd06e3a4cadd315b15fa469127 (diff)
downloadports-8887f148c041116e74d09c134a8b4594f62e6139.tar.gz
ports-8887f148c041116e74d09c134a8b4594f62e6139.zip
Notes
Diffstat (limited to 'math/pari/Makefile')
-rw-r--r--math/pari/Makefile32
1 files changed, 17 insertions, 15 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 913000e0263c..68f7d9864f25 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -14,38 +14,40 @@ DISTNAME= pari-${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}
MAINTAINER= yoshiaki@kt.rim.or.jp
COMMENT= Mathmatics library and advanced calculator package
-CONFLICTS= pari-2.2.*
-
-EXTRACT_SUFX= .tgz
-NO_LATEST_LINK= yes
INSTALLS_SHLIB= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= --prefix=${PREFIX} --share-prefix=${PREFIX}/share
-#USE_GMAKE= yes
MAKE_ARGS= gp
PLIST_SUB= MAJOR_VERSION=${MAJOR_VERSION} MINOR_VERSION=${MINOR_VERSION} REV_VERSION=${REV_VERSION}
MAJOR_VERSION= 2
-MINOR_VERSION= 1
-REV_VERSION= 7
+MINOR_VERSION= 3
+REV_VERSION= 0
-MAN1= gp.1 gphelp.1 tex2mail.1
+MAN1= gp.1 gphelp.1 gp-${MAJOR_VERSION}.${MINOR_VERSION}.1 tex2mail.1
MLINKS= gp.1 pari.1
.include <bsd.port.pre.mk>
+post-install:
+ @if [ -L ${PREFIX}/man/man1/pari.1 ]; then \
+ ${RM} -f ${PREFIX}/man/man1/pari.1 ;\
+ fi
+
HAVE_EMACS!= ${WHICH} emacs || ${ECHO} nope
+HAVE_PERL!= ${WHICH} perl || ${ECHO} nope
.if ${HAVE_EMACS} != "nope"
-PLIST= ${PKGDIR}/pkg-plist.emacs
+.if ${HAVE_PERL} != "nope"
+PLIST= ${PKGDIR}/pkg-plist.emacs.perl
+.else
+PLIST= ${PKGDIR/pkg-plit.emacs.noperl
+.endif
+.else
+.if ${HAVE_PERL} != "nope"
+PLIST= ${PKGDIR}/pkg-plist.perl
.endif
-
-.if ${ARCH} == "amd64"
-CFLAGS+= -fPIC
.endif
-
-post-patch:
- @${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>