git: 5ddc18a827cf - main - net/shadowsocks-libev: Moved man to share/man

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

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

commit 5ddc18a827cfe7949dbd25d3937420c3772de5dc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-25 10:11:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-25 10:31:38 +0000

    net/shadowsocks-libev: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 net/shadowsocks-libev/Makefile  |  3 ++-
 net/shadowsocks-libev/pkg-plist | 14 +++++++-------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/net/shadowsocks-libev/Makefile b/net/shadowsocks-libev/Makefile
index 59d8e8c3a89c..8a98b8120877 100644
--- a/net/shadowsocks-libev/Makefile
+++ b/net/shadowsocks-libev/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	shadowsocks-libev
 DISTVERSIONPREFIX=	v
 DISTVERSION=	3.3.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 
 MAINTAINER=	xiaoding+freebsd@xiaoding.org
@@ -19,6 +19,7 @@ LIB_DEPENDS=	libev.so:devel/libev \
 
 USES=		autoreconf compiler:c11 gmake libtool:keepla pathfix
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--enable-shared
 USE_GITHUB=	yes
 GH_ACCOUNT=	shadowsocks
diff --git a/net/shadowsocks-libev/pkg-plist b/net/shadowsocks-libev/pkg-plist
index e9ac227649ae..a58cbbc555a8 100644
--- a/net/shadowsocks-libev/pkg-plist
+++ b/net/shadowsocks-libev/pkg-plist
@@ -19,13 +19,13 @@ libdata/pkgconfig/shadowsocks-libev.pc
 %%ZSH%%share/zsh/site-functions/_ss-redir
 %%ZSH%%share/zsh/site-functions/_ss-server
 %%ZSH%%share/zsh/site-functions/_ss-tunnel
-%%DOCS%%man/man1/ss-local.1.gz
-%%DOCS%%man/man1/ss-manager.1.gz
-%%DOCS%%man/man1/ss-nat.1.gz
-%%DOCS%%man/man1/ss-redir.1.gz
-%%DOCS%%man/man1/ss-server.1.gz
-%%DOCS%%man/man1/ss-tunnel.1.gz
-%%DOCS%%man/man8/shadowsocks-libev.8.gz
+%%DOCS%%share/man/man1/ss-local.1.gz
+%%DOCS%%share/man/man1/ss-manager.1.gz
+%%DOCS%%share/man/man1/ss-nat.1.gz
+%%DOCS%%share/man/man1/ss-redir.1.gz
+%%DOCS%%share/man/man1/ss-server.1.gz
+%%DOCS%%share/man/man1/ss-tunnel.1.gz
+%%DOCS%%share/man/man8/shadowsocks-libev.8.gz
 %%DOCS%%%%DOCSDIR%%/shadowsocks-libev.html
 %%DOCS%%%%DOCSDIR%%/ss-local.html
 %%DOCS%%%%DOCSDIR%%/ss-manager.html