Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2024 12:26:43 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a99ff672dbcf - main - graphics/xnview: Sanitize MANPREFIX
Message-ID:  <202401221226.40MCQhRv098149@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

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

    graphics/xnview: Sanitize MANPREFIX
    
    Contrary to others this has not been tested.
    
    Approved by:    portmgr (blanket)
---
 graphics/xnview/Makefile  | 4 ++--
 graphics/xnview/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile
index 6e6ffadf7b3a..9612a0ab89a9 100644
--- a/graphics/xnview/Makefile
+++ b/graphics/xnview/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xnview
 PORTVERSION=	1.70
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 MASTER_SITES=	http://download.xnview.com/
 DISTFILES=	XnView-x86-unknown-FreeBSD5.x-static.tgz
@@ -28,7 +28,7 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad \
 		${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XnView
 	cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC_NC} && \
 		${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt \
diff --git a/graphics/xnview/pkg-plist b/graphics/xnview/pkg-plist
index 9f25a8e8c14b..33b38ac0d304 100644
--- a/graphics/xnview/pkg-plist
+++ b/graphics/xnview/pkg-plist
@@ -2,8 +2,8 @@ bin/nconvert
 bin/nv
 bin/xnview
 lib/X11/app-defaults/XnView
-man/man1/nview.1.gz
-man/man1/xnview.1.gz
+share/man/man1/nview.1.gz
+share/man/man1/xnview.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/Formats.txt
 %%PORTDOCS%%%%DOCSDIR%%/ReadMe.txt
 %%PORTDOCS%%%%DOCSDIR%%/Usage.txt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401221226.40MCQhRv098149>