git: bb8a62873e6a - main - sysutils/di: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Feb 2024 17:20:05 UTC
The branch main has been updated by bofh:

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

commit bb8a62873e6a72e564befae82246a5c25d4dd79c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 16:22:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 17:18:55 +0000

    sysutils/di: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/di/Makefile             | 1 +
 sysutils/di/files/patch-Makefile | 9 ---------
 sysutils/di/pkg-plist            | 2 +-
 3 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/sysutils/di/Makefile b/sysutils/di/Makefile
index ae5e34be7848..db0facdf1281 100644
--- a/sysutils/di/Makefile
+++ b/sysutils/di/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	di
 PORTVERSION=	4.51
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/diskinfo-di
 
diff --git a/sysutils/di/files/patch-Makefile b/sysutils/di/files/patch-Makefile
index 9b8cb9ce3536..23c0584ae338 100644
--- a/sysutils/di/files/patch-Makefile
+++ b/sysutils/di/files/patch-Makefile
@@ -15,15 +15,6 @@
  INSTALL_BIN_DIR = $(INSTALL_DIR)/bin
  INST_LOCALEDIR = $(INSTALL_DIR)/share/locale
  TARGET = $(INSTALL_BIN_DIR)/$(PROG)$(EXE_EXT)
-@@ -58,7 +58,7 @@ INSTPERM = 4111   # install suid if your
- #
- # simple man page installation
- #
--DI_MANINSTDIR = $(INSTALL_DIR)/share/man
-+DI_MANINSTDIR = $(INSTALL_DIR)/man
- DI_MANDIR = $(DI_MANINSTDIR)/man1
- MAN_TARGET = $(PROG).1
- MANPERM = 644
 @@ -140,7 +140,7 @@ install-prog:
  	$(TEST) -d $(INSTALL_BIN_DIR) || $(MKDIR) $(INSTALL_BIN_DIR)
  	$(CP) -f ./$(FROMDIR)/$(PROG)$(EXE_EXT) $(TARGET)
diff --git a/sysutils/di/pkg-plist b/sysutils/di/pkg-plist
index 86382ec6da73..08ce6c248d35 100644
--- a/sysutils/di/pkg-plist
+++ b/sysutils/di/pkg-plist
@@ -1,6 +1,6 @@
 bin/di
 bin/mi
-man/man1/di.1.gz
+share/man/man1/di.1.gz
 %%NLS%%share/locale/de/LC_MESSAGES/di.mo
 %%NLS%%share/locale/en/LC_MESSAGES/di.mo
 %%NLS%%share/locale/es/LC_MESSAGES/di.mo