freebsd-ports/devel/log4cplus/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

45 lines
1.3 KiB
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.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= log4cplus
DISTFILES= log4cplus-${PORTVERSION}.tar.gz log4cplus-${PORTVERSION}-docs.tar.gz
MAINTAINER= petri.totterman@hmv.fi
COMMENT= A logging library for C++
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
post-install:
${INSTALL_DATA} ${WRKSRC}/license.apl ${PREFIX}/include/log4cplus
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/*.config ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs/*.html ${DOCSDIR}
${MKDIR} ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/docs/html/*.html ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/docs/html/*.png ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/docs/html/doxygen.css ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/docs/html/graph_legend.dot ${DOCSDIR}/html
.endif
.include <bsd.port.mk>