2001-08-30 15:50:41 +00:00
|
|
|
# New ports collection makefile for: asir
|
|
|
|
# Date created: 30 Aug 2001
|
|
|
|
# Whom: Tomokatsu SAITO <saito@asir.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= asir
|
2007-09-02 13:41:55 +00:00
|
|
|
PORTVERSION= 20070806
|
2009-03-28 20:06:43 +00:00
|
|
|
PORTREVISION= 4
|
2001-08-30 15:50:41 +00:00
|
|
|
CATEGORIES= math
|
2002-11-07 13:16:35 +00:00
|
|
|
MASTER_SITES= ftp://ftp.jssac.org/pub/distfiles/asir/ \
|
2005-10-21 11:31:57 +00: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 16:22:29 +00:00
|
|
|
EXTRACT_ONLY= ${ASIR_SRC}
|
2001-08-30 15:50:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= saito@asir.org
|
2003-02-21 12:51:06 +00:00
|
|
|
COMMENT= The system Risa/Asir is a general computer algebra system
|
2001-08-30 15:50:41 +00:00
|
|
|
|
2009-03-28 20:06:43 +00:00
|
|
|
LIB_DEPENDS= pari-gmp.2:${PORTSDIR}/math/pari
|
2003-05-19 14:08:30 +00:00
|
|
|
|
2008-03-24 23:21:25 +00:00
|
|
|
USE_XORG= x11 xaw xext xt
|
2003-05-19 14:08:30 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2008-08-20 00:57:32 +00:00
|
|
|
USE_AUTOTOOLS= automake:15 autoconf:262
|
2005-02-01 16:22:29 +00:00
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-plot --enable-fep --enable-interval --with-pari
|
2007-09-02 13:41:55 +00:00
|
|
|
ASIR_SRC_VERSION= ${PORTVERSION}
|
2007-07-19 16:24:19 +00:00
|
|
|
ASIR_DOC_VERSION= 20070718
|
|
|
|
GC_VERSION= 6.8
|
2007-09-02 13:41:55 +00: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 16:24:19 +00:00
|
|
|
MAN1= asir.1
|
|
|
|
WRKSRC= ${WRKDIR}/asir2000
|
2005-10-21 11:31:57 +00:00
|
|
|
|
2007-07-19 16:24:19 +00: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 23:29:51 +00:00
|
|
|
|
2004-02-25 10:12:17 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-03-26 20:23:35 +00:00
|
|
|
.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
|
2006-05-10 18:24:36 +00:00
|
|
|
BROKEN= Does not compile on sparc64 or ia64
|
2005-03-26 20:23:35 +00:00
|
|
|
.endif
|
|
|
|
|
2005-10-21 11:31:57 +00:00
|
|
|
post-extract:
|
2007-07-19 16:24:19 +00:00
|
|
|
@( cd ${WRKSRC}; ${TAR} xfz ${DISTDIR}/${GC_SRC} )
|
|
|
|
@${MKDIR} ${WRKDIR}/asirdoc
|
|
|
|
@${TAR} xfz ${DISTDIR}/${ASIR_DOC} -C ${WRKDIR}/asirdoc
|
2001-08-30 15:50:41 +00:00
|
|
|
|
|
|
|
post-install:
|
2007-07-19 16:24:19 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
2001-08-30 15:50:41 +00:00
|
|
|
@(\
|
|
|
|
cd ${WRKSRC}/lib ; \
|
|
|
|
for i in ${LIB_DATA} ; do \
|
|
|
|
${INSTALL_DATA} $$i ${DATADIR} ; \
|
2003-05-19 14:08:30 +00:00
|
|
|
done ;\
|
|
|
|
make install-doc \
|
2001-08-30 15:50:41 +00:00
|
|
|
)
|
2002-09-20 02:38:09 +00: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 16:24:19 +00:00
|
|
|
@${INSTALL_MAN} ${WRKDIR}/asirdoc/${MAN1} ${MAN1PREFIX}/man/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@(cd ${WRKDIR}/asirdoc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
|
|
|
|
.endif
|
2001-08-30 15:50:41 +00:00
|
|
|
|
2004-02-25 10:12:17 +00:00
|
|
|
.include <bsd.port.post.mk>
|