git: 1a6012c1ad73 - main - sysutils/dvdbackup: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:43:39 UTC
The branch main has been updated by ehaupt:

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

commit 1a6012c1ad738a1762e35b2361bc4586fb1cd02d
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 16:31:20 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:24 +0000

    sysutils/dvdbackup: Move manpages to share/man
---
 sysutils/dvdbackup/Makefile  | 9 ++++++---
 sysutils/dvdbackup/pkg-plist | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/sysutils/dvdbackup/Makefile b/sysutils/dvdbackup/Makefile
index 8d23bc9d16a4..b36d7b499303 100644
--- a/sysutils/dvdbackup/Makefile
+++ b/sysutils/dvdbackup/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	dvdbackup
-PORTVERSION=	0.4.2
-PORTREVISION=	7
+DISTVERSION=	0.4.2
+PORTREVISION=	8
 CATEGORIES=	sysutils multimedia
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -12,8 +12,8 @@ LICENSE=	GPLv3
 
 LIB_DEPENDS=	libdvdread.so:multimedia/libdvdread
 
-GNU_CONFIGURE=	yes
 USES=		gmake
+GNU_CONFIGURE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -28,6 +28,9 @@ OPTIONS_SUB=	yes
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+
 post-patch:
 	@${REINPLACE_CMD} "s|/dev/dvd|${DEFAULT_DVD_DEVICE}|g" \
 		${WRKSRC}/src/main.c ${WRKSRC}/po/*.po ${WRKSRC}/po/*.pot \
diff --git a/sysutils/dvdbackup/pkg-plist b/sysutils/dvdbackup/pkg-plist
index 9a19466ad948..856a5c8a8d64 100644
--- a/sysutils/dvdbackup/pkg-plist
+++ b/sysutils/dvdbackup/pkg-plist
@@ -1,5 +1,5 @@
 bin/dvdbackup
-man/man1/dvdbackup.1.gz
+share/man/man1/dvdbackup.1.gz
 %%NLS%%share/locale/da/LC_MESSAGES/dvdbackup.mo
 %%NLS%%share/locale/de/LC_MESSAGES/dvdbackup.mo
 %%NLS%%share/locale/en@boldquot/LC_MESSAGES/dvdbackup.mo