summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-12-07 18:13:51 +0000
committercjep <cjep@pkgsrc.org>2002-12-07 18:13:51 +0000
commit6df2bb115821e492643f508608a016e54217dac7 (patch)
tree39c4025884df425efccab352e62cddb4918d8386 /math
parent05397d454f75d9acb4e57a66f6afa8ef02552c68 (diff)
downloadpkgsrc-6df2bb115821e492643f508608a016e54217dac7.tar.gz
Initial import of xeukleides 0.9.0 into the NetBSD packages collection
as math/xeukleides. This is a graphical frontend for eukleides. Supplied by ich (tsadowski at gmx dot net) in PR#19091. Thanks!
Diffstat (limited to 'math')
-rw-r--r--math/xeukleides/DESCR1
-rw-r--r--math/xeukleides/Makefile23
-rw-r--r--math/xeukleides/PLIST3
-rw-r--r--math/xeukleides/distinfo5
-rw-r--r--math/xeukleides/patches/patch-aa47
5 files changed, 79 insertions, 0 deletions
diff --git a/math/xeukleides/DESCR b/math/xeukleides/DESCR
new file mode 100644
index 00000000000..6c65a7a97c7
--- /dev/null
+++ b/math/xeukleides/DESCR
@@ -0,0 +1 @@
+This is a graphical frontend for eukleides.
diff --git a/math/xeukleides/Makefile b/math/xeukleides/Makefile
new file mode 100644
index 00000000000..f0927309e8c
--- /dev/null
+++ b/math/xeukleides/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/07 18:13:51 cjep Exp $
+# FreeBSD Id: ports/math/eukleides/Makefile,v 1.1 2002/06/04 18:40:20 ijliao Exp
+
+DISTNAME= xeukleides.0.9.0
+PKGNAME= xeukleides-0.9.0
+CATEGORIES= math
+MASTER_SITES= http://perso.wanadoo.fr/obrecht/download/
+
+MAINTAINER= tsadowski@gmx.net
+HOMEPAGE= http://perso.wanadoo.fr/obrecht/
+COMMENT= X-Frontend for A Euclidean geometry drawing language
+
+BUILD_DEPENDS+= bison>=1.35:../../devel/bison
+DEPENDS+= eukleides>=0.9.0:../../math/eukleides
+
+USE_BUILDLINK2= yes
+USE_X11BASE= yes
+ALL_TARGET= xeukleides
+USE_GMAKE= yes
+
+.include "../../x11/gtk/buildlink2.mk"
+.include "../../mk/x11.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/xeukleides/PLIST b/math/xeukleides/PLIST
new file mode 100644
index 00000000000..216791a3a84
--- /dev/null
+++ b/math/xeukleides/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/07 18:13:51 cjep Exp $
+bin/xeukleides
+man/man1/xeukleides.1
diff --git a/math/xeukleides/distinfo b/math/xeukleides/distinfo
new file mode 100644
index 00000000000..ebe4e3ddb56
--- /dev/null
+++ b/math/xeukleides/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/07 18:13:51 cjep Exp $
+
+SHA1 (xeukleides.0.9.0.tar.gz) = 0f4e461d5cfa0ded42a3511dce85c4b6297e0039
+Size (xeukleides.0.9.0.tar.gz) = 47405 bytes
+SHA1 (patch-aa) = 4e3a90070c5f30d643255ca493fa4d3f5c32f87a
diff --git a/math/xeukleides/patches/patch-aa b/math/xeukleides/patches/patch-aa
new file mode 100644
index 00000000000..ba9051c96ea
--- /dev/null
+++ b/math/xeukleides/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/12/07 18:13:51 cjep Exp $
+
+--- Makefile.orig Mon Mar 11 14:41:21 2002
++++ Makefile
+@@ -2,13 +2,13 @@
+ # Copyright (c) Christian Obrecht 2000-2002
+
+ CC = gcc
+-CFLAGS = -c -O2 `gtk-config --cflags`
++CFLAGS += -c `gtk-config --cflags`
+ 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
+
+@@ -25,7 +25,7 @@
+ $(YACC) $<
+
+ man : xeukleides.man
+- cp -f $< $(MAN)xeukleides.1x
++ cp -f $< $(MAN)xeukleides.1
+
+ info : eukleides.texi
+ makeinfo $<
+@@ -42,14 +42,10 @@
+ install : xeukleides man info
+ strip xeukleides ; \
+ cp -f xeukleides $(BIN)xeukleides ; \
+- install-info eukleides.info $(INFO)dir ; \
+- cp -f eukleides.info $(INFO)eukleides.info
+
+ uninstall :
+ rm -f $(BIN)xeukleides ; \
+- rm -f $< $(MAN)xeukleides.1x ; \
+- rm -f eukleides.info $(INFO)eukleides.info ; \
+- install-info --delete eukleides.info $(INFO)dir ; \
++ rm -f $< $(MAN)xeukleides.1 ; \
+
+ clean :
+ rm -f lex.yy.c parser.tab.* *.o xeukleides $(DOC)