git: d98422893d69 - main - graphics/metacam: Move manpages to share/man

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

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

commit d98422893d694f1eb34ce699a87c34b460cc0779
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 13:09:04 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 13:09:13 +0000

    graphics/metacam: Move manpages to share/man
---
 graphics/metacam/Makefile | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/graphics/metacam/Makefile b/graphics/metacam/Makefile
index 9cd484e139c2..591974b65513 100644
--- a/graphics/metacam/Makefile
+++ b/graphics/metacam/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	metacam
-PORTVERSION=	1.2
+DISTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	LOCAL/ehaupt
 
@@ -7,22 +8,26 @@ MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Digital camera EXIF meta-information reader
 WWW=		http://www.cheeseplant.org/~daniel/pages/metacam.html
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
+
 USES=		gmake
 
+ALL_TARGET=	${PORTNAME}
+
 CFLAGS+=	-I${LOCALBASE}/include
 CXXFLAGS+=	-I${LOCALBASE}/include
 
-PLIST_FILES=	bin/metacam man/man1/metacam.1.gz
+PLIST_FILES=	bin/metacam \
+		share/man/man1/metacam.1.gz
 PORTDOCS=	README.canon README.casio
 
-ALL_TARGET=	${PORTNAME}
-
 OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 \
-		${STAGEDIR}${MANPREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/share/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}