git: a84e5242a3b4 - main - www/surf: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 22 Jan 2024 12:26:46 UTC
The branch main has been updated by bofh:

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

commit a84e5242a3b449e4595e9836e74ba6808667c890
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 12:24:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 12:26:18 +0000

    www/surf: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 www/surf/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/surf/Makefile b/www/surf/Makefile
index 5983665f39cd..c673c51a098f 100644
--- a/www/surf/Makefile
+++ b/www/surf/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	surf
 DISTVERSION=	2.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 MASTER_SITES=	http://dl.suckless.org/${PORTNAME}/
 PKGNAMESUFFIX=	-browser
@@ -31,7 +31,7 @@ DESKTOP_ENTRIES="Surf" "" "${PREFIX}/share/pixmaps/surf.png" "surf" "" true
 
 PLIST_FILES=	bin/surf \
 		lib/surf/webext-surf.so \
-		man/man1/surf.1.gz \
+		share/man/man1/surf.1.gz \
 		share/pixmaps/surf.png
 
 PORTDOCS=	README TODO.md
@@ -53,7 +53,6 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^PREFIX/s| =| ?=| ; \
-		/^MANPREFIX/s|/share/man|/man| ; \
 		/^X11/s|/usr/X11R6/|$${LOCALBASE}/| ; \
 		/^GTKINC/s| =| ?=| ; \
 		/^GTKLIB/s| =| ?=| ; \