math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.
The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.
WWW: http://www.broune.com/frobby/
PR: 231208
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 17:04:10 +01:00
|
|
|
PORTNAME= frobby
|
2022-01-05 22:54:27 +01:00
|
|
|
PORTVERSION= 0.9.5
|
math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.
The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.
WWW: http://www.broune.com/frobby/
PR: 231208
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 17:04:10 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
CATEGORIES= math
|
|
|
|
|
2020-06-21 17:36:34 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.
The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.
WWW: http://www.broune.com/frobby/
PR: 231208
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 17:04:10 +01:00
|
|
|
COMMENT= Software system and project for computations with monomial ideals
|
|
|
|
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp
|
|
|
|
|
|
|
|
USES= gmake shebangfix
|
|
|
|
|
2021-03-24 12:33:26 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= Macaulay2
|
|
|
|
|
math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.
The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.
WWW: http://www.broune.com/frobby/
PR: 231208
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 17:04:10 +01:00
|
|
|
BINARY_ALIAS= make=gmake
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2021-03-24 12:33:26 +01:00
|
|
|
SHEBANG_FILES= test/testScripts/* test/runTests test/runSplitTests \
|
math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.
The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.
WWW: http://www.broune.com/frobby/
PR: 231208
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 17:04:10 +01:00
|
|
|
test/latticeFormats/runtest*
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= EXEDOCS LIBDOCS TEST
|
|
|
|
OPTIONS_DEFAULT= STATIC SHARED
|
|
|
|
OPTIONS_MULTI= INSTALL
|
|
|
|
OPTIONS_MULTI_INSTALL= EXECUTABLE \
|
|
|
|
SHARED \
|
|
|
|
STATIC
|
|
|
|
EXEDOCS_DESC= Build and install documentation for frobby executable
|
|
|
|
LIBDOCS_DESC= Build and install documentation for frobby library
|
|
|
|
EXECUTABLE_DESC= Build and install frobby executable
|
|
|
|
SHARED_DESC= Build and install libfrobby.so
|
|
|
|
STATIC_DESC= Build and install libfrobby.a
|
|
|
|
EXEDOCS_BUILD_DEPENDS= latex:print/tex-formats \
|
|
|
|
dvips:print/tex-dvipsk
|
|
|
|
LIBDOCS_BUILD_DEPENDS= doxygen:devel/doxygen \
|
|
|
|
epstopdf:print/texlive-base
|
|
|
|
TEST_BUILD_DEPENDS= bash:shells/bash
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
MAKE_ARGS+= GMP_INC_DIR=${LOCALBASE}/include
|
2021-03-24 12:33:26 +01:00
|
|
|
MAKE_ENV= RANLIB=${RANLIB}
|
math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.
The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.
WWW: http://www.broune.com/frobby/
PR: 231208
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 17:04:10 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MSHARED} || ${PORT_OPTIONS:MSTATIC}
|
|
|
|
PLIST_SUB+= LIBRARY="" NO_LIBRARY="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= LIBRARY="@comment " NO_LIBRARY=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
|
|
|
|
do-build-EXEDOCS-on:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} doc
|
|
|
|
|
|
|
|
do-build-EXECUTABLE-on:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
|
|
|
|
|
|
|
|
do-build-LIBDOCS-on:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} develDoc
|
|
|
|
|
|
|
|
do-build-STATIC-on:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} library
|
|
|
|
|
|
|
|
post-build-SHARED-on:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} MODE=shared library
|
|
|
|
|
|
|
|
post-build-TEST-on: do-build-EXECUTABLE-on
|
|
|
|
cd ${WRKSRC} && test/runTests _full
|
|
|
|
cd ${WRKSRC} && test/runSplitTests _full
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
|
|
|
|
do-install-EXECUTABLE-on:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/release/frobby ${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
do-install-SHARED-on:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/frobby.h ${STAGEDIR}${PREFIX}/include
|
2021-03-24 12:33:26 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/bin/libfrobby.so ${STAGEDIR}${PREFIX}/lib/libfrobby.so.0
|
|
|
|
cd ${STAGEDIR}${PREFIX}/lib && \
|
|
|
|
${LN} -sf libfrobby.so.0 ${STAGEDIR}${PREFIX}/lib/libfrobby.so
|
math/frobby: create port
Frobby is a software system and project for computations with monomial
ideals. Frobby is free software and it is intended as a vehicle for
computational and mathematical research on monomial ideals.
The current functionality includes Euler characteristic, Hilbert
series, maximal standard monomials, combinatorial optimization on
monomial ideals, primary decomposition, irreducible decomposition,
Alexander dual, associated primes, minimization and intersection of
monomial ideals as well as the computation of Frobenius problems
(using 4ti2) with very large numbers. Frobby is also able to translate
between formats that can be used with several different computer
systems, such as Macaulay 2, Monos, 4ti2, CoCoA4 and Singular. Thus
Frobby can be used with any of those systems.
WWW: http://www.broune.com/frobby/
PR: 231208
Submitted by: Lorenzo Salvadore <phascolarctos@protonmail.ch>
2019-03-19 17:04:10 +01:00
|
|
|
|
|
|
|
do-install-STATIC-on:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/frobby.h ${STAGEDIR}${PREFIX}/include
|
|
|
|
${INSTALL_LIB} ${WRKSRC}/bin/libfrobby.a ${STAGEDIR}${PREFIX}/lib
|
|
|
|
|
|
|
|
do-install-EXEDOCS-on:
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/bin/manual.ps ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/bin/manual.pdf ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
do-install-LIBDOCS-on:
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/bin/develDoc/develDoc.ps ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/bin/develDoc/develDoc.pdf ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/bin/develDoc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|