openbsd-ports/devel/log4c/Makefile
ajacoutot 7423b6c15a Import log4c-1.2.1.
Log4c is a library of C for flexible logging to files, syslog and 
other destinations. It is modeled after the Log for Java library 
(http://jakarta.apache.org/log4j/), staying as close to their API 
as is reasonable.

based on a submission from Markus Schatzl
ok jasper@
2012-05-11 11:43:49 +00:00

33 lines
730 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/05/11 11:43:49 ajacoutot Exp $
COMMENT= logging for c library
DISTNAME= log4c-1.2.1
SHARED_LIBS += log4c 0.0 # 4.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=log4c/}
HOMEPAGE= http://log4c.sourceforge.net/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += expat
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= ac_cv_path_DOT="" \
ac_cv_path_DOXYGEN="" \
ac_cv_path_LATEX=""
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/log4c/
pre-configure:
perl -pi -e 's,-lpthread,-pthread,g' ${WRKSRC}/configure
.include <bsd.port.mk>