diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-05-24 22:11:38 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-05-24 22:11:38 +0800 |
commit | 62371c6fc06c521cb76d38cc9d71bda3c92b0ab6 (patch) | |
tree | 84f4c08a9edb8c80cd51bb408f1e0d6b064bd4f4 /math | |
parent | 2433223413ed8ae9a4e8c7aeb0f8a3f8b1eea8b3 (diff) | |
download | freebsd-ports-graphics-62371c6fc06c521cb76d38cc9d71bda3c92b0ab6.tar.gz freebsd-ports-graphics-62371c6fc06c521cb76d38cc9d71bda3c92b0ab6.tar.zst freebsd-ports-graphics-62371c6fc06c521cb76d38cc9d71bda3c92b0ab6.zip |
- 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>
Diffstat (limited to 'math')
-rw-r--r-- | math/asir2000/Makefile | 51 | ||||
-rw-r--r-- | math/asir2000/distinfo | 12 | ||||
-rw-r--r-- | math/asir2000/pkg-plist | 1 |
3 files changed, 37 insertions, 27 deletions
diff --git a/math/asir2000/Makefile b/math/asir2000/Makefile index d7273e71f73..66007e4f780 100644 --- a/math/asir2000/Makefile +++ b/math/asir2000/Makefile @@ -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> diff --git a/math/asir2000/distinfo b/math/asir2000/distinfo index ef94632ad72..431f044c71f 100644 --- a/math/asir2000/distinfo +++ b/math/asir2000/distinfo @@ -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 diff --git a/math/asir2000/pkg-plist b/math/asir2000/pkg-plist index ac3067ba2d1..d8f77fdde71 100644 --- a/math/asir2000/pkg-plist +++ b/math/asir2000/pkg-plist @@ -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 |