2001-08-30 11:50:41 -04:00
|
|
|
# New ports collection makefile for: asir
|
|
|
|
# Date created: 30 Aug 2001
|
|
|
|
# Whom: Tomokatsu SAITO <saito@asir.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= asir
|
2007-09-02 09:41:55 -04:00
|
|
|
PORTVERSION= 20070806
|
2009-03-28 16:06:43 -04:00
|
|
|
PORTREVISION= 4
|
2001-08-30 11:50:41 -04:00
|
|
|
CATEGORIES= math
|
2002-11-07 08:16:35 -05:00
|
|
|
MASTER_SITES= ftp://ftp.jssac.org/pub/distfiles/asir/ \
|
2005-10-21 07:31:57 -04:00
|
|
|
ftp://ftp.asir.org/pub/asir/src/ \
|
|
|
|
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
|
|
|
|
DISTFILES= ${ASIR_SRC} ${ASIR_DOC} ${GC_SRC}
|
2005-02-01 11:22:29 -05:00
|
|
|
EXTRACT_ONLY= ${ASIR_SRC}
|
2001-08-30 11:50:41 -04:00
|
|
|
|
|
|
|
MAINTAINER= saito@asir.org
|
2003-02-21 07:51:06 -05:00
|
|
|
COMMENT= The system Risa/Asir is a general computer algebra system
|
2001-08-30 11:50:41 -04:00
|
|
|
|
2009-03-28 16:06:43 -04:00
|
|
|
LIB_DEPENDS= pari-gmp.2:${PORTSDIR}/math/pari
|
2003-05-19 10:08:30 -04:00
|
|
|
|
2008-03-24 19:21:25 -04:00
|
|
|
USE_XORG= x11 xaw xext xt
|
2003-05-19 10:08:30 -04:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-19 20:57:32 -04:00
|
|
|
USE_AUTOTOOLS= automake:15 autoconf:262
|
2005-02-01 11:22:29 -05:00
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-plot --enable-fep --enable-interval --with-pari
|
2007-09-02 09:41:55 -04:00
|
|
|
ASIR_SRC_VERSION= ${PORTVERSION}
|
2007-07-19 12:24:19 -04:00
|
|
|
ASIR_DOC_VERSION= 20070718
|
|
|
|
GC_VERSION= 6.8
|
2007-09-02 09:41:55 -04:00
|
|
|
ASIR_SRC= asir-${ASIR_SRC_VERSION}${EXTRACT_SUFX}
|
|
|
|
ASIR_DOC= asirdoc-${ASIR_DOC_VERSION}${EXTRACT_SUFX}
|
|
|
|
GC_SRC= gc${GC_VERSION}${EXTRACT_SUFX}
|
2007-07-19 12:24:19 -04:00
|
|
|
MAN1= asir.1
|
|
|
|
WRKSRC= ${WRKDIR}/asir2000
|
2005-10-21 07:31:57 -04:00
|
|
|
|
2007-07-19 12:24:19 -04:00
|
|
|
LIB_DATA= alpi bfct bgk const cyclic defs.h dfff dmul dmul102 \
|
|
|
|
fctrdata fctrtest fff glib gr ifplot katsura launch mat nf \
|
|
|
|
num primdec primdec_lex primdec_mod ratint robot solve sp \
|
|
|
|
sturm sym weight xm
|
|
|
|
|
|
|
|
PORTDOCS= *
|
2004-02-07 18:29:51 -05:00
|
|
|
|
2004-02-25 05:12:17 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-03-26 15:23:35 -05:00
|
|
|
.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
|
2006-05-10 14:24:36 -04:00
|
|
|
BROKEN= Does not compile on sparc64 or ia64
|
2005-03-26 15:23:35 -05:00
|
|
|
.endif
|
|
|
|
|
2005-10-21 07:31:57 -04:00
|
|
|
post-extract:
|
2007-07-19 12:24:19 -04:00
|
|
|
@( cd ${WRKSRC}; ${TAR} xfz ${DISTDIR}/${GC_SRC} )
|
|
|
|
@${MKDIR} ${WRKDIR}/asirdoc
|
|
|
|
@${TAR} xfz ${DISTDIR}/${ASIR_DOC} -C ${WRKDIR}/asirdoc
|
2001-08-30 11:50:41 -04:00
|
|
|
|
|
|
|
post-install:
|
2007-07-19 12:24:19 -04:00
|
|
|
@${MKDIR} ${DATADIR}
|
2001-08-30 11:50:41 -04:00
|
|
|
@(\
|
|
|
|
cd ${WRKSRC}/lib ; \
|
|
|
|
for i in ${LIB_DATA} ; do \
|
|
|
|
${INSTALL_DATA} $$i ${DATADIR} ; \
|
2003-05-19 10:08:30 -04:00
|
|
|
done ;\
|
|
|
|
make install-doc \
|
2001-08-30 11:50:41 -04:00
|
|
|
)
|
2002-09-19 22:38:09 -04:00
|
|
|
@${LN} -fs ${PREFIX}/bin/asir ${DATADIR}/ox_asir
|
|
|
|
@${LN} -fs ${PREFIX}/bin/asir ${DATADIR}/ox_plot
|
|
|
|
@${LN} -fs ${PREFIX}/bin/asir ${DATADIR}/ox_launch
|
2007-07-19 12:24:19 -04:00
|
|
|
@${INSTALL_MAN} ${WRKDIR}/asirdoc/${MAN1} ${MAN1PREFIX}/man/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@(cd ${WRKDIR}/asirdoc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
|
|
.endif
|
2001-08-30 11:50:41 -04:00
|
|
|
|
2004-02-25 05:12:17 -05:00
|
|
|
.include <bsd.port.post.mk>
|