devel/log4c: moved manpages to share/man

Add GNU_CONFIGURE_MANPREFIX
Reorder and reformat Makefile to make linter happy
Bump portrevision
This commit is contained in:
Rodrigo Osorio 2024-02-25 13:08:48 +01:00
parent fbeb65983a
commit 6f3f4f08e0
2 changed files with 12 additions and 10 deletions

View file

@ -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

View file

@ -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