git: 41596d7829c3 - main - finance/ledger: Sanitize MANPREFIX

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 16 Jan 2024 11:58:20 UTC
The branch main has been updated by bofh:

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

commit 41596d7829c3869ef6c609f9bf8d71df3cb75f34
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-16 11:14:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-16 11:58:00 +0000

    finance/ledger: Sanitize MANPREFIX
    
    Approved by:    portmgr (blanket)
---
 finance/ledger/Makefile  | 5 +----
 finance/ledger/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/finance/ledger/Makefile b/finance/ledger/Makefile
index d8308c92ed67..99c7dfc5c1f8 100644
--- a/finance/ledger/Makefile
+++ b/finance/ledger/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ledger
 PORTVERSION=	3.2.1
-PORTREVISION=	6
+PORTREVISION=	7
 DISTVERSIONPREFIX=	v
 CATEGORIES=	finance
 
@@ -21,9 +21,6 @@ CPE_VENDOR=	${PORTNAME}-cli
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR=${MANPREFIX}/man \
-		-DCMAKE_INCLUDE_PATH=${LOCALBASE}/include
-
 do-test:
 	@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}
 
diff --git a/finance/ledger/pkg-plist b/finance/ledger/pkg-plist
index 38bbc40d35ae..deda434d7e49 100644
--- a/finance/ledger/pkg-plist
+++ b/finance/ledger/pkg-plist
@@ -59,4 +59,4 @@ include/ledger/views.h
 include/ledger/xact.h
 lib/libledger.so
 lib/libledger.so.3
-man/man1/ledger.1.gz
+share/man/man1/ledger.1.gz