Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 09:50:01 +0200
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11110: Ugrade port: math/abs
Message-ID:  <4.1.19990413094321.0095d6c0@194.184.65.4>

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

>Number:         11110
>Category:       ports
>Synopsis:       Upgrade port: math/abs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 00:50:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Gianmarco Giovannelli
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
< Private >
>Environment:

FreeBSD 4.0-current and 3.1-stable

>Description:

Abs is a free spreadsheet with graphical user interface.
It has a programming language with the same 
syntax as Microsoft Visual Basic. 

>How-To-Repeat:

>Fix:

Two shar file sent : Complete and diff from previous sources

## Complete shar file : #######################

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	abs
#	abs/files
#	abs/files/md5
#	abs/pkg
#	abs/pkg/COMMENT
#	abs/pkg/DESCR
#	abs/pkg/PLIST
#	abs/patches
#	abs/patches/patch-aa
#	abs/patches/patch-ab
#	abs/Makefile
#
echo c - abs
mkdir -p abs > /dev/null 2>&1
echo c - abs/files
mkdir -p abs/files > /dev/null 2>&1
echo x - abs/files/md5
sed 's/^X//' >abs/files/md5 << 'END-of-abs/files/md5'
XMD5 (abs-src-0.6a.tar.gz) = 3c391e2ea78ac66e78a5153ca94e7234
END-of-abs/files/md5
echo c - abs/pkg
mkdir -p abs/pkg > /dev/null 2>&1
echo x - abs/pkg/COMMENT
sed 's/^X//' >abs/pkg/COMMENT << 'END-of-abs/pkg/COMMENT'
XA free spreadsheet with graphical user interface.
END-of-abs/pkg/COMMENT
echo x - abs/pkg/DESCR
sed 's/^X//' >abs/pkg/DESCR << 'END-of-abs/pkg/DESCR'
XAbs is a free spreadsheet with graphical user interface.
XIt has a programming language with the same 
Xsyntax as Microsoft Visual Basic. 
X
X
XAuthor : Andre.Bertin@ping.be
XHome Page: http://www.ping.be/bertin/abs.shtml
XDistfile:  abs-src-0.6a.tar.gz (270 kb)	
X
XPorted to FreeBSD by:
X- Gianmarco Giovannelli (gmarco@giovannelli.it)
END-of-abs/pkg/DESCR
echo x - abs/pkg/PLIST
sed 's/^X//' >abs/pkg/PLIST << 'END-of-abs/pkg/PLIST'
Xbin/abs
END-of-abs/pkg/PLIST
echo c - abs/patches
mkdir -p abs/patches > /dev/null 2>&1
echo x - abs/patches/patch-aa
sed 's/^X//' >abs/patches/patch-aa << 'END-of-abs/patches/patch-aa'
X--- Makefile.orig	Sun Apr 11 09:16:58 1999
X+++ Makefile	Sun Apr 11 09:26:28 1999
X@@ -5,7 +5,7 @@
X ### C Compiler
X CC		= cc -c 
X /*CC		= cc -c -Aa -D_HPUX_SOURCE*/
X-CFLAGS		= -I./pixmaps -I./Xpm -I./TextField-1.0 -I/usr/contrib/X11R6/include
X+CFLAGS		= -I./pixmaps -I./Xpm -I./TextField-1.0 -I/usr/X11R6/include
X 
X ### Fortran Compiler
X FC		= xlf 
X@@ -199,7 +199,7 @@
X ### Program Libraries #
X #######################
X 
X-LIBS		= -L /usr/lib  -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt
-lXmu -lXext -L./Xpm -lxpm ./TextField-1.0/*.o
X+LIBS		= -L /usr/lib -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
-L./Xpm -lXpm ./TextField-1.0/*.o
X 
X 
X SUBDIRS		= 	cd Xpm; make; cd ../TextField-1.0; make; cd ..
END-of-abs/patches/patch-aa
echo x - abs/patches/patch-ab
sed 's/^X//' >abs/patches/patch-ab << 'END-of-abs/patches/patch-ab'
X--- TextField-1.0/Makefile.orig	Sun Apr 11 09:23:53 1999
X+++ TextField-1.0/Makefile	Sun Apr 11 09:24:09 1999
X@@ -1,7 +1,7 @@
X # Makefile for widget demo programs
X 
X ATHENALIBS = -lXaw -lXmu -lXt -lX11 -lm
X-CFLAGS = $(DEFINES) $(CDEBUGFLAGS) -I/usr/contrib/X11R6/include 
X+CFLAGS = $(DEFINES) $(CDEBUGFLAGS) -I/usr/X11R6/include 
X CDEBUGFLAGS =
X DEFINES =
X RM = rm -f
END-of-abs/patches/patch-ab
echo x - abs/Makefile
sed 's/^X//' >abs/Makefile << 'END-of-abs/Makefile'
X# New ports collection makefile for:   abs
X# Version required:    0.5
X# Date created:        20 January 1999
X# Whom:                gmarco
X#
X# $Id: Makefile,v 1.2 1999/03/24 17:43:06 steve Exp $
X#
X
XDISTNAME=	abs-src-0.6a
XPKGNAME=	abs-0.6
XCATEGORIES=	math
XMASTER_SITES=	http://www.ping.be/bertin/ \
X		http://www.giovannelli.it/~gmarco/files/
X
XMAINTAINER=	freebsd@scotty.masternet.it
X
XLIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
X
XUSE_XLIB=	yes
XWRKSRC=         ${WRKDIR}/abs-src-0.6a/src
XUSE_GMAKE=	yes
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin
X
Xpost-install:
X	@${ECHO} "For the changes from previous version 0.5"
X	@${ECHO} "you can read the NEWS file in ${WRKDIR}/abs-src-0.6a"
X	@${ECHO} ""
X	@${ECHO} "There are also some examples (not installed) in :"
X	@${ECHO} "${WRKDIR}/abs-src-0.6a/Examples"
X	@${ECHO} ""
X	@${ECHO} ""
X.include <bsd.port.mk>
END-of-abs/Makefile
exit



## Diff from 0.5 in the ports tree ##############



diff -ruN /usr/ports/math/abs/Makefile abs/Makefile
--- /usr/ports/math/abs/Makefile	Thu Mar 25 11:20:38 1999
+++ abs/Makefile	Sun Apr 11 10:06:23 1999
@@ -6,18 +6,29 @@
 # $Id: Makefile,v 1.2 1999/03/24 17:43:06 steve Exp $
 #
 
-DISTNAME=	abs-src-0.5
-PKGNAME=	abs-0.5
+DISTNAME=	abs-src-0.6a
+PKGNAME=	abs-0.6
 CATEGORIES=	math
-MASTER_SITES=	http://www.ping.be/bertin/
+MASTER_SITES=	http://www.ping.be/bertin/ \
+		http://www.giovannelli.it/~gmarco/files/
 
 MAINTAINER=	freebsd@scotty.masternet.it
 
 LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
 
 USE_XLIB=	yes
+WRKSRC=         ${WRKDIR}/abs-src-0.6a/src
+USE_GMAKE=	yes
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin
 
+post-install:
+	@${ECHO} "For the changes from previous version 0.5"
+	@${ECHO} "you can read the NEWS file in ${WRKDIR}/abs-src-0.6a"
+	@${ECHO} ""
+	@${ECHO} "There are also some examples (not installed) in :"
+	@${ECHO} "${WRKDIR}/abs-src-0.6a/Examples"
+	@${ECHO} ""
+	@${ECHO} ""
 .include <bsd.port.mk>
diff -ruN /usr/ports/math/abs/files/md5 abs/files/md5
--- /usr/ports/math/abs/files/md5	Tue Jan 26 04:43:37 1999
+++ abs/files/md5	Tue Apr 13 08:24:53 1999
@@ -1 +1 @@
-MD5 (abs-src-0.5.tar.gz) = ee3f6312009d76bac8fdb73c978511e8
+MD5 (abs-src-0.6a.tar.gz) = 3c391e2ea78ac66e78a5153ca94e7234
diff -ruN /usr/ports/math/abs/patches/patch-aa abs/patches/patch-aa
--- /usr/ports/math/abs/patches/patch-aa	Thu Mar 25 11:20:38 1999
+++ abs/patches/patch-aa	Sun Apr 11 09:47:22 1999
@@ -1,25 +1,20 @@
---- Makefile.orig	Sun Dec 20 11:56:29 1998
-+++ Makefile	Mon Mar 22 20:05:40 1999
-@@ -1,10 +1,11 @@
- CURRENT_DIR = 	.
+--- Makefile.orig	Sun Apr 11 09:16:58 1999
++++ Makefile	Sun Apr 11 09:26:28 1999
+@@ -5,7 +5,7 @@
+ ### C Compiler
+ CC		= cc -c 
+ /*CC		= cc -c -Aa -D_HPUX_SOURCE*/
+-CFLAGS		= -I./pixmaps -I./Xpm -I./TextField-1.0 -I/usr/contrib/X11R6/include
++CFLAGS		= -I./pixmaps -I./Xpm -I./TextField-1.0 -I/usr/X11R6/include
  
--SUBDIRS =	Xpm TextField-1.0
-+SUBDIRS =	TextField-1.0
+ ### Fortran Compiler
+ FC		= xlf 
+@@ -199,7 +199,7 @@
+ ### Program Libraries #
+ #######################
  
- MAKE =	make
+-LIBS		= -L /usr/lib  -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt
-lXmu -lXext -L./Xpm -lxpm ./TextField-1.0/*.o
++LIBS		= -L /usr/lib -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
-L./Xpm -lXpm ./TextField-1.0/*.o
  
--LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext 
-+CFLAGS+=-I$(X11BASE)/include
-+LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext -lXpm
  
- SRCS 	=	\
- 	applic.c \
-@@ -105,7 +106,7 @@
- 	$(MAKE) all); \
- 	fi \
- 	done
--	cc -o abs ./TextField-1.0/*.o $(OBJS) ./Xpm/libxpm.a $(LIBS) 
-+	$(CC) $(CFLAGS) -o abs ./TextField-1.0/*.o $(OBJS) $(LIBS) 
- 
- clean::
- 	rm -f *.o */*.o */*.a
+ SUBDIRS		= 	cd Xpm; make; cd ../TextField-1.0; make; cd ..
diff -ruN /usr/ports/math/abs/patches/patch-ab abs/patches/patch-ab
--- /usr/ports/math/abs/patches/patch-ab	Tue Jan 26 04:43:37 1999
+++ abs/patches/patch-ab	Sun Apr 11 09:47:30 1999
@@ -1,11 +1,11 @@
---- Xpm/Makefile.orig	Mon Jan 25 00:38:13 1999
-+++ Xpm/Makefile	Mon Jan 25 00:38:43 1999
-@@ -16,7 +16,7 @@
- #################################
- ### C Compiler
- CC		= cc 
--CFLAGS		=  -O
-+CFLAGS		+=  -O -I$(X11BASE)/include
+--- TextField-1.0/Makefile.orig	Sun Apr 11 09:23:53 1999
++++ TextField-1.0/Makefile	Sun Apr 11 09:24:09 1999
+@@ -1,7 +1,7 @@
+ # Makefile for widget demo programs
  
- ### C++ Compiler
- CCC		= xlC 
+ ATHENALIBS = -lXaw -lXmu -lXt -lX11 -lm
+-CFLAGS = $(DEFINES) $(CDEBUGFLAGS) -I/usr/contrib/X11R6/include 
++CFLAGS = $(DEFINES) $(CDEBUGFLAGS) -I/usr/X11R6/include 
+ CDEBUGFLAGS =
+ DEFINES =
+ RM = rm -f
diff -ruN /usr/ports/math/abs/patches/patch-ac abs/patches/patch-ac
--- /usr/ports/math/abs/patches/patch-ac	Tue Jan 26 04:43:37 1999
+++ abs/patches/patch-ac	Thu Jan  1 01:00:00 1970
@@ -1,14 +0,0 @@
---- TextField-1.0/Makefile.orig	Mon Jan 25 00:39:18 1999
-+++ TextField-1.0/Makefile	Mon Jan 25 00:40:01 1999
-@@ -1,9 +1,9 @@
- # Makefile for widget demo programs
- 
- ATHENALIBS = -lXaw -lXmu -lXt -lX11 -lm
--CFLAGS = $(DEFINES) $(CDEBUGFLAGS)
-+CFLAGS += $(DEFINES) $(CDEBUGFLAGS)
- CDEBUGFLAGS =
--DEFINES =
-+DEFINES = -I$(X11BASE)/include
- RM = rm -f
- 
- WIDGET = TextField
diff -ruN /usr/ports/math/abs/pkg/DESCR abs/pkg/DESCR
--- /usr/ports/math/abs/pkg/DESCR	Tue Jan 26 04:43:37 1999
+++ abs/pkg/DESCR	Sun Apr 11 10:04:02 1999
@@ -2,7 +2,10 @@
 It has a programming language with the same 
 syntax as Microsoft Visual Basic. 
 
-http://www.ping.be/bertin/abs.shtml
 
-- Gianmarco
-gmarco@giovannelli.it
+Author : Andre.Bertin@ping.be
+Home Page: http://www.ping.be/bertin/abs.shtml
+Distfile:  abs-src-0.6a.tar.gz (270 kb)	
+
+Ported to FreeBSD by:
+- Gianmarco Giovannelli (gmarco@giovannelli.it)


Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.giovannelli.it/~gmarco  
http://www2.masternet.it 




>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?4.1.19990413094321.0095d6c0>