Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  3 Jul 2000 10:28:49 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/19677: Update port: lang/forth to 0.29.1
Message-ID:  <20000703172849.CFC3A37BA77@hub.freebsd.org>

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

>Number:         19677
>Category:       ports
>Synopsis:       Update port: lang/forth to 0.29.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 03 10:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.0-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.29.1
- Add WWW: line into pkg/DESCR

New file:
patches/patch-ae

Remove file:
patches/patch-ac  patches/patch-ad  files/makefile

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/lang/forth/Makefile lang/forth/Makefile
--- /usr/ports/lang/forth/Makefile	Wed Apr 12 21:24:13 2000
+++ lang/forth/Makefile	Tue Jul  4 00:24:18 2000
@@ -6,20 +6,27 @@
 #
 
 PORTNAME=	pfe
-PORTVERSION=	0.9.14
+PORTVERSION=	0.29.1
 CATEGORIES=	lang
-MASTER_SITES=	ftp://ftp.taygeta.com/pub/Forth/Compilers/native/unix/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports@FreeBSD.org
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
-HAS_CONFIGURE=	yes
-CONFIGURE_SCRIPT=	config.sh
-CONFIGURE_ARGS=	${OPSYS}
+
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_LIBTOOL=	yes
+CONFIGURE_ARGS=	--disable-float
+
 MAN1=		pfe.1
 
 post-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/pfe ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/../doc/pfe.1 ${PREFIX}/man/man1/pfe.1
+	${INSTALL_MAN} ${WRKSRC}/../doc/pfe.1 ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/pfe
+	${INSTALL_DATA} ${WRKSRC}/../doc/*.html ${PREFIX}/share/doc/pfe
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/lang/forth/files/makefile lang/forth/files/makefile
--- /usr/ports/lang/forth/files/makefile	Sun Jan 10 23:01:45 1999
+++ lang/forth/files/makefile	Thu Jan  1 09:00:00 1970
@@ -1,106 +0,0 @@
-#
-# makefile ---	makefile for portable Forth environment.
-#		This file was generated automatically
-#		  Tue Nov 22 23:03:46 MET 1994
-#		on machine
-#		  FreeBSD rz-wb.fh-sw.de 2.1.0-Development FreeBSD 2.1.0-Development #5: Mon Nov 21 19:43:07 MET 1994     root@rz-wb.fh-sw.de:/public/FreeBSD/src/sys/compile/rzwb  i386
-#		by script
-#		  ./config
-#
-
-# FreeBSD version.
-SYSTEM	= FreeBSD
-CC	= gcc -pipe -Wall
-OPTS	= -D_BSD -DUSE_TERMCAP
-OPTIM	= -DUSE_REGS
-DEBUG	= -g
-STRIP	= -s
-LFLAGS	= -static
-LIBS	= -ltermcap
-TERM_O	= termcap.o
-SYS_O	= unix.o
-PREFIX?= /usr/local
-PFELIB	= $(PREFIX)/lib/pfe
-PFEHLP	= $(PFELIB)/help
-
-
-# if you want a final optimized version uncomment these lines:
- CFLAGS +=	$(OPTS) $(OPTIM) -D$(SYSTEM) -DPREFIX=\"$(PREFIX)\"
- LDFLAGS =	$(OPTS) $(STRIP) $(LFLAGS)
-
-# if you want a version for C-level debugging uncomment these lines:
-# CFLAGS =	$(OPTS) $(DEBUG) -D$(SYSTEM) -DPREFIX=\"$(PREFIX)\"
-# LDFLAGS =	$(OPTS) $(DEBUG) $(LFLAGS)
-
-
-#==============================================================================
-# dependencies
-#==============================================================================
-
-# object files that should be clean ANSI-C:
-ANSOBJ =	core.o block.o double.o xception.o facility.o file.o \
-		floating.o locals.o memory.o toolkit.o search.o string.o \
-		forth-83.o lpf83.o misc.o showhelp.o debug.o dblsub.o \
-		support.o dictnry.o vocs.o lined.o term.o version.o
-
-# object files containing environmental dependencies:
-ENVOBJ =	main.o $(TERM_O) 4ed.o signals.o sysdep.o $(SYS_O) shell.o \
-		yours.o
-
-OBJECTS =	$(ANSOBJ) $(ENVOBJ)
-
-HEADERS =	forth.h config.h virtual.h options.h const.h types.h macros.h \
-		support.h preload.h compiler.h dblsub.h term.h help.h lined.h
-
-
-all:		pfe helpidx showhelp
-
-
-pfe:		$(OBJECTS)
-		$(CC) $(LDFLAGS) -o pfe $(OBJECTS) $(LIBS) -lm
-		rm version.o
-
-$(OBJECTS):	$(HEADERS)
-
-.c.s:
-		$(CC) $(CFLAGS) -S $<
-
-
-clean:
-		rm -rf	pfe helpidx showhelp core \
-			*.core *.o *.s *.bak *~ '#'*'#'
-
-new:		clean all
-
-veryclean:	clean
-		rm -f config.* makefile*
-
-testit:		pfe
-		( cd ..; src/pfe testsuite; cd src )
-
-
-# Rules for the standalone help programs:
-
-helpidx:	helpidx.o helpsub.o
-		$(CC) $(LDFLAGS) -o helpidx helpidx.o helpsub.o
-
-showhelp:	showhlps.o helpsub.o
-		$(CC) $(LDFLAGS) -o showhelp showhlps.o helpsub.o
-
-showhlps.o:	showhelp.c $(HEADERS)
-		$(CC) $(CFLAGS) -DSTANDALONE -c showhelp.c -o showhlps.o
-
-helpidx.o:	helpidx.c $(HEADERS)
-		$(CC) $(CFLAGS) -DSTANDALONE -c helpidx.c -o helpidx.o
-
-helpsub.o:	helpsub.c $(HEADERS)
-		$(CC) $(CFLAGS) -DSTANDALONE -c helpsub.c -o helpsub.o
-
-install:	all
-		cp pfe $(PREFIX)/bin/pfe;\
-		if [ ! -d $(PFELIB) ]; then mkdir $(PFELIB); fi	;\
-		if [ ! -d $(PFEHLP) ]; then mkdir $(PFEHLP); fi	;\
-		cp -p helpidx showhelp ../help/*.hlp $(PFEHLP)	;\
-		cd $(PFEHLP)					;\
-		./helpidx -o $(PFEHLP)/index *.hlp
-
diff -urN /usr/ports/lang/forth/files/md5 lang/forth/files/md5
--- /usr/ports/lang/forth/files/md5	Mon Oct 11 08:51:46 1999
+++ lang/forth/files/md5	Mon Jul  3 23:28:44 2000
@@ -1 +1 @@
-MD5 (pfe-0.9.14.tar.gz) = cda67e5547f69e8a7ae572475a95acfe
+MD5 (pfe-0.29.1.tar.bz2) = d76d0481fc5eca52f9c55f9387908363
diff -urN /usr/ports/lang/forth/patches/patch-ac lang/forth/patches/patch-ac
--- /usr/ports/lang/forth/patches/patch-ac	Mon Oct 11 08:51:48 1999
+++ lang/forth/patches/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,27 +0,0 @@
---- config/FreeBSD/options.mk.orig	Wed Nov  1 01:38:00 1995
-+++ config/FreeBSD/options.mk	Sat Sep 25 12:05:24 1999
-@@ -5,19 +5,19 @@
- # My FreeBSD came with gcc-2.4.5 which dies in floating.c when register
- # variables are enabled. Comment out -DUSE_REGS if you use this compiler.
- 
--PREFIX	= /usr/local
--PFELIB	= $(PREFIX)/lib/pfe
-+PREFIX	?= /usr/local
-+PFELIB	= $(PREFIX)/share/pfe
- PFEHLP	= $(PFELIB)/help
- 
- SYSTEM	= FreeBSD
- 
--CC	= gcc -m486 -pipe -Wall
-+CC	?= gcc -m486 -pipe -Wall
- 
- # comment out -DUNROLL_NEXT when you run it on a Pentium
--OPTIM	= -O2 -fomit-frame-pointer -DUSE_REGS -DUNROLL_NEXT
-+#OPTIM	= -O2 -fomit-frame-pointer -DUSE_REGS -DUNROLL_NEXT
- 
- # specifying -ansi -pedantic disables global register variables
--DEBUG	= -g -O -ansi -pedantic
-+#DEBUG	= -g -O -ansi -pedantic
- 
- CL	= $(CC)
- CPP	= $(CC) -E
diff -urN /usr/ports/lang/forth/patches/patch-ad lang/forth/patches/patch-ad
--- /usr/ports/lang/forth/patches/patch-ad	Mon Oct 11 08:51:48 1999
+++ lang/forth/patches/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- config/default/depend.mk.orig	Tue Apr 25 02:21:52 1995
-+++ config/default/depend.mk	Tue Sep 28 07:19:06 1999
-@@ -5,8 +5,8 @@
- DEFINES =	$(d)PREFIX=$(PREFIX) $(d)PFELIB=$(PFELIB) $(d)PFEHLP=$(PFEHLP)
- 
- # if you want a final optimized version uncomment these lines:
--CFLAGS =	$(OPTIONS) $(OPTIM) $(DEFINES)
--LDFLAGS =	$(STRIP) $(LFLAGS)
-+CFLAGS +=	$(OPTIONS) $(OPTIM) $(DEFINES)
-+LDFLAGS +=	$(STRIP) $(LFLAGS)
- 
- # if you want a version for C-level debugging uncomment these lines:
- #CFLAGS =	$(OPTIONS) $(DEBUG) $(DEFINES)
diff -urN /usr/ports/lang/forth/patches/patch-ae lang/forth/patches/patch-ae
--- /usr/ports/lang/forth/patches/patch-ae	Thu Jan  1 09:00:00 1970
+++ lang/forth/patches/patch-ae	Sat Apr 29 05:48:27 2000
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Fri Apr 28 02:54:55 2000
++++ Makefile.in	Sat Apr 29 05:48:14 2000
+@@ -61,7 +61,7 @@
+ MV = @MV@
+ NM = @NM@
+ OBJDUMP = @OBJDUMP@
+-OPTIM = @OPTIM@
++OPTIM = @CFLAGS@
+ RANLIB = @RANLIB@
+ RM = @RM@
+ TERMLIB = @TERMLIB@
diff -urN /usr/ports/lang/forth/pkg/DESCR lang/forth/pkg/DESCR
--- /usr/ports/lang/forth/pkg/DESCR	Thu Jun 11 11:39:02 1998
+++ lang/forth/pkg/DESCR	Tue Jul  4 00:21:50 2000
@@ -5,3 +5,5 @@
 Standard for the programming language Forth. I implemented every word
 of every word set mentioned in the dpANS-6 document of june 1993.
 Additionally it is compatible to Forth-83.
+
+WWW: http://pfe.sourceforge.net/
diff -urN /usr/ports/lang/forth/pkg/PLIST lang/forth/pkg/PLIST
--- /usr/ports/lang/forth/pkg/PLIST	Fri Jun  9 21:10:57 2000
+++ lang/forth/pkg/PLIST	Tue Jul  4 00:34:54 2000
@@ -1,9 +1,54 @@
 bin/pfe
-share/pfe/help/dpans.hlp
-share/pfe/help/forth-83.hlp
-share/pfe/help/helpidx
-share/pfe/help/index
-share/pfe/help/misc.hlp
-share/pfe/help/showhelp
-@dirrm share/pfe/help
-@dirrm share/pfe
+lib/pfe/p4ed.so
+share/doc/pfe/doc-talk.html
+share/doc/pfe/index-each.html
+share/doc/pfe/index-symbols.html
+share/doc/pfe/index-words.html
+share/doc/pfe/index-wordsets.html
+share/doc/pfe/index.html
+share/doc/pfe/src-block.html
+share/doc/pfe/src-core.html
+share/doc/pfe/src-debug.html
+share/doc/pfe/src-double.html
+share/doc/pfe/src-facility.html
+share/doc/pfe/src-file.html
+share/doc/pfe/src-floating.html
+share/doc/pfe/src-forth-83.html
+share/doc/pfe/src-locals.html
+share/doc/pfe/src-lpf83.html
+share/doc/pfe/src-memory.html
+share/doc/pfe/src-misc.html
+share/doc/pfe/src-p4ed.html
+share/doc/pfe/src-search.html
+share/doc/pfe/src-shell.html
+share/doc/pfe/src-signals.html
+share/doc/pfe/src-string.html
+share/doc/pfe/src-term.html
+share/doc/pfe/src-toolkit.html
+share/doc/pfe/src-unix.html
+share/doc/pfe/src-xception.html
+share/doc/pfe/src-yours.html
+share/doc/pfe/wordset-block.html
+share/doc/pfe/wordset-core.html
+share/doc/pfe/wordset-debug.html
+share/doc/pfe/wordset-double.html
+share/doc/pfe/wordset-exception.html
+share/doc/pfe/wordset-facility.html
+share/doc/pfe/wordset-file.html
+share/doc/pfe/wordset-floating.html
+share/doc/pfe/wordset-forth_83.html
+share/doc/pfe/wordset-locals.html
+share/doc/pfe/wordset-lpf83.html
+share/doc/pfe/wordset-memory.html
+share/doc/pfe/wordset-misc.html
+share/doc/pfe/wordset-p4ed.html
+share/doc/pfe/wordset-search.html
+share/doc/pfe/wordset-shell.html
+share/doc/pfe/wordset-signals.html
+share/doc/pfe/wordset-string.html
+share/doc/pfe/wordset-system.html
+share/doc/pfe/wordset-term.html
+share/doc/pfe/wordset-toolkit.html
+share/doc/pfe/wordset-your.html
+@dirrm share/doc/pfe
+@dirrm lib/pfe


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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