summaryrefslogtreecommitdiff
path: root/math/algae/files/patch-Makefile.in
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-12-22 16:22:28 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-12-22 16:22:28 +0000
commit3f80fdea42527c395d6bc87286b866c83eebe874 (patch)
treee9f8cc238027fcf93c3338cf77f61f09531e928f /math/algae/files/patch-Makefile.in
parentRevert r337193, groff needs perl, makes a loop, is bad. (diff)
- USES=fortran (eliminate FORTRANLIBS, LDFLAGS and pre-configure).
- Remove some patches and post-patch. - Remove USE_AUTOTOOLS=autoconf and patch configure script directly. - Replace BROKEN with BROKEN_${ARCH}. - Staging (add DESTDIR support to the makefiles). - Make sure the port uses its own arpack, blas, lapack and superlu.
Diffstat (limited to 'math/algae/files/patch-Makefile.in')
-rw-r--r--math/algae/files/patch-Makefile.in30
1 files changed, 23 insertions, 7 deletions
diff --git a/math/algae/files/patch-Makefile.in b/math/algae/files/patch-Makefile.in
index e083595439b0..97d14af895aa 100644
--- a/math/algae/files/patch-Makefile.in
+++ b/math/algae/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig Sun May 18 17:22:07 2003
-+++ Makefile.in Sun May 18 17:23:00 2003
+--- Makefile.in.orig
++++ Makefile.in
@@ -78,12 +78,12 @@
libdir = $(prefix)/lib
@@ -112,23 +112,39 @@
clean mostlyclean distclean maintainer-clean::
rm -f a.out core conft* algae-*.tar algae-*.tar.gz
-@@ -297,12 +293,9 @@
- $(INSTALL_DATA) algae.A $(RC0)
- $(INSTALL_DATA) COPYING $(htmldir)
- $(INSTALL_DATA) LICENSE $(htmldir)
+@@ -294,15 +290,12 @@
+ # >>>> End of deleted section.
+
+ install: algae.A installdirs
+- $(INSTALL_DATA) algae.A $(RC0)
+- $(INSTALL_DATA) COPYING $(htmldir)
+- $(INSTALL_DATA) LICENSE $(htmldir)
- cd src; \
- $(MAKE) bindir=$(bindir) install
- cd tools; \
- $(MAKE) tooldir=$(tooldir) install
- cd doc; \
- $(MAKE) mandir=$(mandir) datadir=$(datadir) \
++ $(INSTALL_DATA) algae.A $(DESTDIR)$(RC0)
++ $(INSTALL_DATA) COPYING $(DESTDIR)$(htmldir)
++ $(INSTALL_DATA) LICENSE $(DESTDIR)$(htmldir)
+ $(MAKE) -C src bindir=$(bindir) install
+ $(MAKE) -C tools tooldir=$(tooldir) install
+ $(MAKE) -C doc mandir=$(mandir) datadir=$(datadir) \
manext=$(manext) infodir=$(infodir) htmldir=$(htmldir) install
.PHONY: install
-@@ -318,9 +311,9 @@
+@@ -310,17 +303,17 @@
+ # 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?
uninstall:
rm -f $(RC0)