Files
ports/math/lcalc/Makefile
T
Daniel Engberg c7f01a74d8 math/lcalc: Use upstream release archive
Use upstream release archive, no need to pull in unnecessary
build dependencies
2026-04-11 10:26:02 +02:00

36 lines
967 B
Makefile

PORTNAME= lcalc
DISTVERSION= 2.2.1
CATEGORIES= math
MASTER_SITES= https://gitlab.com/-/project/12934202/uploads/0bcf82cdd02412faf9ec0cf80e656610/
MAINTAINER= ports@FreeBSD.org
COMMENT= L-function c++ class library and the CLI program lcalc
WWW= https://gitlab.com/sagemath/lcalc
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/COPYING
BUILD_DEPENDS= gengetopt:devel/gengetopt
LIB_DEPENDS= libpari.so:math/pari
USES= compiler:c++11-lang gmake libtool localbase pkgconfig tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
CONFIGURE_ARGS= --with-pari \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
OPTIONS_DEFINE= DOCS EXAMPLES
post-configure:
${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(docdir)|${STAGEDIR}${EXAMPLESDIR}|g' \
${PATCH_WRKSRC}/doc/examples/Makefile
${REINPLACE_CMD} -e 's|$$(DESTDIR)$$(docdir)|${STAGEDIR}${EXAMPLESDIR}/data|g' \
${PATCH_WRKSRC}/doc/examples/*/Makefile
.include <bsd.port.mk>