git: 44344211395b - main - cad/irsim: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 22 Feb 2024 13:24:21 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=44344211395b0c7e3238a5648596ab4932b6c38c

commit 44344211395b0c7e3238a5648596ab4932b6c38c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-22 13:10:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-22 13:23:53 +0000

    cad/irsim: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 cad/irsim/Makefile                        |  2 ++
 cad/irsim/files/patch-scripts_defs.mak.in | 11 -----------
 cad/irsim/pkg-plist                       |  6 +++---
 3 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/cad/irsim/Makefile b/cad/irsim/Makefile
index 5be9c07d5907..65aa6614e37e 100644
--- a/cad/irsim/Makefile
+++ b/cad/irsim/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	irsim
 DISTVERSION=	9.7.116
+PORTREVISION=	1
 CATEGORIES=	cad
 MASTER_SITES=	http://opencircuitdesign.com/irsim/archive/
 
@@ -26,6 +27,7 @@ CONFIGURE_WRKSRC=	${WRKSRC}/scripts
 
 USE_XORG=	x11
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
diff --git a/cad/irsim/files/patch-scripts_defs.mak.in b/cad/irsim/files/patch-scripts_defs.mak.in
deleted file mode 100644
index 9772f4050f13..000000000000
--- a/cad/irsim/files/patch-scripts_defs.mak.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- scripts/defs.mak.in.orig	2020-03-25 00:46:24 UTC
-+++ scripts/defs.mak.in
-@@ -38,7 +38,7 @@ TCLDIR                 = ${libdir}/irsim/tcl
- XBMDIR                 = ${libdir}/irsim/tcl/bitmaps
- 
- INSTALL_BINDIR         = @DIST_DIR@/bin
--INSTALL_MANDIR         = @DIST_DIR@/share/man
-+INSTALL_MANDIR         = @DIST_DIR@/man
- INSTALL_LIBDIR         = @DIST_DIR@/lib
- INSTALL_DOCDIR         = ${INSTALL_LIBDIR}/irsim/doc
- INSTALL_SYSDIR         = ${INSTALL_LIBDIR}/irsim/sys
diff --git a/cad/irsim/pkg-plist b/cad/irsim/pkg-plist
index 757be9b5a4e0..d96c257eb8b5 100644
--- a/cad/irsim/pkg-plist
+++ b/cad/irsim/pkg-plist
@@ -37,6 +37,6 @@ lib/irsim/prm/tsmc35p.20.n98tp.3.3.prm
 %%TCL%%lib/irsim/tcl/tclirsim.so
 %%TCL%%lib/irsim/tcl/tkcon.tcl
 %%TCL%%lib/irsim/tcl/vcd.tcl
-man/man1/irsim.1.gz
-man/man3/irsim-analyzer.3.gz
-man/man5/netchange.5.gz
+share/man/man1/irsim.1.gz
+share/man/man3/irsim-analyzer.3.gz
+share/man/man5/netchange.5.gz