git: 996f30483464 - main - lang/newlisp: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 20:01:55 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=996f304834643c154390844c495b121728d77375

commit 996f304834643c154390844c495b121728d77375
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 19:01:32 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 20:01:29 +0000

    lang/newlisp: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/newlisp/Makefile                                | 2 +-
 lang/newlisp/files/patch-makefile__original__install | 8 ++------
 lang/newlisp/pkg-plist                               | 4 ++--
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/lang/newlisp/Makefile b/lang/newlisp/Makefile
index acc046b06fa1..8bbf350434c3 100644
--- a/lang/newlisp/Makefile
+++ b/lang/newlisp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	newlisp
 PORTVERSION=	10.7.5
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	lang
 MASTER_SITES=	http://www.newlisp.org/downloads/
 
diff --git a/lang/newlisp/files/patch-makefile__original__install b/lang/newlisp/files/patch-makefile__original__install
index 3c6d4f9bf7f7..073ce73234a4 100644
--- a/lang/newlisp/files/patch-makefile__original__install
+++ b/lang/newlisp/files/patch-makefile__original__install
@@ -1,6 +1,6 @@
 --- makefile_original_install.orig	2019-05-12 16:44:17 UTC
 +++ makefile_original_install
-@@ -6,10 +6,10 @@ VERSION=10.7.5
+@@ -6,7 +6,7 @@ VERSION=10.7.5
  # run in an environment, where NEWLISPDIR is predefined,
  # else NEWLISPDIR will be defined during newlisp startup
  # as /usr/share/newlisp which is hardcoded in newlisp.c
@@ -8,11 +8,7 @@
 +prefix=$(DESTDIR)$(PREFIX)
  datadir=$(prefix)/share
  bindir=$(prefix)/bin
--mandir=$(prefix)/share/man
-+mandir=$(prefix)/man
- 
- # this is the standard install in /usr/local/bin and /usr/local/share
- # which as to be done as 'root' with supersuser permissions
+ mandir=$(prefix)/share/man
 @@ -29,7 +29,7 @@ install:
  	-install -d $(datadir)/doc/newlisp
  	-rm $(bindir)/newlisp
diff --git a/lang/newlisp/pkg-plist b/lang/newlisp/pkg-plist
index 7ae86720b4f5..41f10281deaf 100644
--- a/lang/newlisp/pkg-plist
+++ b/lang/newlisp/pkg-plist
@@ -1,8 +1,6 @@
 bin/newlisp
 bin/newlisp-10.7.5
 bin/newlispdoc
-man/man1/newlisp.1.gz
-man/man1/newlispdoc.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/ANDROID.txt
 %%PORTDOCS%%%%DOCSDIR%%/Android.html
 %%PORTDOCS%%%%DOCSDIR%%/CHANGES
@@ -49,6 +47,8 @@ man/man1/newlispdoc.1.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload.html
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/win32demo.lsp
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/xmlrpc.cgi
+share/man/man1/newlisp.1.gz
+share/man/man1/newlispdoc.1.gz
 %%DATADIR%%/modules/canvas.lsp
 %%DATADIR%%/modules/cgi.lsp
 %%DATADIR%%/modules/crypto.lsp