Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2024 13:52:19 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: 7a897277dd05 - main - textproc/2bsd-diff: Sanitize MANPREFIX
Message-ID:  <202401221352.40MDqJeO048614@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=7a897277dd0531bdeedbd3bd48e007daf5e7e8a1

commit 7a897277dd0531bdeedbd3bd48e007daf5e7e8a1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-22 13:00:39 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-22 13:52:01 +0000

    textproc/2bsd-diff: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 textproc/2bsd-diff/Makefile             | 4 ++--
 textproc/2bsd-diff/files/patch-Makefile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/textproc/2bsd-diff/Makefile b/textproc/2bsd-diff/Makefile
index 5ae4ba78c2ad..29a8fdbc4195 100644
--- a/textproc/2bsd-diff/Makefile
+++ b/textproc/2bsd-diff/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	diff
 PORTVERSION=	2.11.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	https://www.tuhs.org/Archive/Distributions/UCB/2.11BSD/ \
 		http://www.d20hobbies.com/2.11BSD/
@@ -16,7 +16,7 @@ WRKSRC=		${WRKDIR}/bin/diff
 
 PLIST_FILES=	bin/2diff \
 		libexec/2diffh \
-		man/man1/2diff.1.gz
+		share/man/man1/2diff.1.gz
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
diff --git a/textproc/2bsd-diff/files/patch-Makefile b/textproc/2bsd-diff/files/patch-Makefile
index 5654c7da4c01..762f15b0b2a5 100644
--- a/textproc/2bsd-diff/files/patch-Makefile
+++ b/textproc/2bsd-diff/files/patch-Makefile
@@ -39,4 +39,4 @@
 -	install -s diffh ${DESTDIR}/usr/libexec/diffh
 +	${BSD_INSTALL_PROGRAM} diff  ${DESTDIR}${DIFF}
 +	${BSD_INSTALL_PROGRAM} diffh ${DESTDIR}${DIFFH}
-+	${BSD_INSTALL_MAN}     ../../man/man1/diff.1 ${DESTDIR}${MANPREFIX}/man/man1/2diff.1
++	${BSD_INSTALL_MAN}     ../../man/man1/diff.1 ${DESTDIR}${PREFIX}/share/man/man1/2diff.1



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