summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorcjep <cjep>2002-12-07 17:59:25 +0000
committercjep <cjep>2002-12-07 17:59:25 +0000
commit7190e02df32769fb7c748d5b49a411da97f9a155 (patch)
treef472c316a5a79861f8e50c5a5807264640fd9f1b /math
parente672953a7b6e8522b5a6e884ddd80b087197cd89 (diff)
downloadpkgsrc-7190e02df32769fb7c748d5b49a411da97f9a155.tar.gz
Initial import of eukleides 0.9.0 into the NetBSD packages collection
as math/eukleides. A Euclidean drawing language compiler which allows one to typeset geometry figures within a (La)TeX document. This program is also useful to convert such figures into EPS format or into various other vector graphic formats. Supplied by ich (tsadowski at gmx dot net) in PR#19090. Thanks!
Diffstat (limited to 'math')
-rw-r--r--math/eukleides/DESCR4
-rw-r--r--math/eukleides/Makefile19
-rw-r--r--math/eukleides/PLIST10
-rw-r--r--math/eukleides/distinfo5
-rw-r--r--math/eukleides/patches/patch-aa24
5 files changed, 62 insertions, 0 deletions
diff --git a/math/eukleides/DESCR b/math/eukleides/DESCR
new file mode 100644
index 00000000000..617eeb090c8
--- /dev/null
+++ b/math/eukleides/DESCR
@@ -0,0 +1,4 @@
+A Euclidean drawing language compiler which allows one to typeset
+geometry figures within a (La)TeX document. This program is also useful
+to convert such figures into EPS format or into various other vector
+graphic formats.
diff --git a/math/eukleides/Makefile b/math/eukleides/Makefile
new file mode 100644
index 00000000000..3007a16a0e2
--- /dev/null
+++ b/math/eukleides/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/07 17:59:25 cjep Exp $
+# FreeBSD Id: ports/math/eukleides/Makefile,v 1.1 2002/06/04 18:40:20 ijliao Exp
+
+DISTNAME= eukleides.0.9.0
+PKGNAME= eukleides-0.9.0
+CATEGORIES= math
+MASTER_SITES= http://perso.wanadoo.fr/obrecht/download/
+
+MAINTAINER= tsadowski@gmx.net
+HOMEPAGE= http://perso.wanadoo.fr/obrecht/
+COMMENT= Euclidean geometry drawing language
+
+BUILD_DEPENDS+= bison>=1.35:../../devel/bison
+DEPENDS+= pstoedit>=3.31:../../graphics/pstoedit
+
+ALL_TARGET= eukleides
+USE_GMAKE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/eukleides/PLIST b/math/eukleides/PLIST
new file mode 100644
index 00000000000..dcb2452e78e
--- /dev/null
+++ b/math/eukleides/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/07 17:59:25 cjep Exp $
+bin/eukleides
+bin/euk2eps
+bin/euk2edit
+@unexec install-info --delete %D/info/eukleides.info %D/info/dir
+info/eukleides.info
+@exec install-info %D/info/eukleides.info %D/info/dir
+man/man1/euk2edit.1
+man/man1/euk2eps.1
+man/man1/eukleides.1
diff --git a/math/eukleides/distinfo b/math/eukleides/distinfo
new file mode 100644
index 00000000000..61689f87946
--- /dev/null
+++ b/math/eukleides/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/07 17:59:25 cjep Exp $
+
+SHA1 (eukleides.0.9.0.tar.gz) = e3fcd5972e29781a77c6dd9e6cefd60e0ec76c3c
+Size (eukleides.0.9.0.tar.gz) = 42752 bytes
+SHA1 (patch-aa) = 46e278b41142b244aad2686071b1f2a12e84e5a0
diff --git a/math/eukleides/patches/patch-aa b/math/eukleides/patches/patch-aa
new file mode 100644
index 00000000000..3b2d7998941
--- /dev/null
+++ b/math/eukleides/patches/patch-aa
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/07 17:59:25 cjep Exp $
+
+--- 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
+ # Copyright (c) Christian Obrecht 2000-2002
+
+-CC = gcc
+-CFLAGS = -c -O2
++#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/
+ PAPER = --texinfo=@afourpaper
+ DOC = eukleides.info eukleides.dvi eukleides.ps
+