git: 4d22e2e44159 - main - www/sws: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 14:33:13 UTC
The branch main has been updated by bofh:

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

commit 4d22e2e441593f7c9bab30483cf954c7eb42be8a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 14:09:26 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 14:31:38 +0000

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

diff --git a/www/sws/Makefile b/www/sws/Makefile
index 740e9af68558..cd25f845ba1d 100644
--- a/www/sws/Makefile
+++ b/www/sws/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sws
 PORTVERSION=	1.0
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://prd4.wynn.com:8080/src/
 
diff --git a/www/sws/files/patch-Makefile b/www/sws/files/patch-Makefile
index fe1a7de880ef..ffcf6be54094 100644
--- a/www/sws/files/patch-Makefile
+++ b/www/sws/files/patch-Makefile
@@ -1,9 +1,14 @@
 --- Makefile.orig	2015-02-15 23:56:31 UTC
 +++ Makefile
-@@ -16,6 +16,3 @@ install:
- 	cp sws.8.txt  ${DST}/man/man8/sws.8
+@@ -13,9 +13,6 @@ install:
+ 	chmod 775 ${DST}/sws/docs
+ 	chmod 644  ${DST}/etc/sws.cfg
+ 	cp sws.txt ${DST}/bin/sws
+-	cp sws.8.txt  ${DST}/man/man8/sws.8
++	cp sws.8.txt  ${DST}/share/man/man8/sws.8
  	chmod 755 ${DST}/bin/sws
- 	chmod 644 ${DST}/man/man8/sws.8
+-	chmod 644 ${DST}/man/man8/sws.8
 -	chown root:wheel  ${DST}/bin/sws ${DST}/man/man8/sws.8
 -	chown www:www  ${DST}/sws/docs 
 -	chown www:www  ${DST}/etc/sws.cfg
++	chmod 644 ${DST}/share/man/man8/sws.8
diff --git a/www/sws/pkg-plist b/www/sws/pkg-plist
index 8beaa3bddcf8..00009a750e86 100644
--- a/www/sws/pkg-plist
+++ b/www/sws/pkg-plist
@@ -1,4 +1,4 @@
 bin/sws
 %%ETCDIR%%.cfg
-man/man8/sws.8.gz
+share/man/man8/sws.8.gz
 @dir sws/docs