summaryrefslogtreecommitdiff
path: root/math/xeukleides10
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-06-10 12:27:05 +0000
committerryoon <ryoon@pkgsrc.org>2013-06-10 12:27:05 +0000
commit35dbcbc06b7b1f08ac9739979a92af2be6a64831 (patch)
tree0bde537649547fa8b590f2ec9c6d81e56c00cdce /math/xeukleides10
parent8177449b5f101985f65ab79ab9adf7cc7a17f5cf (diff)
downloadpkgsrc-35dbcbc06b7b1f08ac9739979a92af2be6a64831.tar.gz
Import xeukleides-1.0.1nb1 as math/xeukleides10.
This is a graphical frontend for eukleides legacy version.
Diffstat (limited to 'math/xeukleides10')
-rw-r--r--math/xeukleides10/DESCR1
-rw-r--r--math/xeukleides10/Makefile24
-rw-r--r--math/xeukleides10/PLIST3
-rw-r--r--math/xeukleides10/distinfo6
-rw-r--r--math/xeukleides10/patches/patch-aa30
5 files changed, 64 insertions, 0 deletions
diff --git a/math/xeukleides10/DESCR b/math/xeukleides10/DESCR
new file mode 100644
index 00000000000..d93ae675289
--- /dev/null
+++ b/math/xeukleides10/DESCR
@@ -0,0 +1 @@
+This is a graphical frontend for eukleides legacy version.
diff --git a/math/xeukleides10/Makefile b/math/xeukleides10/Makefile
new file mode 100644
index 00000000000..9935d093c0f
--- /dev/null
+++ b/math/xeukleides10/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2013/06/10 12:27:05 ryoon Exp $
+
+DISTNAME= xeukleides.1.0.1
+PKGNAME= xeukleides-1.0.1
+PKGREVISION= 1
+CATEGORIES= math
+MASTER_SITES= http://www.eukleides.org/download/
+
+MAINTAINER= tsadowski@gmx.net
+HOMEPAGE= http://www.eukleides.or/
+COMMENT= X-Frontend for A Euclidean geometry drawing language
+
+MAKE_JOBS_SAFE= no
+
+DEPENDS+= eukleides>=1.0.1:../../math/eukleides
+
+USE_X11BASE= yes
+BUILD_TARGET= xeukleides
+USE_TOOLS+= gmake flex bison
+
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+
+.include "../../x11/gtk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/xeukleides10/PLIST b/math/xeukleides10/PLIST
new file mode 100644
index 00000000000..56444ae7efe
--- /dev/null
+++ b/math/xeukleides10/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/06/10 12:27:05 ryoon Exp $
+bin/xeukleides
+man/man1/xeukleides.1
diff --git a/math/xeukleides10/distinfo b/math/xeukleides10/distinfo
new file mode 100644
index 00000000000..2f8b7e4789b
--- /dev/null
+++ b/math/xeukleides10/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/06/10 12:27:05 ryoon Exp $
+
+SHA1 (xeukleides.1.0.1.tar.gz) = 330979e593c5b1e8a2c3391751fe1a52af6762e5
+RMD160 (xeukleides.1.0.1.tar.gz) = 338beacb97247360165dd5806f6544198c31b8ef
+Size (xeukleides.1.0.1.tar.gz) = 54985 bytes
+SHA1 (patch-aa) = 8edbb83e9ab948d443cf50fe5be4d883ffbf9f50
diff --git a/math/xeukleides10/patches/patch-aa b/math/xeukleides10/patches/patch-aa
new file mode 100644
index 00000000000..680674b1b15
--- /dev/null
+++ b/math/xeukleides10/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1 2013/06/10 12:27:05 ryoon Exp $
+
+eukleides.info is already installed with eukleides package
+
+--- Makefile.orig 2005-05-27 15:08:29.000000000 +0000
++++ Makefile
+@@ -10,7 +10,7 @@ YACC = bison -d
+ include Config
+
+ BINDIR = $(PREFIX)/bin
+-MANDIR = $(PREFIX)/man/man1
++MANDIR = $(PREFIX)/${PKGMANDIR}/man1
+ INFODIR = $(PREFIX)/info
+ PAPER = --texinfo=@afourpaper
+ DOC = eukleides.info eukleides.dvi eukleides.ps
+@@ -43,12 +43,9 @@ dvi : eukleides.texi
+ book : dvi
+ dvips -f eukleides.dvi > eukleides.ps
+
+-install : $(BIN) man info
++install : $(BIN) man
+ install -d $(BINDIR) ; \
+- install -s $(BIN) $(BINDIR) ; \
+- install -d $(INFODIR) ; \
+- install-info eukleides.info $(INFODIR)/dir ; \
+- install -m 0644 eukleides.info $(INFODIR)
++ install -s $(BIN) $(BINDIR)
+
+ uninstall :
+ rm -f $(BINDIR)/$(BIN) ; \