Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2024 17:10:31 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 852bbf63ecb5 - main - science/voro++: Move man pages to share/man
Message-ID:  <202403211710.42LHAVmN033874@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=852bbf63ecb5e50b1e2fb10e5741e2aa145ea36a

commit 852bbf63ecb5e50b1e2fb10e5741e2aa145ea36a
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-21 15:59:49 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-21 17:10:16 +0000

    science/voro++: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 science/voro++/Makefile             |  2 +-
 science/voro++/files/patch-Makefile | 11 +++++------
 science/voro++/pkg-plist            |  2 +-
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/science/voro++/Makefile b/science/voro++/Makefile
index 28a07062895e..5289bef5fb7a 100644
--- a/science/voro++/Makefile
+++ b/science/voro++/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	voro++
 DISTVERSION=	0.4.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	science
 MASTER_SITES=	http://math.lbl.gov/voro++/download/dir/
 
diff --git a/science/voro++/files/patch-Makefile b/science/voro++/files/patch-Makefile
index 0a2ea370d078..39fe7a3d47f2 100644
--- a/science/voro++/files/patch-Makefile
+++ b/science/voro++/files/patch-Makefile
@@ -1,6 +1,6 @@
 --- Makefile.orig	2013-10-17 17:54:13 UTC
 +++ Makefile
-@@ -12,7 +12,7 @@ include config.mk
+@@ -12,7 +12,7 @@ all:
  # Build all of the executable files
  all:
  	$(MAKE) -C src
@@ -9,7 +9,7 @@
  
  # Build the help files (with Doxygen)
  help:
-@@ -26,47 +26,48 @@ clean:
+@@ -26,47 +26,47 @@ install:
  # Install the executable, man page, and shared library
  install:
  	$(MAKE) -C src
@@ -38,12 +38,11 @@
 -	$(INSTALL) $(IFLAGS) src/worklist.hh $(PREFIX)/include/voro++
 +	$(INSTALL) -d $(IFLAGS_EXEC) $(DESTDIR)$(PREFIX)/bin
 +	$(INSTALL) -d $(IFLAGS_EXEC) $(DESTDIR)$(PREFIX)/lib
-+	$(INSTALL) -d $(IFLAGS_EXEC) $(DESTDIR)$(PREFIX)/man
-+	$(INSTALL) -d $(IFLAGS_EXEC) $(DESTDIR)$(PREFIX)/man/man1
++	$(INSTALL) -d $(IFLAGS_EXEC) $(DESTDIR)$(PREFIX)/share/man/man1
 +	$(INSTALL) -d $(IFLAGS_EXEC) $(DESTDIR)$(PREFIX)/include
 +	$(INSTALL) -d $(IFLAGS_EXEC) $(DESTDIR)$(PREFIX)/include/voro++
 +	$(INSTALL) $(IFLAGS_EXEC) src/voro++ $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) $(IFLAGS) man/voro++.1 $(DESTDIR)$(PREFIX)/man/man1
++	$(INSTALL) $(IFLAGS) man/voro++.1 $(DESTDIR)$(PREFIX)/share/man/man1
 +	$(INSTALL) $(IFLAGS) src/libvoro++.a $(DESTDIR)$(PREFIX)/lib
 +	$(INSTALL) $(IFLAGS) src/libvoro++.so $(DESTDIR)$(PREFIX)/lib
 +	$(INSTALL) $(IFLAGS) src/voro++.hh $(DESTDIR)$(PREFIX)/include/voro++
@@ -82,7 +81,7 @@
 -	rm -f $(PREFIX)/include/voro++/worklist.hh
 -	rmdir $(PREFIX)/include/voro++
 +	rm -f $(DESTDIR)$(PREFIX)/bin/voro++
-+	rm -f $(DESTDIR)$(PREFIX)/man/man1/voro++.1
++	rm -f $(DESTDIR)$(PREFIX)/share/man/man1/voro++.1
 +	rm -f $(DESTDIR)$(PREFIX)/lib/libvoro++.a
 +	rm -f $(DESTDIR)$(PREFIX)/include/voro++/voro++.hh
 +	rm -f $(DESTDIR)$(PREFIX)/include/voro++/c_loops.hh
diff --git a/science/voro++/pkg-plist b/science/voro++/pkg-plist
index ba46c2c064c4..36ea4fda0422 100644
--- a/science/voro++/pkg-plist
+++ b/science/voro++/pkg-plist
@@ -15,4 +15,4 @@ include/voro++/wall.hh
 include/voro++/worklist.hh
 lib/libvoro++.a
 lib/libvoro++.so
-man/man1/voro++.1.gz
+share/man/man1/voro++.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403211710.42LHAVmN033874>