Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  9 Mar 2006 15:52:38 +0100 (CET)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94274: [maintainer] lang/yorick: update to version 2.1.01
Message-ID:  <20060309145238.20B96229F4@mud.stack.nl>
Resent-Message-ID: <200603091500.k29F0EiI028917@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94274
>Category:       ports
>Synopsis:       [maintainer] lang/yorick: update to version 2.1.01
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 09 15:00:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD mud.stack.nl 6.0-STABLE FreeBSD 6.0-STABLE #9: Wed Jan 11 14:40:03 CET 2006 johans@mud.stack.nl:/usr/obj/usr/src/sys/mud i386


	
>Description:
	
	Yorick 2.x is hosted at Sourceforge. Update all references.

>How-To-Repeat:
	
>Fix:

	

	Removed (obsolete and broken): pkg-install
	Introduced: files/patch-yorick_spawn.c

	Now installs INFO file even if NOPORTDOCS set (as other ports do)

diff -uNr yorick/Makefile yorick/Makefile
--- yorick/Makefile	Mon Dec  5 04:07:01 2005
+++ yorick/Makefile	Thu Mar  9 15:42:42 2006
@@ -6,10 +6,10 @@
 #
 
 PORTNAME=	yorick
-PORTVERSION=	1.6.02
+PORTVERSION=	2.1.01
 CATEGORIES=	lang math
-MASTER_SITES=	ftp://ftp-icf.llnl.gov/pub/Yorick/ \
-		http://www.maumae.net/yorick/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	johans@stack.nl
@@ -23,17 +23,15 @@
 INFO=		yorick
 
 PORTDOCS=	FILE_FORMATS README drat.doc graph.doc hex.doc \
-		library.doc math.doc refs.pdf refs.ps refs.tex std.doc \
-		yorick.pdf yorick.ps yorick.tex
+		library.doc math.doc refs.pdf refs.tex std.doc \
+		yorick.pdf yorick.tex
 
 do-configure:
 	@(cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} \
 		${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ysite config)
 
 post-build:
-.if !defined(NOPORTDOCS)
 	cd ${WRKSRC}/doc; make yorick.info
-.endif
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/emacs/yorick.el ${WRKSRC}/relocatable
@@ -52,9 +50,9 @@
 	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
 .endfor
 	@${LN} -sf ${DOCSDIR} ${PREFIX}/lib/${PORTNAME}/doc
+.endif
 	for f in ${WRKSRC}/doc/yorick.info*; do \
-	  ${INSTALL_DATA} $$f ${PREFIX}/info; \
+	  ${INSTALL_DATA} $$f ${PREFIX}/${INFO_PATH}; \
 	done
-.endif
 
 .include <bsd.port.mk>
diff -uNr yorick/distinfo yorick/distinfo
--- yorick/distinfo	Sun Jan 22 15:52:33 2006
+++ yorick/distinfo	Thu Mar  9 14:14:32 2006
@@ -1,3 +1,3 @@
-MD5 (yorick-1.6.02.tgz) = 9371c2a0d3ae11e9e8d75a8bf21210a7
-SHA256 (yorick-1.6.02.tgz) = 96a3d0f0b1c39483b7d464bee3f95bf66fd011fd1649de20dea41874ac7bf109
-SIZE (yorick-1.6.02.tgz) = 2234280
+MD5 (yorick-2.1.01.tgz) = 9d9e2a223bc03b420ccc4a00b5a7fc90
+SHA256 (yorick-2.1.01.tgz) = bbf2ff64aa3a58dababb47221e983ca5fca860b3df2f9da5e68a22c30de784b6
+SIZE (yorick-2.1.01.tgz) = 2009644
diff -uNr yorick/files/patch-yorick_Makefile yorick/files/patch-yorick_Makefile
--- yorick/files/patch-yorick_Makefile	Fri May 20 17:23:32 2005
+++ yorick/files/patch-yorick_Makefile	Thu Mar  9 14:59:59 2006
@@ -1,16 +1,16 @@
---- yorick/Makefile.orig	Sun May 15 11:30:16 2005
-+++ yorick/Makefile	Sun May 15 11:31:25 2005
-@@ -16,7 +16,8 @@ OBJS = opsv.o task.o yorick.o yinput.o p
+--- yorick/Makefile.orig	Mon Sep 19 00:04:08 2005
++++ yorick/Makefile	Thu Mar  9 14:59:53 2006
+@@ -15,7 +15,8 @@
    array.o range.o ops.o ops0.o ops1.o ops2.o ops3.o nonc.o debug.o \
-   std0.o std1.o std2.o ascio.o defmem.o yhash.o  yrdwr.o bcast.o \
-   binio.o binobj.o binstd.o cache.o convrt.o binpdb.o clog.o ystr.o \
--  graph.o graph0.o style.o list.o pathfun.o autold.o fortrn.o
-+  graph.o graph0.o style.o list.o pathfun.o autold.o fortrn.o \
+   std0.o std1.o std2.o ascio.o defmem.o yhash.o  yrdwr.o bcast.o binio.o \
+   binobj.o binstd.o cache.o convrt.o binpdb.o clog.o ystr.o graph.o \
+-  graph0.o style.o list.o pathfun.o autold.o funcdef.o spawn.o fortrn.o
++  graph0.o style.o list.o pathfun.o autold.o funcdef.o spawn.o fortrn.o \
 +  ywrap.o yinit.o
  
- PKG_CLEAN=libyor main.c prmtyp.h codger lib$(PKG_NAME).a $(PKG_EXENAME) yorapi*
+ PKG_CLEAN=libyor main.* prmtyp.h codger lib$(PKG_NAME).a $(PKG_EXENAME) yorapi*
  
-@@ -60,6 +61,7 @@ libyor: $(BUILTIN_PKGS)
+@@ -59,6 +60,7 @@
  	cd ../matrix; $(MAKE) "COPT=$(COPT)" oinsert
  	cd ../fft; $(MAKE) "COPT=$(COPT)" oinsert
  	touch $@
diff -uNr yorick/files/patch-yorick_spawn.c yorick/files/patch-yorick_spawn.c
--- yorick/files/patch-yorick_spawn.c	Thu Jan  1 01:00:00 1970
+++ yorick/files/patch-yorick_spawn.c	Thu Mar  9 15:02:30 2006
@@ -0,0 +1,10 @@
+--- yorick/spawn.c.orig	Thu Mar  9 15:02:01 2006
++++ yorick/spawn.c	Thu Mar  9 15:02:07 2006
+@@ -14,6 +14,7 @@
+ #include "yio.h"
+ 
+ #include <string.h>
++#include <unistd.h>
+ 
+ /* FIXME -- things not in any .h file */
+ extern void (*CleanUpForExit)(void);
diff -uNr yorick/pkg-descr yorick/pkg-descr
--- yorick/pkg-descr	Sat Feb  9 10:15:58 2002
+++ yorick/pkg-descr	Thu Mar  9 15:20:47 2006
@@ -16,4 +16,4 @@
 you can launch by typing M-x yorick in emacs, if you load
 .../share/yorick/yorick.el in your ~/.emacs file.
 
-WWW: ftp://ftp-icf.llnl.gov/pub/Yorick/doc/index.html
+WWW: http://yorick.sourceforge.net/
diff -uNr yorick/pkg-install yorick/pkg-install
--- yorick/pkg-install	Sat Feb  9 10:15:58 2002
+++ yorick/pkg-install	Thu Jan  1 01:00:00 1970
@@ -1,19 +0,0 @@
-#!/bin/sh
-if test "$2" = "POST-INSTALL"; then
-  YS=$PKG_PREFIX/share/yorick
-  YH=$PKG_PREFIX/lib/yorick
-  x=`grep "^Y_HOME = $YH" $YH/Maketmpl`
-  if test -z "$x"; then
-    YB=$PKG_PREFIX/lib/yorick/bin
-    ln -sf $YB/gist $PKG_PREFIX/bin/gist
-    ln -sf $YB/yorick $PKG_PREFIX/bin/yorick
-    s="s%^...set_site,.*%set_site, \"$YS\", \"$YH\"\\;%g"
-    sed -e "$s" $YB/paths.i >$YB/paths.tmp
-    mv -f $YB/paths.tmp $YB/paths.i
-    sed -e "s%^Y_SITE = .*%Y_SITE = $YS%g" $YH/Maketmpl >$YH/Maketmpl.tmp
-    rm -f $YH/Maketmpl
-    sed -e "s%^Y_HOME = .*%Y_HOME = $YH%g" $YH/Maketmpl.tmp >$YH/Maketmpl
-    rm -f $YH/Maketmpl.tmp
-  fi
-fi
-true
diff -uNr yorick/pkg-plist yorick/pkg-plist
--- yorick/pkg-plist	Sat May 21 04:03:45 2005
+++ yorick/pkg-plist	Thu Mar  9 15:28:44 2006
@@ -53,6 +53,7 @@
 lib/yorick/i/romberg.i
 lib/yorick/i/rkutta.i
 lib/yorick/i/rezone.i
+lib/yorick/i/regress.i
 lib/yorick/i/readn.i
 lib/yorick/i/rays.i
 lib/yorick/i/random.i
@@ -71,7 +72,6 @@
 lib/yorick/i/md5.i
 lib/yorick/i/make.i
 lib/yorick/i/legndr.i
-lib/yorick/i/legal.i
 lib/yorick/i/kepler.i
 lib/yorick/i/ieee.i
 lib/yorick/i/idlsave.i
@@ -153,7 +153,8 @@
 lib/yorick/Makeexe
 lib/yorick/Makepkg
 lib/yorick/Make.cfg
-lib/yorick/doc
+lib/yorick/LICENSE
+%%PORTDOCS%%lib/yorick/doc
 @dirrm lib/yorick/g
 @dirrm lib/yorick/i0
 @dirrm lib/yorick/i
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060309145238.20B96229F4>