1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 20140513

- Convert to new LIB_DEPENDS format
- Support STAGEDIR
- Pass maintainership to submitter

PR:		ports/189764
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-05-24 14:11:38 +00:00
parent 1e61cff2b3
commit 8f5bc803a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355024
3 changed files with 37 additions and 27 deletions

View File

@ -2,33 +2,36 @@
# $FreeBSD$
PORTNAME= asir
PORTVERSION= 20110810
PORTREVISION= 1
PORTVERSION= 20140513
CATEGORIES= math
MASTER_SITES= ftp://ftp.jssac.org/pub/distfiles/asir/ \
ftp://ftp.asir.org/pub/asir/src/ \
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
http://www.hboehm.info/gc/gc_source/
DISTFILES= ${ASIR_SRC} ${ASIR_DOC} ${GC_SRC}
EXTRACT_ONLY= ${ASIR_SRC}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= 5u623l20@gmail.com
COMMENT= The system Risa/Asir is a general computer algebra system
LIB_DEPENDS= pari-gmp.2:${PORTSDIR}/math/pari
LICENSE= RALUL
LICENSE_NAME= Risa/Asir Limited Use License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LIB_DEPENDS= libpari.so:${PORTSDIR}/math/pari
MAKE_JOBS_UNSAFE= yes
USE_XORG= x11 xaw xext xt
GNU_CONFIGURE= yes
USE_AUTOTOOLS= aclocal automake autoconf
AUTOMAKE_ARGS= --add-missing
CONFIGURE_ARGS= --enable-shared --enable-plot --enable-fep --enable-interval --with-pari --with-gc7
CONFIGURE_ARGS= --enable-shared --enable-plot --enable-interval --with-pari --with-asir-gc
ASIR_SRC_VERSION= ${PORTVERSION}
ASIR_DOC_VERSION= 20110808
GC_VERSION= 7.1
ASIR_DOC_VERSION= 20131129
GC_VERSION= 7.2
ASIR_SRC= asir-${ASIR_SRC_VERSION}${EXTRACT_SUFX}
ASIR_DOC= asirdoc-${ASIR_DOC_VERSION}${EXTRACT_SUFX}
GC_SRC= gc-${GC_VERSION}${EXTRACT_SUFX}
MAN1= asir.1
WRKSRC= ${WRKDIR}/asir2000
LIB_DATA= alpi bfct bgk const cyclic defs.h dfff dmul dmul102 \
@ -36,10 +39,12 @@ LIB_DATA= alpi bfct bgk const cyclic defs.h dfff dmul dmul102 \
num primdec primdec_lex primdec_mod ratint robot solve sp \
sturm sym weight xm
OPTIONS_DEFINE= DOCS
PORTDOCS= *
PORTDATA= *
NO_STAGE= yes
#NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
@ -51,23 +56,27 @@ post-extract:
@${MKDIR} ${WRKDIR}/asirdoc
@${TAR} xfz ${DISTDIR}/${ASIR_DOC} -C ${WRKDIR}/asirdoc
post-patch:
${REINPLACE_CMD} '-e s|$${DESTDIR}|${STAGEDIR}|g' \
${WRKSRC}/lib/Makefile.am
post-install:
@${MKDIR} ${DATADIR}
@(\
${MKDIR} ${STAGEDIR}${DATADIR}
(\
cd ${WRKSRC}/lib ; \
for i in ${LIB_DATA} ; do \
${INSTALL_DATA} $$i ${DATADIR} ; \
${INSTALL_DATA} $$i ${STAGEDIR}${DATADIR} ; \
done ;\
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
@${LN} -fs ${DATADIR} ${PREFIX}/lib/asir
@${INSTALL_MAN} ${WRKDIR}/asirdoc/${MAN1} ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKDIR}/asirdoc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
${LN} -fs ${PREFIX}/bin/asir ${STAGEDIR}${DATADIR}/ox_asir
${LN} -fs ${PREFIX}/bin/asir ${STAGEDIR}${DATADIR}/ox_plot
${LN} -fs ${PREFIX}/bin/asir ${STAGEDIR}${DATADIR}/ox_launch
${LN} -fs ${DATADIR} ${STAGEDIR}${PREFIX}/lib/asir
${INSTALL_MAN} ${WRKDIR}/asirdoc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKDIR}/asirdoc/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.post.mk>

View File

@ -1,6 +1,6 @@
SHA256 (asir-20110810.tar.gz) = 878863d33ebee13123bab7619b02459a8f769aef0803ea73a0d68e9d3a9829a4
SIZE (asir-20110810.tar.gz) = 2039536
SHA256 (asirdoc-20110808.tar.gz) = c374deaf267a658416d32e79b7e0474ef784e403855c1e0248b117fc6bfebab1
SIZE (asirdoc-20110808.tar.gz) = 1360135
SHA256 (gc-7.1.tar.gz) = e3cef6028fe3efe7de3bcf4107c880eae50b3ee79841450d885467c09bcebf30
SIZE (gc-7.1.tar.gz) = 1077714
SHA256 (asir-20140513.tar.gz) = 6f979acaeed4cb9187b350b23ded656b31fd7b12fa288f5b00241aef026eedb0
SIZE (asir-20140513.tar.gz) = 2057151
SHA256 (asirdoc-20131129.tar.gz) = f5d1a41fd648dd59de28a9524f7b2c8e025c0509ffadf4b0e7885d85a5417231
SIZE (asirdoc-20131129.tar.gz) = 1370070
SHA256 (gc-7.2.tar.gz) = 78281a7e183e599368282e05b3818ea21ead246337dad3badceb4ea0cd6c6650
SIZE (gc-7.2.tar.gz) = 1261201

View File

@ -17,4 +17,5 @@ include/asir/version.h
include/asir/wsio.h
include/asir/w_stdio.h
lib/asir
man/man1/asir.1.gz
@dirrm include/asir