forked from Lainports/freebsd-ports
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
34 lines
729 B
Makefile
34 lines
729 B
Makefile
# Created by: Vsevolod Stakhov <vsevolod@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gringo
|
|
PORTVERSION= 4.4.0
|
|
DISTVERSIONSUFFIX= -source
|
|
PORTREVISION= 1
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= SOURCEFORGE/potassco/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= vsevolod@FreeBSD.org
|
|
COMMENT= Grounding algorithm based on semi-naive database evaluation
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= re2c:${PORTSDIR}/devel/re2c
|
|
|
|
USES= scons bison compiler:c++11-lang
|
|
|
|
MAKE_ARGS+= ${MAKE_ENV}
|
|
CXXFLAGS+= -std=c++11
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1000000
|
|
USE_GCC= yes
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
.include <bsd.port.post.mk>
|