summaryrefslogtreecommitdiff
path: root/math/algae/patches
diff options
context:
space:
mode:
Diffstat (limited to 'math/algae/patches')
-rw-r--r--math/algae/patches/patch-ac19
-rw-r--r--math/algae/patches/patch-ae30
-rw-r--r--math/algae/patches/patch-af28
-rw-r--r--math/algae/patches/patch-ah15
4 files changed, 77 insertions, 15 deletions
diff --git a/math/algae/patches/patch-ac b/math/algae/patches/patch-ac
index f81bd141243..cb74f4cdd78 100644
--- a/math/algae/patches/patch-ac
+++ b/math/algae/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2003/04/29 22:15:28 jtb Exp $
+$NetBSD: patch-ac,v 1.3 2008/12/14 13:19:15 tnn Exp $
---- src/Makefile.in.orig
-+++ src/Makefile.in
+--- src/Makefile.in.orig 2003-12-07 00:39:57.000000000 +0300
++++ src/Makefile.in 2008-12-07 00:26:34.000000000 +0300
@@ -129,7 +129,7 @@
# <<<< This section is deleted in the "binary" distribution.
@@ -11,3 +11,16 @@ $NetBSD: patch-ac,v 1.2 2003/04/29 22:15:28 jtb Exp $
Makefile: Makefile.in ../config.status
cd ..; ./config.status
+@@ -218,9 +218,9 @@
+ # ========================== Installation ==========================
+
+ install: all
+- $(INSTALL_PROGRAM) algae $(bindir)/algae-$(VERSION_NUMBER)
+- rm -f $(bindir)/algae
+- ln -s $(bindir)/algae-$(VERSION_NUMBER) $(bindir)/algae
++ $(INSTALL_PROGRAM) algae $(DESTDIR)$(bindir)/algae-$(VERSION_NUMBER)
++ rm -f $(DESTDIR)$(bindir)/algae
++ ln -s $(bindir)/algae-$(VERSION_NUMBER) $(DESTDIR)$(bindir)/algae
+ .PHONY: install
+
+ uninstall:
diff --git a/math/algae/patches/patch-ae b/math/algae/patches/patch-ae
index 0b2170f063d..1d2e0d00661 100644
--- a/math/algae/patches/patch-ae
+++ b/math/algae/patches/patch-ae
@@ -1,8 +1,19 @@
-$NetBSD: patch-ae,v 1.4 2006/04/05 23:01:15 jlam Exp $
+$NetBSD: patch-ae,v 1.5 2008/12/14 13:19:15 tnn Exp $
---- Makefile.in.orig 2003-02-28 18:07:03.000000000 -0500
-+++ Makefile.in
-@@ -308,7 +308,7 @@ install: algae.A installdirs
+--- Makefile.in.orig 2003-12-07 00:39:23.000000000 +0300
++++ Makefile.in 2008-12-06 23:56:24.000000000 +0300
+@@ -294,15 +294,15 @@
+ # >>>> End of deleted section.
+
+ install: algae.A installdirs
+- $(INSTALL_DATA) algae.A $(RC0)
+- $(INSTALL_DATA) COPYING $(htmldir)
+- $(INSTALL_DATA) LICENSE $(htmldir)
++ $(INSTALL_DATA) algae.A $(DESTDIR)$(RC0)
++ $(INSTALL_DATA) COPYING $(DESTDIR)$(htmldir)
++ $(INSTALL_DATA) LICENSE $(DESTDIR)$(htmldir)
+ cd src; \
+ $(MAKE) bindir=$(bindir) install
cd tools; \
$(MAKE) tooldir=$(tooldir) install
cd doc; \
@@ -11,3 +22,14 @@ $NetBSD: patch-ae,v 1.4 2006/04/05 23:01:15 jlam Exp $
manext=$(manext) infodir=$(infodir) htmldir=$(htmldir) install
.PHONY: install
+@@ -310,8 +310,8 @@
+ # if necessary.
+
+ installdirs: mkinstalldirs
+- $(srcdir)/mkinstalldirs $(bindir) $(datadir) $(libdir) $(infodir) \
+- $(mandir) $(tooldir) $(rcdir) $(htmldir)
++ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) \
++ $(DESTDIR)$(mandir) $(DESTDIR)$(tooldir) $(DESTDIR)$(rcdir) $(DESTDIR)$(htmldir)
+ .PHONY: installdirs
+
+ # Why would anyone want to uninstall?
diff --git a/math/algae/patches/patch-af b/math/algae/patches/patch-af
index 11df729f09a..0eeca166388 100644
--- a/math/algae/patches/patch-af
+++ b/math/algae/patches/patch-af
@@ -1,13 +1,25 @@
-$NetBSD: patch-af,v 1.1 2003/04/29 22:15:28 jtb Exp $
+$NetBSD: patch-af,v 1.2 2008/12/14 13:19:15 tnn Exp $
---- doc/Makefile.in.orig
+--- doc/Makefile.in.orig 2001-10-31 20:43:44.000000000 +0100
+++ doc/Makefile.in
-@@ -181,6 +181,8 @@
+@@ -173,15 +173,16 @@ maintainer-clean::
+ install: algae.info algae.1 algae_toc.html index.html info.db
+ -if test -f algae.info; then d=.; else d=$(srcdir); fi; \
+ for f in $$d/algae.info $$d/algae.info-*; do \
+- $(INSTALL_DATA) $$f $(infodir); \
++ $(INSTALL_DATA) $$f $(DESTDIR)$(infodir); \
+ done; \
+ if $(SHELL) -c 'install-info --version' > /dev/null 2>&1; then \
+ install-info --info-dir=$(infodir) $$d/algae.info; else true; fi
+ -if test -f algae_toc.html; then d=.; else d=$(srcdir); fi; \
for f in $$d/index.html $$d/algae*.html $$d/icon.gif $$d/info.db; do \
- $(INSTALL_DATA) $$f $(htmldir); done
- -rm -f $(datadir)/algae/html; ln -s $(htmldir) $(datadir)/algae/html
-+ -mkdir -p $(prefix)/share/doc/algae
-+ -$(INSTALL_DATA) algae.ps $(prefix)/share/doc/algae
- -$(INSTALL_DATA) algae.1 $(mandir)/algae.$(manext)
+- $(INSTALL_DATA) $$f $(htmldir); done
+- -rm -f $(datadir)/algae/html; ln -s $(htmldir) $(datadir)/algae/html
+- -$(INSTALL_DATA) algae.1 $(mandir)/algae.$(manext)
++ $(INSTALL_DATA) $$f $(DESTDIR)$(htmldir); done
++ -mkdir -p $(DESTDIR)$(prefix)/share/doc/algae
++ -$(INSTALL_DATA) algae.ps $(DESTDIR)$(prefix)/share/doc/algae
++ -$(INSTALL_DATA) algae.1 $(DESTDIR)$(mandir)/algae.$(manext)
uninstall:
+ rm -f $(infodir)/algae.info* $(mandir)/algae.$(manext) \
diff --git a/math/algae/patches/patch-ah b/math/algae/patches/patch-ah
new file mode 100644
index 00000000000..0130542c652
--- /dev/null
+++ b/math/algae/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2008/12/14 13:19:15 tnn Exp $
+
+--- tools/Makefile.in.orig 2002-08-01 22:41:06.000000000 +0400
++++ tools/Makefile.in 2008-12-06 23:58:25.000000000 +0300
+@@ -47,8 +47,8 @@
+ # ========================== Installation =========================
+
+ install: tools.algae
+- for f in *.A; do $(INSTALL_DATA) $$f $(tooldir); done
+- $(INSTALL_DATA) tools.algae $(tooldir)
++ for f in *.A; do $(INSTALL_DATA) $$f $(DESTDIR)$(tooldir); done
++ $(INSTALL_DATA) tools.algae $(DESTDIR)$(tooldir)
+ .PHONY: install
+
+ uninstall: