diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-05-19 14:08:30 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-05-19 14:08:30 +0000 |
commit | 894db980cdd8523ed6f7c9b5f4c325de9b9f1c5d (patch) | |
tree | f151826f5c9dc1564680c7e9732dce992c48659e /math/asir2000/Makefile | |
parent | Correct configure patch (diff) |
Update to 20030507
PR: 52261
Submitted by: Saito Tomokatsu <saito@a2z.co.jp>
Notes
Notes:
svn path=/head/; revision=81390
Diffstat (limited to 'math/asir2000/Makefile')
-rw-r--r-- | math/asir2000/Makefile | 78 |
1 files changed, 12 insertions, 66 deletions
diff --git a/math/asir2000/Makefile b/math/asir2000/Makefile index fdb6dccc71a6..9fa0444e932d 100644 --- a/math/asir2000/Makefile +++ b/math/asir2000/Makefile @@ -6,7 +6,7 @@ # PORTNAME= asir -PORTVERSION= 20030215 +PORTVERSION= 20030507 CATEGORIES= math MASTER_SITES= ftp://ftp.jssac.org/pub/distfiles/asir/ \ ftp://ftp.asir.org/pub/asir/src/ @@ -16,75 +16,22 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= saito@asir.org COMMENT= The system Risa/Asir is a general computer algebra system -WRKSRC= ${WRKDIR}/asir2000 -PREFIX?= ${LOCALBASE} -USE_IMAKE= YES +LIB_DEPENDS= pari-2.2:${PORTSDIR}/math/pari-devel + +GNU_CONFIGURE= yes +USE_AUTOMAKE= yes +USE_AUTOCONF= yes +USE_AUTOMAKE_VER= 15 USE_XLIB= yes -USE_REINPLACE= yes -XFREE86_HTML_MAN= no -USE_X_PREFIX = no -HAS_CONFIGURE= YES -CONFIGURE_ENV= OLD_PARI_VERSION=${OLD_PARI_VERSION} \ - PARI_VERSION=${PARI_VERSION} \ - LAPACK_VERSION=${LAPACK_VERSION} -CONFIGURE_ARGS= -oxhome ${PREFIX} -plot ${PARI} -fep -interval ${LAPACK} -ASIR_DOC_VERSION= 20021020 +CONFIGURE_ARGS= --enable-shared --enable-plot --enable-fep --enable-interval --with-pari=new +ASIR_DOC_VERSION= 20030507 ASIR_DOC= asirdoc-${ASIR_DOC_VERSION}.tar.gz MAN1= asir.1 +WRKSRC= ${WRKDIR}/asir2000 LIB_DATA= alpi bfct bgk const cyclic defs.h dfff dmul fctrdata fctrtest \ fff gr ifplot katsura launch mat nf num primdec \ ratint robot solve sp sturm xm -LIB_DEPENDS= # dummy - -OLD_PARI_DIR= ${PORTSDIR}/math/pari -OLD_PARI_VERSION= `${GREP} PORTVERSION ${OLD_PARI_DIR}/Makefile | cut -f 2` -PARI_DIR= ${PORTSDIR}/math/pari-devel -PARI_VERSION= `${GREP} MAJOR_VERSION ${PARI_DIR}/Makefile | ${GREP} -v { | cut -f 2`.`${GREP} MINOR_VERSION ${PARI_DIR}/Makefile | ${GREP} -v { | cut -f 2`.`${GREP} REV_VERSION ${PARI_DIR}/Makefile | ${GREP} -v { | cut -f 2`.alpha - -.if defined(USE_OLDPARI) -LIB_DEPENDS+= pari.1:${OLD_PARI_DIR} -PARI= -oldpari -.else -LIB_DEPENDS+= pari-2.2:${PARI_DIR} -PARI= -pari -.endif - -LAPACK_DIR= ${PORTSDIR}/math/lapack -LAPACK_VERSION= `${GREP} PORTVERSION ${LAPACK_DIR}/Makefile | cut -f 2` - -.if defined(USE_LAPACK) -LIB_DEPENDS+= lapack.3:${LAPACK_DIR} -LAPACK= -lapack -.else -LAPACK= -.endif - -pre-extract: -.if !defined(USE_OLDPARI) - @${ECHO_MSG} "If you build the pari ${OLD_PARI_VERSION} library," - @${ECHO_MSG} " make USE_OLDPARI=yes" - @${ECHO_MSG} "otherwise link pari ${PARI_VERSION}" -.endif -.if !defined(USE_LAPACK) - @${ECHO_MSG} "To build include \"LAPACK\" library," - @${ECHO_MSG} " make USE_LAPACK=yes" -.endif - -post-patch: - ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ - ${WRKSRC}/configure \ - ${WRKSRC}/gc/configure \ - ${WRKSRC}/gc/libtool.m4 \ - ${WRKSRC}/include/Risa.tmpl \ - ${WRKSRC}/include/Risa.tmpl-alpha \ - ${WRKSRC}/lib/xm \ - ${WRKSRC}/old/configure - ${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \ - ${WRKSRC}/Imakefile \ - ${WRKSRC}/gc/configure \ - ${WRKSRC}/gc/libtool.m4 \ - ${WRKSRC}/old/Imakefile pre-install: @${MKDIR} ${DATADIR} @@ -95,14 +42,13 @@ post-install: cd ${WRKSRC}/lib ; \ for i in ${LIB_DATA} ; do \ ${INSTALL_DATA} $$i ${DATADIR} ; \ - done \ + done ;\ + make install-doc \ ) - @(cd ${WRKSRC}; make install-doc) @${LN} -fs ${PREFIX}/bin/asir ${DATADIR}/ox_asir @${LN} -fs ${PREFIX}/bin/asir ${DATADIR}/ox_plot @${LN} -fs ${PREFIX}/bin/asir ${DATADIR}/ox_launch @${TAR} xfz ${DISTDIR}/${ASIR_DOC} -C ${DOCSDIR} @${INSTALL_MAN} ${DOCSDIR}/${MAN1} ${PREFIX}/man/man1 - @${GZIP_CMD} ${PREFIX}/man/man1/${MAN1} .include <bsd.port.mk> |