2012-10-25 08:32:46 +00:00
|
|
|
# Created by: Douglas Anestad <yotta@dougdidit.com>
|
2001-07-08 07:57:56 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gprolog
|
2012-10-25 08:32:46 +00:00
|
|
|
PORTVERSION= 1.4.1
|
2001-07-08 07:57:56 +00:00
|
|
|
CATEGORIES= lang
|
2013-06-22 21:23:22 +00:00
|
|
|
# MASTER_SITES= http://www.gprolog.org/
|
|
|
|
MASTER_SITES= http://gprolog.univ-paris1.fr/old_versions/
|
2001-07-08 07:57:56 +00:00
|
|
|
|
2012-03-12 06:52:24 +00:00
|
|
|
MAINTAINER= nsmoot@make.sh
|
2012-10-25 08:32:46 +00:00
|
|
|
COMMENT= Free Prolog compiler
|
2001-07-08 07:57:56 +00:00
|
|
|
|
2010-06-25 13:05:33 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
2003-10-05 09:16:54 +00:00
|
|
|
|
2008-03-19 07:43:35 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
2001-07-08 07:57:56 +00:00
|
|
|
|
2003-06-22 22:09:39 +00:00
|
|
|
USE_GMAKE= yes
|
2013-05-27 16:04:02 +00:00
|
|
|
USE_GCC= any
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= autoconf
|
2010-06-26 12:02:07 +00:00
|
|
|
CONFIGURE_ARGS= --with-c-flags="${CFLAGS}"
|
2010-06-25 13:05:33 +00:00
|
|
|
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
|
2002-11-23 00:43:33 +00:00
|
|
|
|
2003-06-22 22:09:39 +00:00
|
|
|
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
|
2002-11-23 08:20:10 +00:00
|
|
|
|
2012-10-25 08:32:46 +00:00
|
|
|
OPTIONS_DEFINE= FD
|
|
|
|
OPTIONS_DEFAULT=FD
|
|
|
|
FD_DESC= Enable finite domain constraint solver
|
2010-06-26 12:02:07 +00:00
|
|
|
|
2013-09-20 19:53:09 +00:00
|
|
|
NO_STAGE= yes
|
2012-10-25 08:32:46 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2006-08-29 07:39:34 +00:00
|
|
|
PORTDOCS= *
|
2010-06-26 12:02:07 +00:00
|
|
|
CONFIGURE_ARGS+=--with-doc-dir="${DOCSDIR}"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-doc-dir="${WRKDIR}/docs"
|
|
|
|
.endif
|
2006-08-29 07:39:34 +00:00
|
|
|
|
2012-10-25 08:32:46 +00:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2010-06-26 12:02:07 +00:00
|
|
|
PORTEXAMPLES= *
|
|
|
|
CONFIGURE_ARGS+=--with-examples-dir="${EXAMPLESDIR}"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-examples-dir="${WRKDIR}/examples"
|
|
|
|
.endif
|
2004-09-18 17:49:31 +00:00
|
|
|
|
2012-10-25 08:32:46 +00:00
|
|
|
.if empty(PORT_OPTIONS:MFD)
|
2006-01-10 09:51:24 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-fd-solver
|
|
|
|
PLIST_SUB+= FD="@comment "
|
|
|
|
PKGNAMESUFFIX= -nofd
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= FD=""
|
2005-11-21 01:32:18 +00:00
|
|
|
.endif
|
|
|
|
|
2012-10-25 08:32:46 +00:00
|
|
|
.include <bsd.port.mk>
|