aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-01-03 18:05:34 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-01-03 18:05:34 +0000
commit233b22273124eb3aa4b8aed2f4f0bd9d9f7afbaf (patch)
treed63adc27feeccf42580bbb5701a485beab46e7be /math
parent752a55f64435a39dedafc18ee52bf306a192ebed (diff)
downloadports-233b22273124eb3aa4b8aed2f4f0bd9d9f7afbaf.tar.gz
ports-233b22273124eb3aa4b8aed2f4f0bd9d9f7afbaf.zip
Notes
Diffstat (limited to 'math')
-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 ; \