1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add gringo - an advanced grounder to compute variable-free programs.

This commit is contained in:
Vsevolod Stakhov 2014-01-10 14:31:26 +00:00
parent e0702bc4e7
commit 2564e97f9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339359
4 changed files with 36 additions and 0 deletions

View File

@ -159,6 +159,7 @@
SUBDIR += graphthing
SUBDIR += gretl
SUBDIR += gri
SUBDIR += gringo
SUBDIR += grpn
SUBDIR += gsl
SUBDIR += hs-Agda

27
math/gringo/Makefile Normal file
View File

@ -0,0 +1,27 @@
# Created by: Vsevolod Stakhov <vsevolod@FreeBSD.org>
# $FreeBSD$
PORTNAME= gringo
PORTVERSION= 4.2.1
DISTVERSIONSUFFIX= -source
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= potassco/${PORTNAME}/${PORTVERSION}
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Grounding algorithm based on semi-naive database evaluation
BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
USES= scons lua:51+ bison
MAKE_ARGS+= ${MAKE_ENV} WITH_LUA="lua-${LUA_VER}"
CXXFLAGS+= -std=c++11 -I${LUA_INCDIR}
LDFLAGS+= -L${LUA_LIBDIR}
PLIST_FILES= bin/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

2
math/gringo/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (gringo-4.2.1-source.tar.gz) = 24da7958ca6c4f41a3df43ca786059926057289d5f01bfd22e6d9483977c0581
SIZE (gringo-4.2.1-source.tar.gz) = 615728

6
math/gringo/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Current answer set solvers work on variable-free programs. Hence, a grounder is
needed that, given an input program with first-order variables, computes an
equivalent ground (variable-free) program. Gringo is such a grounder. Its
output can be processed further with clasp.
WWW: http://potassco.sourceforge.net/