Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2024 17:55:12 GMT
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6f3f4f08e090 - main - devel/log4c: moved manpages to share/man
Message-ID:  <202402261755.41QHtCeD063233@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rodrigo:

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

commit 6f3f4f08e0902f7f0e5de5b904d7b3b2574a0904
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-25 12:08:48 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-02-26 17:54:38 +0000

    devel/log4c: moved manpages to share/man
    
    Add GNU_CONFIGURE_MANPREFIX
    Reorder and reformat Makefile to make linter happy
    Bump portrevision
---
 devel/log4c/Makefile  | 20 +++++++++++---------
 devel/log4c/pkg-plist |  2 +-
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/devel/log4c/Makefile b/devel/log4c/Makefile
index b46a0f37cb5a..2d79def68a07 100644
--- a/devel/log4c/Makefile
+++ b/devel/log4c/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	log4c
 PORTVERSION=	1.2.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	SF
 
@@ -10,18 +10,20 @@ WWW=		https://log4c.sourceforge.net/
 
 LICENSE=	LGPL21
 
-OPTIONS_DEFINE=	EXPAT
-OPTIONS_DEFAULT=EXPAT
-EXPAT_CONFIGURE_WITH=	expat
-EXPAT_LIB_DEPENDS=	libexpat.so:textproc/expat2
-
-USES=		libtool pathfix
-GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
+USES=				libtool pathfix
+USE_LDCONFIG=			yes
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+OPTIONS_DEFINE=		EXPAT
+OPTIONS_DEFAULT=	EXPAT
+
+EXPAT_LIB_DEPENDS=	libexpat.so:textproc/expat2
+EXPAT_CONFIGURE_WITH=	expat
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblog4c.so
 
diff --git a/devel/log4c/pkg-plist b/devel/log4c/pkg-plist
index fdc1d1d10b97..3655e348f4c9 100644
--- a/devel/log4c/pkg-plist
+++ b/devel/log4c/pkg-plist
@@ -31,5 +31,5 @@ lib/liblog4c.so
 lib/liblog4c.so.3
 lib/liblog4c.so.3.3.1
 libdata/pkgconfig/log4c.pc
-man/man1/log4c-config.1.gz
+share/man/man1/log4c-config.1.gz
 share/aclocal/log4c.m4



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