summaryrefslogtreecommitdiff
path: root/math/abs
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2003-02-17 00:32:48 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2003-02-17 00:32:48 +0000
commit425a3c6f9713cc9ec1eb8cedc11827e7f40d53ee (patch)
tree6de3a4f1bee9efbf3a6870fc68ad2417e1d54f47 /math/abs
parentUpdate to 1.3.2. Note, galeon2 now requires mozilla-devel-gtk2. You (diff)
update to abs-0908
PR: 48337 Submitted by: Gianmarco Giovannelli <gmarco@giovannelli.it>
Notes
Notes: svn path=/head/; revision=75674
Diffstat (limited to 'math/abs')
-rw-r--r--math/abs/Makefile7
-rw-r--r--math/abs/distinfo2
-rw-r--r--math/abs/files/patch-aa22
-rw-r--r--math/abs/files/patch-ad6
-rw-r--r--math/abs/files/patch-ae6
-rw-r--r--math/abs/pkg-descr2
6 files changed, 25 insertions, 20 deletions
diff --git a/math/abs/Makefile b/math/abs/Makefile
index a6018e965aaf..8bc1d8ac05b5 100644
--- a/math/abs/Makefile
+++ b/math/abs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= abs
-PORTVERSION= 0.8
+PORTVERSION= 0908
CATEGORIES= math
MASTER_SITES= http://www.ping.be/bertin/ \
http://www.giovannelli.it/~gmarco/files/
@@ -16,9 +16,12 @@ MAINTAINER= gmarco@giovannelli.it
USE_XLIB= yes
USE_XPM= yes
+USE_REINPLACE= yes
+WRKSRC= ${WRKDIR}/abs-src-0.908
post-patch:
- @${PERL} -pi -e 's,strcasestr,strcasestr_,' ${WRKSRC}/Database/cell.c
+ @${REINPLACE_CMD} -e 's/trcasestr/strcasestr_/g' < ${WRKSRC}/Database/cell.c >${WRKSRC}/Database/cell.c.new
+ @${MV} ${WRKSRC}/Database/cell.c.new ${WRKSRC}/Database/cell.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/abs ${PREFIX}/bin
diff --git a/math/abs/distinfo b/math/abs/distinfo
index a4e9c44cbafd..984b347ee6eb 100644
--- a/math/abs/distinfo
+++ b/math/abs/distinfo
@@ -1 +1 @@
-MD5 (abs-src-0.8.tar.gz) = 421faf4cc2f3a82907cfe012e35e3d37
+MD5 (abs-src-0908.tar.gz) = 5a57fe5fa0d7cfaff988ad28fefe13f7
diff --git a/math/abs/files/patch-aa b/math/abs/files/patch-aa
index c249b8625313..acecf1c110ea 100644
--- a/math/abs/files/patch-aa
+++ b/math/abs/files/patch-aa
@@ -1,14 +1,15 @@
---- Makefile.orig Thu Nov 16 04:59:20 2000
-+++ Makefile Fri Nov 17 03:29:05 2000
-@@ -1,28 +1,28 @@
+--- Makefile.orig Sun Nov 11 20:24:35 2001
++++ Makefile Sun Feb 9 17:46:02 2003
+@@ -1,29 +1,28 @@
CURRENT_DIR = .
--SUBDIRS = Xpm ABV X11 Kernel Plot Database Fig Interface X11/xedit SAMCEF
+-SUBDIRS = Xpm ABV X11 Kernel Plot Database Fig Interface X11/xedit
+SUBDIRS = ABV X11 Kernel Plot Database Fig Interface X11/xedit SAMCEF
- SUBDIRS2 = ABV X11 Kernel Plot Database Fig Interface
+-SUBDIRS2 = ABV X11 Kernel Plot Database Fig Interface
-MAKE = make
++SUBDIRS2 = ABV X11 Kernel Plot Database Fig Interface
+MAKE ?= make
#for linux and aix LIBS = -L /lib/X11 -L /usr/X11R6/lib -lXaw -lX11 -lm -lXt -lXmu -lXext
@@ -19,9 +20,10 @@
+LIBS = -L${X11BASE}/lib -lXaw -lX11 -lm -lXt -lXmu -lXext -lXpm
#for hp DEFINE = -D_HPUX_SOURCE
+-#for AIX DEFINE = -D_AIX_SOURCE
DEFINE =
--CFLAGS = -O2
+-CFLAGS = '-O2 -Wall '
+CFLAGS ?= -O2
#for hp IncludeDir = /usr/contrib/X11R6/include
@@ -30,23 +32,23 @@
+IncludeDir = ${X11BASE}/include
#for hp Ccompiler = c89
--Ccompiler = cc
+-Ccompiler = cc
+Ccompiler = ${CC}
all::
rm -f ./abs;\
-@@ -31,12 +31,12 @@
+@@ -32,12 +31,12 @@
if [ -d $$i ] ; \
then \
(cd $$i ; echo "making" all "in $(CURRENT_DIR)/$$i..."; \
-- $(MAKE) TOPCFLAGS=$(CFLAGS) IncludeDir=$(IncludeDir) Ccompiler=$(Ccompiler) DEFINE=$(DEFINE) all); \
+- $(MAKE) TOPCFLAGS=$(CFLAGS) IncludeDir=$(IncludeDir) Ccompiler=$(Ccompiler) DEFINE=$(DEFINE) ); \
+ $(MAKE) TOPCFLAGS="$(CFLAGS)" IncludeDir="$(IncludeDir)" Ccompiler="$(Ccompiler)" DEFINE="$(DEFINE)" all); \
fi \
done
- cc -o abs ./Plot/*.o ./ABV/*.o \
+ ${CC} -o abs ./Plot/*.o ./ABV/*.o \
Fig/*.o Interface/*.o X11/xedit/*.o \
-- ./Kernel/*.o ./X11/*.o ./Database/*.o ./Xpm/libxpm.a\
+- ./Kernel/*.o ./X11/*.o ./Database/*.o ./Xpm/libxpm.a \
+ ./Kernel/*.o ./X11/*.o ./Database/*.o\
$(LIBS) $(DEFINE)
diff --git a/math/abs/files/patch-ad b/math/abs/files/patch-ad
index 1c9cd4cb738e..5ff670f5d79c 100644
--- a/math/abs/files/patch-ad
+++ b/math/abs/files/patch-ad
@@ -1,6 +1,6 @@
---- X11/button.h.orig Thu Nov 16 06:10:42 2000
-+++ X11/button.h Fri Nov 17 03:19:31 2000
-@@ -28,7 +28,7 @@
+--- X11/button.h.orig Sun Nov 11 20:24:37 2001
++++ X11/button.h Sun Feb 9 15:05:21 2003
+@@ -52,7 +52,7 @@
#define WIDGET_BUTTON_H
#include "param.h"
diff --git a/math/abs/files/patch-ae b/math/abs/files/patch-ae
index 33cd135015c9..5d72111c4c70 100644
--- a/math/abs/files/patch-ae
+++ b/math/abs/files/patch-ae
@@ -1,6 +1,6 @@
---- X11/popnindex.h.orig Thu Nov 16 06:10:42 2000
-+++ X11/popnindex.h Fri Nov 17 03:20:13 2000
-@@ -29,7 +29,7 @@
+--- X11/popnindex.h.orig Sun Nov 11 20:24:37 2001
++++ X11/popnindex.h Sun Feb 9 15:05:54 2003
+@@ -53,7 +53,7 @@
#include <stdio.h>
#include "param.h"
diff --git a/math/abs/pkg-descr b/math/abs/pkg-descr
index 2f2dc555b652..40634cd63bdb 100644
--- a/math/abs/pkg-descr
+++ b/math/abs/pkg-descr
@@ -5,7 +5,7 @@ syntax as Microsoft Visual Basic.
Author : Andre.Bertin@ping.be
WWW: http://www.ping.be/bertin/abs.shtml
-Distfile: abs-src-0.8.tar.gz (287 kb)
+Distfile: abs-src-0.908.tar.gz (288 kb)
Ported to FreeBSD by:
- Gianmarco Giovannelli (gmarco@giovannelli.it)