summaryrefslogtreecommitdiff
path: root/lang/gprolog
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2012-10-25 08:32:46 +0000
committerJason E. Hale <jhale@FreeBSD.org>2012-10-25 08:32:46 +0000
commit9ae290d701132ee1190337972166381e5476a2a5 (patch)
tree84d8e13e6e3adbef2441ce542551254c92ada29f /lang/gprolog
parentFix build when net/libpcap is installed. (diff)
- Update to 1.4.1
- Trim Makefile header While here: - Remove indefinite article from COMMENT - Convert to new options framework PR: ports/172180 Submitted by: wen@ Approved by: maintainer timeout (25 days) makc, avilla (mentors, implicit) Feature safe: yes
Notes
Notes: svn path=/head/; revision=306373
Diffstat (limited to 'lang/gprolog')
-rw-r--r--lang/gprolog/Makefile25
-rw-r--r--lang/gprolog/distinfo4
2 files changed, 14 insertions, 15 deletions
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index ef1cd88f2bb7..fff4c3a62299 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -1,18 +1,13 @@
-# New ports collection makefile for: gprolog
-# Date created: 30 June 2001
-# Whom: Douglas Anestad <yotta@dougdidit.com>
-#
+# Created by: Douglas Anestad <yotta@dougdidit.com>
# $FreeBSD$
-#
PORTNAME= gprolog
-PORTVERSION= 1.4.0
-PORTREVISION= 0
+PORTVERSION= 1.4.1
CATEGORIES= lang
MASTER_SITES= http://www.gprolog.org/
MAINTAINER= nsmoot@make.sh
-COMMENT= A free Prolog compiler
+COMMENT= Free Prolog compiler
ONLY_FOR_ARCHS= i386 amd64
@@ -25,23 +20,27 @@ CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= FD
+OPTIONS_DEFAULT=FD
+FD_DESC= Enable finite domain constraint solver
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
CONFIGURE_ARGS+=--with-doc-dir="${DOCSDIR}"
.else
CONFIGURE_ARGS+=--with-doc-dir="${WRKDIR}/docs"
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
PORTEXAMPLES= *
CONFIGURE_ARGS+=--with-examples-dir="${EXAMPLESDIR}"
.else
CONFIGURE_ARGS+=--with-examples-dir="${WRKDIR}/examples"
.endif
-.if defined(WITHOUT_FD)
+.if empty(PORT_OPTIONS:MFD)
CONFIGURE_ARGS+=--disable-fd-solver
PLIST_SUB+= FD="@comment "
PKGNAMESUFFIX= -nofd
@@ -49,4 +48,4 @@ PKGNAMESUFFIX= -nofd
PLIST_SUB+= FD=""
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/gprolog/distinfo b/lang/gprolog/distinfo
index eff5200c3ed7..e4af455da776 100644
--- a/lang/gprolog/distinfo
+++ b/lang/gprolog/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gprolog-1.4.0.tar.gz) = fc2d805ed94e8d8413254ffc7e8e3ad9a5fc2b3d1a044883a72b32f670e83e49
-SIZE (gprolog-1.4.0.tar.gz) = 3239962
+SHA256 (gprolog-1.4.1.tar.gz) = e2819ed9c426138d3191e4d97ae5121cf97e132eecf102400f87f1e372a05b72
+SIZE (gprolog-1.4.1.tar.gz) = 3273781