Skip to content

Commit

Permalink
devel/log4c: moved manpages to share/man
Browse files Browse the repository at this point in the history
Add GNU_CONFIGURE_MANPREFIX
Reorder and reformat Makefile to make linter happy
Bump portrevision
  • Loading branch information
rosorio committed Feb 26, 2024
1 parent fbeb659 commit 6f3f4f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions devel/log4c/Makefile
@@ -1,6 +1,6 @@
PORTNAME= log4c
PORTVERSION= 1.2.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF

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

Expand Down
2 changes: 1 addition & 1 deletion devel/log4c/pkg-plist
Expand Up @@ -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

0 comments on commit 6f3f4f0

Please sign in to comment.