From nobody Sat May 17 09:57:55 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZzzsJ2vqgz5wKnt; Sat, 17 May 2025 09:57:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZzzsH6pJ5z3CNy; Sat, 17 May 2025 09:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747475876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xs0F1+xE4F9gpjGd5Jw8uDJafj7//qDE2+KwSTxSJiQ=; b=mEqQdynNWkqQ9VFoJlgzye6hMqa/nRiaYOoIp79ku6Tdk/PuFA5tTn+EkrzjeSWWCXYVdw MEBeSW/qzCh5mmDyaeWBgZGSHSVaMGmuVZseBXV3J+kGOsPXjbNZF0qjFjpDJlSaYCq0z4 o4UY5pW6Sct4pCvxA1s51V2vgAEc2lTcXtdcvkFnGyxE9LUn/QGS5qU0ewU1id1dc864r3 0LOHus9guOuRHPH6FtBqzkg0Q4aNE2jctz2DLeGg9UDNz0dyIj64uUj6mQcr1I2CFSLXuP jI7VjVf1ri0qv5HoQ9i7+FTYMhDkGaIhkObWlFYaJbm8mBDsQ4LVOWdjNXbXoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747475876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Xs0F1+xE4F9gpjGd5Jw8uDJafj7//qDE2+KwSTxSJiQ=; b=vLvQWlKVepuYRZWb/luafJmwlTjbU8/gRBhn/8FZCravkGM/zzyteujWDQ5bhcJQyDkXk4 bitu0pgU5hnYvpbXNxcSmd8bZCDZjCNfWGsSbmLwCoa8PvhwPf0Afp4amfyJb1TmJ2+xOz yXPK5Lj7ITf7lOCO+lsVgfH90h02BBiTMM08k06hnetZfYpcKIoEb+k3kZxicU4SHDHbio BfXlUNpnfuy3AWjg3kTv+ZwJrUoMN5+XJJmAwwlmmBikthYHJ/MxNWrKxOeFwaI8VI8r1S jUiTkyigu0ZBFKbk23Dp43XaTgOIdnsImjv8bhiKOBrza7GRg5Yh8u97+8zUcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747475876; a=rsa-sha256; cv=none; b=lP7vw/+IewJ4bEg5Q7fHeTJOl+FjHXIMbAziNZDmSjIN5QZss6piUQE8RS817tUmeBqQ75 p8mHOEtEKP/DaMSFeGUOCFVvzNxtDT1WK0bdBtXIqycPE0WsyuPOCLI3vxUU4O5se7zA0K 2o6bQd2uR608Sp/TnDAOnr3S1V9V6glgr8ZdFbq3FVWBAaW4bkBL2RI8jmrAjEkACPnBWb cXYA6oYscc0qwAg6s7l2lZIoan9IiFvf5gKtdjs6LVF3HQoAGNjzERp3ScmG5VeuERj+U8 BvszGVkHpJEeElKnX/2M6v81auYc82DNhxUleT+g/DQSaO8DQCLgr3SmzqQm1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZzzsH5K78zky3; Sat, 17 May 2025 09:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54H9vtSc055714; Sat, 17 May 2025 09:57:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54H9vtNg055711; Sat, 17 May 2025 09:57:55 GMT (envelope-from git) Date: Sat, 17 May 2025 09:57:55 GMT Message-Id: <202505170957.54H9vtNg055711@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: b7b216cee156 - main - math/lcalc: Improve port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b7b216cee15607d5a62145bcc8e114e0d569ab36 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=b7b216cee15607d5a62145bcc8e114e0d569ab36 commit b7b216cee15607d5a62145bcc8e114e0d569ab36 Author: Daniel Engberg AuthorDate: 2025-05-17 02:02:02 +0000 Commit: Daniel Engberg CommitDate: 2025-05-17 09:53:15 +0000 math/lcalc: Improve port * Change PORTVERSION --> DISTVERSION * Update MASTER_SITES * Define LICENSE_FILE * Drop USES= autoreconf * Fix LIB_DEPENDS * Remove GITLAB variables * Define --with-pkgconfigdir * Minor layout changes in Makefile to closer follow Porters Handbook Source: https://github.com/sagemath/sage/releases/download/10.6/mirror_list PR: 286540 Approved by: maintainer timeout, 2+ weeks --- math/lcalc/Makefile | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/math/lcalc/Makefile b/math/lcalc/Makefile index c4dc68f3cd21..c2ade72e45b3 100644 --- a/math/lcalc/Makefile +++ b/math/lcalc/Makefile @@ -1,37 +1,39 @@ PORTNAME= lcalc -PORTVERSION= 2.1.0 +DISTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= math -MASTER_SITES= ftp://ftp.fu-berlin.de/unix/misc/sage/spkg/upstream/lcalc/ +MASTER_SITES= https://mirror.csclub.uwaterloo.ca/sage/spkg/upstream/${PORTNAME}/ \ + https://mirror.lyrahosting.com/sagemath/spkg/upstream/${PORTNAME}/ \ + https://mirror.dogado.de/sage/spkg/upstream/${PORTNAME}/ \ + http://files.sagemath.org/spkg/upstream/${PORTNAME}/ MAINTAINER= thierry@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= libgmp.so:math/gmp \ - libmpfr.so:math/mpfr \ - libpari.so:math/pari +LIB_DEPENDS= libpari.so:math/pari -#USE_GITLAB= yes -#GL_ACCOUNT= sagemath - -USES= autoreconf compiler:c++11-lang gmake libtool localbase \ - pkgconfig tar:xz +USES= compiler:c++11-lang gmake libtool localbase pkgconfig tar:xz +USE_LDCONFIG= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-pari + INSTALL_TARGET= install-strip TEST_TARGET= check -USE_LDCONFIG= yes + +CONFIGURE_ARGS= --with-pari \ + --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig OPTIONS_DEFINE= DOCS EXAMPLES -pre-configure: -.for dir in . data - ${REINPLACE_CMD} -e 's|@docdir@/examples|${EXAMPLESDIR}|' \ - ${WRKSRC}/doc/examples/${dir}/Makefile.am -.endfor +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