git: 01d62de75774 - main - lang/pcc: Move man pages to share/man

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 20:01:57 UTC
The branch main has been updated by eduardo:

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

commit 01d62de757746e6a2722b9746ffbee0f21a8b25c
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-03-09 19:17:15 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-03-09 20:01:29 +0000

    lang/pcc: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 lang/pcc/Makefile | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/lang/pcc/Makefile b/lang/pcc/Makefile
index 9e4573cf1a12..8f5183fb94f7 100644
--- a/lang/pcc/Makefile
+++ b/lang/pcc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pcc
 PORTVERSION=	1.1.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	ftp://pcc.ludd.ltu.se/pub/pcc-releases/ \
 		http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \
@@ -10,25 +10,26 @@ MAINTAINER=	joel@FreeBSD.org
 COMMENT=	Portable C Compiler
 WWW=		http://pcc.ludd.ltu.se/
 
-LICENSE=	BSDCOMPATIBLE BSD2CLAUSE BSD3CLAUSE
+LICENSE=	BSD2CLAUSE BSD3CLAUSE BSDCOMPATIBLE
 LICENSE_COMB=	multi
 LICENSE_NAME_BSDCOMPATIBLE=	BSD-style compatible licenses
-LICENSE_TEXT_BSDCOMPATIBLE=	The license: BSDCOMPATIBLE (${LICENSE_NAME_BSDCOMPATIBLE}),\
-	please read from the web: http://pcc.ludd.ltu.se/licenses/
+LICENSE_TEXT_BSDCOMPATIBLE=	The license: BSDCOMPATIBLE (${LICENSE_NAME_BSDCOMPATIBLE}), \
+				please read from the web: http://pcc.ludd.ltu.se/licenses/
 LICENSE_PERMS_BSDCOMPATIBLE=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-RUN_DEPENDS=	pcc-libs>=${PORTVERSION}:devel/pcc-libs
-
 ONLY_FOR_ARCHS=	i386 amd64
 
+RUN_DEPENDS=	pcc-libs>=${PORTVERSION}:devel/pcc-libs
+
 USES=		gmake tar:tgz
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV=	YACC=${YACC}
 
 PLIST_FILES=	bin/pcc bin/pcpp \
 		libexec/ccom libexec/cxxcom libexec/cpp \
-		man/man1/ccom.1.gz man/man1/cpp.1.gz \
-		man/man1/pcc.1.gz
+		share/man/man1/ccom.1.gz share/man/man1/cpp.1.gz \
+		share/man/man1/pcc.1.gz
 
 MAKE_JOBS_UNSAFE=	yes