svn commit: r536973 - in head/math: . palp
Thierry Thomas
thierry at FreeBSD.org
Fri May 29 14:52:51 UTC 2020
Author: thierry
Date: Fri May 29 14:52:50 2020
New Revision: 536973
URL: https://svnweb.freebsd.org/changeset/ports/536973
Log:
Adding PALP: a Package for Analyzing Lattice Polytopes.
It was bundled with SageMath, and now will be used as a dependency.
Added:
head/math/palp/
head/math/palp/Makefile (contents, props changed)
head/math/palp/distinfo (contents, props changed)
head/math/palp/pkg-descr (contents, props changed)
head/math/palp/pkg-plist (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Fri May 29 13:33:14 2020 (r536972)
+++ head/math/Makefile Fri May 29 14:52:50 2020 (r536973)
@@ -673,6 +673,7 @@
SUBDIR += p5-Task-Math-Symbolic
SUBDIR += p5-Text-AsciiTeX
SUBDIR += p5-bignum
+ SUBDIR += palp
SUBDIR += pantheon-calculator
SUBDIR += pari
SUBDIR += pari_elldata
Added: head/math/palp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/palp/Makefile Fri May 29 14:52:50 2020 (r536973)
@@ -0,0 +1,51 @@
+# Created by: thierry at pompo.net
+# $FreeBSD$
+
+PORTNAME= palp
+PORTVERSION= 2.11
+CATEGORIES= math
+MASTER_SITES= http://hep.itp.tuwien.ac.at/~kreuzer/CY/palp/
+
+MAINTAINER= thierry at FreeBSD.org
+COMMENT= Package for Analyzing Lattice Polytopes
+
+LICENSE= GPLv3
+
+MAKEFILE= GNUmakefile
+
+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)
+.endfor
+
+test:
+ # To be completed
+ ${ECHO_CMD} "24 3 3 4 4 10" | ${RESDIR}/class-6d.x -f -po zbin
+
+.include <bsd.port.mk>
Added: head/math/palp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/palp/distinfo Fri May 29 14:52:50 2020 (r536973)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1590677237
+SHA256 (palp-2.11.tar.gz) = 0540e827b1b481a55285146377b3910991cd6bc8da67f351c15226eec6a95702
+SIZE (palp-2.11.tar.gz) = 232751
Added: head/math/palp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/palp/pkg-descr Fri May 29 14:52:50 2020 (r536973)
@@ -0,0 +1,18 @@
+A Package for Analyzing Lattice Polytopes (PALP) is a set of C programs for
+calculations with lattice polytopes and applications to toric geometry.
+
+It contains routines for vertex and facet enumeration, computation of incidences
+and symmetries, as well as completion of the set of lattice points in the convex
+hull of a given set of points. In addition, there are procedures specialised to
+reflexive polytopes such as the enumeration of reflexive subpolytopes, and
+applications to toric geometry and string theory, like the computation of Hodge
+data and fibration structures for toric Calabi-Yau varieties. The package is
+well tested and optimised in speed as it was used for time consuming tasks such
+as the classification of reflexive polyhedra in 4 dimensions and the creation
+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.
+
+WWW: http://hep.itp.tuwien.ac.at/~kreuzer/CY/CYpalp.html
Added: head/math/palp/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/palp/pkg-plist Fri May 29 14:52:50 2020 (r536973)
@@ -0,0 +1,25 @@
+bin/class-11d.x
+bin/class-4d.x
+bin/class-5d.x
+bin/class-6d.x
+bin/class.x
+bin/cws-11d.x
+bin/cws-4d.x
+bin/cws-5d.x
+bin/cws-6d.x
+bin/cws.x
+bin/mori-11d.x
+bin/mori-4d.x
+bin/mori-5d.x
+bin/mori-6d.x
+bin/mori.x
+bin/nef-11d.x
+bin/nef-4d.x
+bin/nef-5d.x
+bin/nef-6d.x
+bin/nef.x
+bin/poly-11d.x
+bin/poly-4d.x
+bin/poly-5d.x
+bin/poly-6d.x
+bin/poly.x
More information about the svn-ports-head
mailing list