summaryrefslogtreecommitdiff
path: root/lang/yap
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-09-09 18:30:48 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-09-09 18:30:48 +0000
commita574054750b0a85efa4bbbd84da03bad35e406d5 (patch)
tree456f959f7d56164e5da44788f48e7c4be5d34687 /lang/yap
parentUpdate to 2.761 (diff)
Update to 5.0.0
PR: ports/85881 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=142308
Diffstat (limited to 'lang/yap')
-rw-r--r--lang/yap/Makefile14
-rw-r--r--lang/yap/distinfo4
-rw-r--r--lang/yap/pkg-descr2
-rw-r--r--lang/yap/pkg-plist5
4 files changed, 19 insertions, 6 deletions
diff --git a/lang/yap/Makefile b/lang/yap/Makefile
index aadf42ddab82..487cb1953a69 100644
--- a/lang/yap/Makefile
+++ b/lang/yap/Makefile
@@ -7,9 +7,10 @@
#
PORTNAME= yap
-PORTVERSION= 4.5.6
+PORTVERSION= 5.0.0
CATEGORIES= lang
-MASTER_SITES= http://www.ncc.up.pt/~vsc/Yap/Yap4.5/
+MASTER_SITES= http://www.ncc.up.pt/~vsc/Yap/%SUBDIR%/
+MASTER_SITE_SUBDIR= Yap-${PORTVERSION:R}
DISTNAME= Yap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
@@ -17,6 +18,7 @@ COMMENT= A high-performance Prolog compiler
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -26,11 +28,17 @@ INFO= yap
.include <bsd.port.pre.mk>
-ONLY_FOR_ARCHS= i386
+.if ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386"
+.endif
post-extract:
@${RM} -f ${WRKSRC}/docs/*.info*
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|@value{VERSION}|${PORTVERSION}|g' ${WRKSRC}/docs/yap.tex
+
post-build:
cd ${WRKSRC}/docs && makeinfo --no-split yap.tex
diff --git a/lang/yap/distinfo b/lang/yap/distinfo
index 0f71b2e3ae9b..6914b7c4e04c 100644
--- a/lang/yap/distinfo
+++ b/lang/yap/distinfo
@@ -1,2 +1,2 @@
-MD5 (Yap-4.5.6.tar.gz) = 9b02b62d40b0639b4dd00d5cdd3f1e1d
-SIZE (Yap-4.5.6.tar.gz) = 3297617
+MD5 (Yap-5.0.0.tar.gz) = 6afe0d720aa91a1191d4fbb8201062ed
+SIZE (Yap-5.0.0.tar.gz) = 3102749
diff --git a/lang/yap/pkg-descr b/lang/yap/pkg-descr
index 4154ef5eda61..38de724fc23a 100644
--- a/lang/yap/pkg-descr
+++ b/lang/yap/pkg-descr
@@ -4,4 +4,4 @@ Porto and at COPPE Sistemas/UFRJ. Its Prolog engine is based in the WAM
YAP follows the Edinburgh tradition, and is largely compatible with the ISO-
Prolog standard and with Quintus and SICStus Prolog.
-WWW: http://yap.sourceforge.net/
+WWW: http://www.ncc.up.pt/~vsc/Yap/
diff --git a/lang/yap/pkg-plist b/lang/yap/pkg-plist
index 3a0d5f366230..457e43b40ebd 100644
--- a/lang/yap/pkg-plist
+++ b/lang/yap/pkg-plist
@@ -81,11 +81,15 @@ share/Yap/chr.yap
share/Yap/cleanup.yap
share/Yap/clpbn/aggregates.yap
share/Yap/clpbn/bnt.yap
+share/Yap/clpbn/discrete_utils.yap
share/Yap/clpbn/evidence.yap
+share/Yap/clpbn/gibbs.yap
share/Yap/clpbn/graphs.yap
share/Yap/clpbn/graphviz.yap
+share/Yap/clpbn/topsort.yap
share/Yap/clpbn/utils.yap
share/Yap/clpbn/vel.yap
+share/Yap/clpbn/viterbi.yap
share/Yap/clpbn/xbif.yap
share/Yap/clpbn.yap
share/Yap/clpq/arith_q.yap
@@ -236,6 +240,7 @@ share/Yap/timeout.yap
share/Yap/trees.yap
share/Yap/tries.yap
share/Yap/ugraphs.yap
+share/Yap/ypp.yap
@dirrm share/Yap/pl
@dirrm share/Yap/logtalk
@dirrm share/Yap/clpr