git: e989f0fd5a95 - main - net/sl2tps: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 13:14:35 UTC
The branch main has been updated by naddy:

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

commit e989f0fd5a957646c01e202b31119ca571e08f46
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-14 13:08:41 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-14 13:08:41 +0000

    net/sl2tps: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 net/sl2tps/Makefile  | 5 +++--
 net/sl2tps/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/net/sl2tps/Makefile b/net/sl2tps/Makefile
index 95ecf95b89b2..00a4cda59c46 100644
--- a/net/sl2tps/Makefile
+++ b/net/sl2tps/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sl2tps
 PORTVERSION=	0.4.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 MASTER_SITES=	SF/libpdel/${PORTNAME}/${PORTVERSION}
 
@@ -19,6 +19,7 @@ post-patch:
 	@${REINPLACE_CMD} -e \
 		's|$${PREFIX}/include|$${LOCALBASE}/include|g ; \
 		 /-g/s|^CFLAGS|#CFLAGS|g ; \
-		 s|$${PREFIX}/lib|$${LOCALBASE}/lib|g' ${WRKSRC}/Makefile
+		 s|$${PREFIX}/lib|$${LOCALBASE}/lib|g ; \
+		 s|$${PREFIX}/man|$${PREFIX}/share/man|g' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>
diff --git a/net/sl2tps/pkg-plist b/net/sl2tps/pkg-plist
index b9a3c87ea221..3a571f5b2da4 100644
--- a/net/sl2tps/pkg-plist
+++ b/net/sl2tps/pkg-plist
@@ -1,3 +1,3 @@
 bin/sl2tps
 @sample %%ETCDIR%%/config.xml.sample
-man/man1/sl2tps.1.gz
+share/man/man1/sl2tps.1.gz