aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-04 02:05:34 +0800
committerarved <arved@FreeBSD.org>2003-01-04 02:05:34 +0800
commitc22b2a61d7eb0fe8997e1c4c1bd2fdf40331ec15 (patch)
tree81ff3bc379ba37ba71f24a9102a6485f61eabfe8
parent1d57901b507651fbfdacc7e877ee529aed86a572 (diff)
downloadfreebsd-ports-gnome-c22b2a61d7eb0fe8997e1c4c1bd2fdf40331ec15.tar.gz
freebsd-ports-gnome-c22b2a61d7eb0fe8997e1c4c1bd2fdf40331ec15.tar.zst
freebsd-ports-gnome-c22b2a61d7eb0fe8997e1c4c1bd2fdf40331ec15.zip
Update to 0.9.2.1
PR: 46308 Submitted by: KATO Tsuguru <tkato@prontomail.com>
-rw-r--r--math/eukleides/Makefile7
-rw-r--r--math/eukleides/distinfo2
-rw-r--r--math/eukleides/files/patch-Makefile52
3 files changed, 46 insertions, 15 deletions
diff --git a/math/eukleides/Makefile b/math/eukleides/Makefile
index 4e7dd0c444cb..24502ff7b95b 100644
--- a/math/eukleides/Makefile
+++ b/math/eukleides/Makefile
@@ -7,18 +7,19 @@
#
PORTNAME= eukleides
-PORTVERSION= 0.9.0
+PORTVERSION= 0.9.2.1
CATEGORIES= math
MASTER_SITES= http://perso.wanadoo.fr/obrecht/download/
-DISTNAME= ${PORTNAME}.${PORTVERSION}
+DISTNAME= ${PORTNAME}.${PORTVERSION:R}rev${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= pstoedit:${PORTSDIR}/graphics/pstoedit \
epstopdf:${PORTSDIR}/print/teTeX
+WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION:R}
+
USE_BISON= yes
-ALL_TARGET= ${PORTNAME}
USE_GMAKE= yes
MAN1= eukleides.1
diff --git a/math/eukleides/distinfo b/math/eukleides/distinfo
index 4eb2aba7a2bd..abf683a220cd 100644
--- a/math/eukleides/distinfo
+++ b/math/eukleides/distinfo
@@ -1 +1 @@
-MD5 (eukleides.0.9.0.tar.gz) = 7619d7bd3be453b6d7fed30b1f81bfa0
+MD5 (eukleides.0.9.2rev1.tar.gz) = 241018c6eabfcb653962eed750936d0e
diff --git a/math/eukleides/files/patch-Makefile b/math/eukleides/files/patch-Makefile
index 7bf3c1298744..ab2080b21f8b 100644
--- a/math/eukleides/files/patch-Makefile
+++ b/math/eukleides/files/patch-Makefile
@@ -1,22 +1,52 @@
---- Makefile.orig Wed Jun 5 01:38:47 2002
-+++ Makefile Wed Jun 5 01:41:39 2002
-@@ -1,14 +1,14 @@
- # Eukleides 0.9.0 makefile
+--- Makefile.orig Tue Nov 12 06:25:09 2002
++++ Makefile Sat Dec 14 08:42:59 2002
+@@ -1,18 +1,20 @@
+ # Eukleides 0.9.2 makefile
# Copyright (c) Christian Obrecht 2000-2002
-CC = gcc
-CFLAGS = -c -O2
-+#CC = gcc
++CC ?= gcc
+CFLAGS += -c
OBJECTS = lex.yy.o parser.tab.o main.o geometry.o drawing.o
LEX = flex
YACC = bison -d
--BIN = /usr/local/bin/
--MAN = /usr/man/man1/
--INFO = /usr/info/
-+BIN = ${PREFIX}/bin/
-+MAN = ${PREFIX}/man/man1/
-+INFO = ${PREFIX}/info/
+-PREFIX = /usr/local/
+-BIN = $(PREFIX)bin/
+-MAN = $(PREFIX)man/man1/
+-INFO = $(PREFIX)info/
++PREFIX ?= /usr/local/
++BIN = $(PREFIX)/bin/
++MAN = $(PREFIX)/man/man1/
++INFO = $(PREFIX)/info/
PAPER = --texinfo=@afourpaper
DOC = eukleides.info eukleides.dvi eukleides.ps
++all : eukleides info
++
+ eukleides : $(OBJECTS)
+ $(CC) -o $@ -lm $(OBJECTS)
+
+@@ -42,15 +44,13 @@
+ book : dvi
+ dvips -f eukleides.dvi > eukleides.ps
+
+-install : eukleides man info
+- strip eukleides ; \
+- cp -f eukleides $(BIN)eukleides ; \
+- chmod +x euk2eps ; \
+- cp -f euk2eps $(BIN)euk2eps ; \
+- chmod +x euk2edit ; \
+- cp -f euk2edit $(BIN)euk2edit ; \
+- install-info eukleides.info $(INFO)dir ; \
+- cp -f eukleides.info $(INFO)eukleides.info
++install : eukleides info
++ ${BSD_INSTALL_PROGRAM} eukleides $(BIN)eukleides
++ ${BSD_INSTALL_SCRIPT} euk2eps $(BIN)euk2eps
++ ${BSD_INSTALL_SCRIPT} euk2edit $(BIN)euk2edit
++ ${BSD_INSTALL_MAN} eukleides.man $(MAN)eukleides.1
++ ${BSD_INSTALL_DATA} eukleides.info $(INFO)eukleides.info
++ install-info eukleides.info $(INFO)dir
+
+ uninstall :
+ rm -f $(BIN)eukleides ; \