6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
40 lines
961 B
Makefile
40 lines
961 B
Makefile
# New ports collection makefile for: log4cplus
|
|
# Date created: 16 November 2004
|
|
# Whom: Petri Totterman <petri.totterman@hmv.fi>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= log4cplus
|
|
PORTVERSION= 1.0.4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-stable/${PORTVERSION}
|
|
DISTFILES= log4cplus-${PORTVERSION}.tar.bz2
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
COMMENT= A logging library for C++
|
|
|
|
USE_AUTOTOOLS= libtool
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/include/log4cplus
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/docs/*.config ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/docs/*.html ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/docs/doxygen.css ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|