ports/85881: Update port: lang/yap to 5.0.0

KATO Tsuguru tkato432 at yahoo.com
Thu Sep 8 17:10:21 UTC 2005


>Number:         85881
>Category:       ports
>Synopsis:       Update port: lang/yap to 5.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 08 17:10:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p12 i386
>Organization:
>Environment:
>Description:
- Update to version 5.0.0

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/lang/yap/Makefile lang/yap/Makefile
--- /usr/ports/lang/yap/Makefile	Thu Jul 21 00:44:18 2005
+++ lang/yap/Makefile	Sun Sep  4 02:03:39 2005
@@ -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 at FreeBSD.org
@@ -17,6 +18,7 @@
 
 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,10 +28,16 @@
 
 .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 -urN /usr/ports/lang/yap/distinfo lang/yap/distinfo
--- /usr/ports/lang/yap/distinfo	Thu Jul 21 00:44:18 2005
+++ lang/yap/distinfo	Sun Sep  4 01:43:41 2005
@@ -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 -urN /usr/ports/lang/yap/pkg-descr lang/yap/pkg-descr
--- /usr/ports/lang/yap/pkg-descr	Thu Feb 19 13:55:56 2004
+++ lang/yap/pkg-descr	Sun Sep  4 01:11:04 2005
@@ -4,4 +4,4 @@
 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 -urN /usr/ports/lang/yap/pkg-plist lang/yap/pkg-plist
--- /usr/ports/lang/yap/pkg-plist	Mon Apr 11 13:30:20 2005
+++ lang/yap/pkg-plist	Sun Sep  4 01:51:13 2005
@@ -81,11 +81,15 @@
 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/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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list