Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2024 21:06:54 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6fe53f299aa1 - main - math/palp: upgrade to 2.21
Message-ID:  <202403122106.42CL6sYx026730@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6fe53f299aa159bc4fca5c8221bb27c77d97f810

commit 6fe53f299aa159bc4fca5c8221bb27c77d97f810
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-03-12 19:27:25 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-03-12 21:06:49 +0000

    math/palp: upgrade to 2.21
    
    Use the new target all-dims to simplify Makefile.
---
 math/palp/Makefile  | 35 +++++++----------------------------
 math/palp/distinfo  |  6 +++---
 math/palp/pkg-descr |  2 ++
 3 files changed, 12 insertions(+), 31 deletions(-)

diff --git a/math/palp/Makefile b/math/palp/Makefile
index ad94c555b671..b00d7a5b72a8 100644
--- a/math/palp/Makefile
+++ b/math/palp/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	palp
-PORTVERSION=	2.20
+PORTVERSION=	2.21
 CATEGORIES=	math
 MASTER_SITES=	http://hep.itp.tuwien.ac.at/~kreuzer/CY/palp/
 
@@ -11,40 +11,19 @@ LICENSE=	GPLv3
 
 USES=		gmake
 MAKEFILE=	GNUmakefile
+ALL_TARGET=	all-dims
+TEST_TARGET=	check
 
 DIMENSIONS=	4 5 6 11
 RESDIR=		${WRKDIR}/result
 PROGS=		class cws mori nef poly
 
-pre-build:
-	${MV} ${WRKSRC}/Global.h ${WRKSRC}/Global.h-template
-	${MKDIR} ${RESDIR}
-
-do-build:
-.for dim in ${DIMENSIONS}
-	${SED} "s/^#define[^a-zA-Z]*POLY_Dmax.*/#define POLY_Dmax ${dim}/"	\
-		${WRKSRC}/Global.h-template > ${WRKSRC}/Global.h
-	(cd ${BUILD_WRKSRC} && ${DO_MAKE_BUILD} ${ALL_TARGET})
-. for prog in ${PROGS}
-	${CP} ${WRKSRC}/${prog}.x ${RESDIR}/${prog}-${dim}d.x
-. endfor
-	(cd ${BUILD_WRKSRC} && ${DO_MAKE_BUILD} cleanall)
-.endfor
-
 do-install:
-.for dim in ${DIMENSIONS}
-. for prog in ${PROGS}
-	${INSTALL_PROGRAM} ${RESDIR}/${prog}-${dim}d.x ${STAGEDIR}${PREFIX}/bin
-. endfor
-.endfor
-	# symlinks for the default dimension
 .for prog in ${PROGS}
-	(cd ${STAGEDIR}${PREFIX}/bin &&	\
-		${LN} -sf ${prog}-6d.x ${STAGEDIR}${PREFIX}/bin/${prog}.x)
+	${INSTALL_PROGRAM} ${WRKSRC}/${prog}.x ${STAGEDIR}${PREFIX}/bin
+. for dim in ${DIMENSIONS}
+	${INSTALL_PROGRAM} ${WRKSRC}/${prog}-${dim}d.x ${STAGEDIR}${PREFIX}/bin
+. endfor
 .endfor
 
-test:
-	# To be completed
-	${ECHO_CMD} "24 3 3 4 4 10" | ${RESDIR}/class-6d.x -f -po zbin
-
 .include <bsd.port.mk>
diff --git a/math/palp/distinfo b/math/palp/distinfo
index 4be521898d8a..cd6d6d8e4072 100644
--- a/math/palp/distinfo
+++ b/math/palp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1603211915
-SHA256 (palp-2.20.tar.gz) = 723e89e78b2d3d94a720dd770c11b932b3e6b56f8a49e0bf3621c776f7a02ce0
-SIZE (palp-2.20.tar.gz) = 237664
+TIMESTAMP = 1710269167
+SHA256 (palp-2.21.tar.gz) = 7e4a7bf219998a844c0bcce0a176e49d0743cb4b505a0e195329bf2ec196ddd7
+SIZE (palp-2.21.tar.gz) = 262681
diff --git a/math/palp/pkg-descr b/math/palp/pkg-descr
index b7c48192e160..63166a6bd9ea 100644
--- a/math/palp/pkg-descr
+++ b/math/palp/pkg-descr
@@ -14,3 +14,5 @@ and manipulation of very large lists of 5-dimensional polyhedra.
 While originally intended for low-dimensional applications, the algorithms work
 in any dimension and our key routine for vertex and facet enumeration compares
 well with existing packages.
+
+See also <https://gitlab.com/stringstuwien/PALP/>.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403122106.42CL6sYx026730>