diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-12-02 17:31:05 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-12-02 17:31:05 +0000 |
commit | f995bfd0b7edc7bfd3845096f84b2a2b44927b6e (patch) | |
tree | 3564905836bf83432d4b006d1bbb66da4b187aa2 /devel/log4c | |
parent | 0b9f0d5cd6baedb0398afb930c3183f01dae47c8 (diff) | |
download | ports-f995bfd0b7edc7bfd3845096f84b2a2b44927b6e.tar.gz ports-f995bfd0b7edc7bfd3845096f84b2a2b44927b6e.zip |
Notes
Diffstat (limited to 'devel/log4c')
-rw-r--r-- | devel/log4c/Makefile | 16 | ||||
-rw-r--r-- | devel/log4c/pkg-plist | 1 |
2 files changed, 6 insertions, 11 deletions
diff --git a/devel/log4c/Makefile b/devel/log4c/Makefile index f6aea3ed159c..751b5268a7a4 100644 --- a/devel/log4c/Makefile +++ b/devel/log4c/Makefile @@ -13,23 +13,17 @@ LICENSE= LGPL21 OPTIONS_DEFINE= EXPAT OPTIONS_DEFAULT=EXPAT +EXPAT_CONFIGURE_WITH= expat +EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 -USES= pathfix +USES= pathfix USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -MAN1= log4c-config.1 - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MEXPAT} -LIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2 -.else -CONFIGURE_ARGS+=--without-expat -.endif +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblog4c.so .include <bsd.port.mk> diff --git a/devel/log4c/pkg-plist b/devel/log4c/pkg-plist index b1f69d8cc49c..9b2e64333171 100644 --- a/devel/log4c/pkg-plist +++ b/devel/log4c/pkg-plist @@ -29,5 +29,6 @@ lib/liblog4c.la lib/liblog4c.so lib/liblog4c.so.6 libdata/pkgconfig/log4c.pc +man/man1/log4c-config.1.gz share/aclocal/log4c.m4 @dirrm include/log4c |