summaryrefslogtreecommitdiff
path: root/math/algae
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2018-11-10 18:12:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2018-11-10 18:12:57 +0000
commit7990f810661ef0c3f4870afc67b1eb08684b8dc8 (patch)
treef40cba2ed30c79b84c1d56a779b7139f24d6c36f /math/algae
parentUpdate to 7.2.12 (diff)
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to ${PREFIX}/share/man for consistency with base where it is installed in usr/share/man, it appeared the same should happen to GNU info files which were installed under share in base and not in ports. Now texinfo is not in base on any of the supported version of FreeBSD it is possible to proceed to this move and it is easier to do than the manpage change. Other benefit than consistency are less patching: all build tools but cmake are expecting info files to be under share/info and cmake (patched here) was having an exception for BSD so the patch makes FreeBSD case less specific for them Bump revision of all impacted ports PR: 232907 exp-run by: antoine Differential Revision: https://reviews.freebsd.org/D17816
Notes
Notes: svn path=/head/; revision=484628
Diffstat (limited to 'math/algae')
-rw-r--r--math/algae/Makefile2
-rw-r--r--math/algae/files/patch-Makefile.in28
2 files changed, 12 insertions, 18 deletions
diff --git a/math/algae/Makefile b/math/algae/Makefile
index bafddedf1b4d..179a70f61af2 100644
--- a/math/algae/Makefile
+++ b/math/algae/Makefile
@@ -3,7 +3,7 @@
PORTNAME= algae
PORTVERSION= 4.3.6
-PORTREVISION= 14
+PORTREVISION= 15
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff --git a/math/algae/files/patch-Makefile.in b/math/algae/files/patch-Makefile.in
index 97d14af895aa..bbf7d884017a 100644
--- a/math/algae/files/patch-Makefile.in
+++ b/math/algae/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig
+--- Makefile.in.orig 2003-12-06 21:39:23 UTC
+++ Makefile.in
-@@ -78,12 +78,12 @@
+@@ -78,7 +78,7 @@ datadir = $(prefix)/share
libdir = $(prefix)/lib
# Directory in which to install the man page.
@@ -9,13 +9,7 @@
# The manpage extension
manext = 1
- # Directory in which to install the Info files.
--infodir = $(datadir)/info
-+infodir = $(prefix)/info
-
- # Directory in which to install the algae tools.
- tooldir = $(datadir)/algae/$(VERSION_NUMBER)/tools
-@@ -150,19 +150,19 @@
+@@ -150,19 +150,19 @@ configure: configure.in
# Compile the source code.
source: @BLAS@ @LAPACK@
@@ -40,7 +34,7 @@
.PHONY: xlapack
check: source
-@@ -180,13 +180,13 @@
+@@ -180,13 +180,13 @@ algae.A: rc0
# Run test cases.
check:
@@ -56,7 +50,7 @@
.PHONY: times
# <<<< This section is deleted in the "binary" distribution.
-@@ -194,11 +194,11 @@
+@@ -194,11 +194,11 @@ times:
# Make documentation.
info:
@@ -70,7 +64,7 @@
.PHONY: dvi
# ========================== Distribution =========================
-@@ -211,9 +211,7 @@
+@@ -211,9 +211,7 @@ dist: distdir
ln $$file $(distdir) > /dev/null 2>&1 || cp $$file $(distdir); \
done
for dir in $(SUBDIRS); do \
@@ -81,7 +75,7 @@
done
mv $(distdir) algae-$(VERSION_NUMBER)
tar chf algae-$(VERSION_NUMBER).tar algae-$(VERSION_NUMBER)
-@@ -230,9 +228,7 @@
+@@ -230,9 +228,7 @@ binaries: bindistdir
done
awk '/<<[<]</,/>>[>]>/ {next} {print}' Makefile > $(distdir)/Makefile
for dir in $(BINSUBDIRS); do \
@@ -92,7 +86,7 @@
done
mv $(distdir) algae-$(VERSION_NUMBER)
tar chf algae-$(VERSION_NUMBER)-@host@.tar algae-$(VERSION_NUMBER)
-@@ -249,8 +245,8 @@
+@@ -249,8 +245,8 @@ web:
for file in $(WEBDISTFILES); do \
ln $$file $(distdir) > /dev/null 2>&1 || cp $$file $(distdir); \
done
@@ -103,7 +97,7 @@
rm -rf $(distdir)
gzip algae-web-$(VERSION_NUMBER).tar
.PHONY: web
-@@ -278,7 +274,7 @@
+@@ -278,7 +274,7 @@ maintainer-clean::
@echo "it deletes files that may require special tools to rebuild."
clean mostlyclean distclean maintainer-clean::
@@ -112,7 +106,7 @@
clean mostlyclean distclean maintainer-clean::
rm -f a.out core conft* algae-*.tar algae-*.tar.gz
-@@ -294,15 +290,12 @@
+@@ -294,15 +290,12 @@ install: all
# >>>> End of deleted section.
install: algae.A installdirs
@@ -134,7 +128,7 @@
manext=$(manext) infodir=$(infodir) htmldir=$(htmldir) install
.PHONY: install
-@@ -310,17 +303,17 @@
+@@ -310,17 +303,17 @@ install: algae.A installdirs
# if necessary.
installdirs: mkinstalldirs