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
|
2004-02-13 16:19:23 -05:00
|
|
|
PORTVERSION= 20040214
|
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/ \
|
|
|
|
ftp://ftp.asir.org/pub/asir/src/
|
2001-08-30 11:50:41 -04:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ASIR_DOC}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
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
|
|
|
|
2003-05-19 10:08:30 -04:00
|
|
|
LIB_DEPENDS= pari-2.2:${PORTSDIR}/math/pari-devel
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_AUTOMAKE= yes
|
2003-09-10 09:11:11 -04:00
|
|
|
USE_AUTOCONF= yes
|
2003-05-19 10:08:30 -04:00
|
|
|
USE_AUTOMAKE_VER= 15
|
2003-03-03 05:32:26 -05:00
|
|
|
USE_XLIB= yes
|
2003-09-10 09:11:11 -04:00
|
|
|
CONFIGURE_ARGS= --enable-shared --enable-plot --enable-fep --enable-interval --with-pari=new
|
2004-02-13 16:19:23 -05:00
|
|
|
ASIR_DOC_VERSION= 20040211
|
2002-04-01 03:21:20 -05:00
|
|
|
ASIR_DOC= asirdoc-${ASIR_DOC_VERSION}.tar.gz
|
2002-09-19 22:38:09 -04:00
|
|
|
MAN1= asir.1
|
2003-09-10 09:11:11 -04:00
|
|
|
PREFIX?= ${LOCALBASE}
|
2003-05-19 10:08:30 -04:00
|
|
|
WRKSRC= ${WRKDIR}/asir2000
|
2002-01-08 20:34:32 -05:00
|
|
|
|
2004-02-13 16:19:23 -05: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
|
2004-02-07 18:29:51 -05:00
|
|
|
|
2001-08-30 11:50:41 -04:00
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@(\
|
|
|
|
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
|
2001-08-30 11:50:41 -04:00
|
|
|
@${TAR} xfz ${DISTDIR}/${ASIR_DOC} -C ${DOCSDIR}
|
2002-09-19 22:38:09 -04:00
|
|
|
@${INSTALL_MAN} ${DOCSDIR}/${MAN1} ${PREFIX}/man/man1
|
2001-08-30 11:50:41 -04:00
|
|
|
|
2004-02-07 18:45:50 -05:00
|
|
|
.include <bsd.port.mk>
|