Lines 1-37
Link Here
|
1 |
PORTNAME= lcalc |
1 |
PORTNAME= lcalc |
2 |
PORTVERSION= 2.1.0 |
2 |
DISTVERSION= 2.1.0 |
|
|
3 |
PORTREVISION= 1 |
3 |
CATEGORIES= math |
4 |
CATEGORIES= math |
4 |
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/misc/sage/spkg/upstream/lcalc/ |
5 |
MASTER_SITES= https://mirror.csclub.uwaterloo.ca/sage/spkg/upstream/${PORTNAME}/ \ |
|
|
6 |
https://mirror.lyrahosting.com/sagemath/spkg/upstream/${PORTNAME}/ \ |
7 |
https://mirror.dogado.de/sage/spkg/upstream/${PORTNAME}/ \ |
8 |
http://files.sagemath.org/spkg/upstream/${PORTNAME}/ |
5 |
|
9 |
|
6 |
MAINTAINER= thierry@FreeBSD.org |
10 |
MAINTAINER= thierry@FreeBSD.org |
7 |
COMMENT= L-function c++ class library and the CLI program lcalc |
11 |
COMMENT= L-function c++ class library and the CLI program lcalc |
8 |
WWW= https://gitlab.com/sagemath/lcalc |
12 |
WWW= https://gitlab.com/sagemath/lcalc |
9 |
|
13 |
|
10 |
LICENSE= GPLv2+ |
14 |
LICENSE= GPLv2+ |
|
|
15 |
LICENSE_FILE= ${WRKSRC}/doc/COPYING |
11 |
|
16 |
|
12 |
BUILD_DEPENDS= gengetopt:devel/gengetopt |
17 |
BUILD_DEPENDS= gengetopt:devel/gengetopt |
13 |
LIB_DEPENDS= libgmp.so:math/gmp \ |
18 |
LIB_DEPENDS= libpari.so:math/pari |
14 |
libmpfr.so:math/mpfr \ |
|
|
15 |
libpari.so:math/pari |
16 |
|
19 |
|
17 |
#USE_GITLAB= yes |
20 |
USES= compiler:c++11-lang gmake libtool localbase pkgconfig tar:xz |
18 |
#GL_ACCOUNT= sagemath |
21 |
USE_LDCONFIG= yes |
19 |
|
|
|
20 |
USES= autoreconf compiler:c++11-lang gmake libtool localbase \ |
21 |
pkgconfig tar:xz |
22 |
|
22 |
|
23 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_ARGS= --with-pari |
24 |
|
25 |
INSTALL_TARGET= install-strip |
25 |
INSTALL_TARGET= install-strip |
26 |
TEST_TARGET= check |
26 |
TEST_TARGET= check |
27 |
USE_LDCONFIG= yes |
27 |
|
|
|
28 |
CONFIGURE_ARGS= --with-pari \ |
29 |
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig |
28 |
|
30 |
|
29 |
OPTIONS_DEFINE= DOCS EXAMPLES |
31 |
OPTIONS_DEFINE= DOCS EXAMPLES |
30 |
|
32 |
|
31 |
pre-configure: |
33 |
post-configure: |
32 |
.for dir in . data |
34 |
${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(docdir)|${STAGEDIR}${EXAMPLESDIR}|g' \ |
33 |
${REINPLACE_CMD} -e 's|@docdir@/examples|${EXAMPLESDIR}|' \ |
35 |
${PATCH_WRKSRC}/doc/examples/Makefile |
34 |
${WRKSRC}/doc/examples/${dir}/Makefile.am |
36 |
${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(docdir)|${STAGEDIR}${EXAMPLESDIR}/data|g' \ |
35 |
.endfor |
37 |
${PATCH_WRKSRC}/doc/examples/*/Makefile |
36 |
|
38 |
|
37 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |