summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-09-02 05:33:32 +0000
committerobache <obache@pkgsrc.org>2008-09-02 05:33:32 +0000
commit6795d0511f25fbf8ce2f147d1a0ce140057aeea0 (patch)
tree79470ab0d40f1787874c9630f2cdb03e430ee925 /math
parent13d5eec1a9155dbe5100f22e53e789e8cd3e8338 (diff)
downloadpkgsrc-6795d0511f25fbf8ce2f147d1a0ce140057aeea0.tar.gz
Update xeukleides to 1.0.1.
Pkgsrc changes: * Update MASTER_SITES (Thanks for Zafer Aydogan) and HOMEPAGE. * Honer PKGMANDIR * add DESTDIR support NEWS in 1.0.1 * `disc' point shape. * Makefile improvement.
Diffstat (limited to 'math')
-rw-r--r--math/xeukleides/Makefile18
-rw-r--r--math/xeukleides/PLIST4
-rw-r--r--math/xeukleides/distinfo10
-rw-r--r--math/xeukleides/patches/patch-aa45
4 files changed, 39 insertions, 38 deletions
diff --git a/math/xeukleides/Makefile b/math/xeukleides/Makefile
index 9440fd63696..3bc0525f3fc 100644
--- a/math/xeukleides/Makefile
+++ b/math/xeukleides/Makefile
@@ -1,21 +1,23 @@
-# $NetBSD: Makefile,v 1.17 2007/12/02 08:32:24 rillig Exp $
+# $NetBSD: Makefile,v 1.18 2008/09/02 05:33:32 obache Exp $
-DISTNAME= xeukleides.1.0.0
-PKGNAME= xeukleides-1.0.0
-PKGREVISION= 1
+DISTNAME= xeukleides.1.0.1
+PKGNAME= xeukleides-1.0.1
CATEGORIES= math
-MASTER_SITES= http://perso.orange.fr/obrecht/download/
+MASTER_SITES= http://www.eukleides.org/download/
MAINTAINER= tsadowski@gmx.net
-HOMEPAGE= http://perso.orange.fr/obrecht/
+HOMEPAGE= http://www.eukleides.or/
COMMENT= X-Frontend for A Euclidean geometry drawing language
-BUILD_DEPENDS+= bison>=1.35:../../devel/bison
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= eukleides>=1.0.1:../../math/eukleides
USE_X11BASE= yes
BUILD_TARGET= xeukleides
-USE_TOOLS+= gmake flex
+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/xeukleides/PLIST b/math/xeukleides/PLIST
index 073e6048c0f..67a5c62eb74 100644
--- a/math/xeukleides/PLIST
+++ b/math/xeukleides/PLIST
@@ -1,3 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2004/12/31 13:13:32 kristerw Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/09/02 05:33:32 obache Exp $
bin/xeukleides
-man/man1/xeukleides.1x
+man/man1/xeukleides.1
diff --git a/math/xeukleides/distinfo b/math/xeukleides/distinfo
index cf3cbe723e9..44cdc6edb92 100644
--- a/math/xeukleides/distinfo
+++ b/math/xeukleides/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 12:06:58 agc Exp $
+$NetBSD: distinfo,v 1.4 2008/09/02 05:33:32 obache Exp $
-SHA1 (xeukleides.1.0.0.tar.gz) = 744bf22f2b10931dfa815fc99791d117455d4c32
-RMD160 (xeukleides.1.0.0.tar.gz) = f5861e64c48769714dce0f9b3433a42d95b0d7e6
-Size (xeukleides.1.0.0.tar.gz) = 55079 bytes
-SHA1 (patch-aa) = 3093874cd631424197b94e507648f987183fd2f7
+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/xeukleides/patches/patch-aa b/math/xeukleides/patches/patch-aa
index 6756e35e7be..b3bf7c6a73e 100644
--- a/math/xeukleides/patches/patch-aa
+++ b/math/xeukleides/patches/patch-aa
@@ -1,31 +1,30 @@
-$NetBSD: patch-aa,v 1.2 2004/12/31 13:13:32 kristerw Exp $
+$NetBSD: patch-aa,v 1.3 2008/09/02 05:33:32 obache Exp $
---- Makefile.orig Wed May 12 21:20:31 2004
-+++ Makefile Fri Dec 31 14:06:58 2004
-@@ -6,10 +6,9 @@
- OBJECTS = lex.yy.o parser.tab.o main.o geometry.o drawing.o
- LEX = flex
- YACC = bison -d
--PREFIX = /usr/local/
--BIN = $(PREFIX)bin/
--MAN = $(PREFIX)man/man1/
--INFO = $(PREFIX)info/
-+BIN = $(PREFIX)/bin/
-+MAN = $(PREFIX)/man/man1/
-+INFO = $(PREFIX)/info/
+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
-
-@@ -40,11 +39,9 @@
+@@ -43,12 +43,9 @@ dvi : eukleides.texi
book : dvi
dvips -f eukleides.dvi > eukleides.ps
--install : xeukleides man info
-+install : xeukleides man
- strip xeukleides ; \
- cp -f xeukleides $(BIN)xeukleides ; \
-- install-info eukleides.info $(INFO)dir ; \
-- cp -f eukleides.info $(INFO)eukleides.info
+-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 $(BIN)xeukleides ; \
+ rm -f $(BINDIR)/$(BIN) ; \