1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/log4cpp/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

77 lines
2.9 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: log4cpp
# Date created: May 1, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= log4cpp
DISTVERSION= 0.3.5rc3
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library of C++ classes for flexible logging
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-pthreads --disable-html-docs
MAKE_ENV+= RM=${RM}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if exists (${LOCALBASE}/bin/doxygen) || !defined (NOPORTDOCS)
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
MAN3= log4cpp.3 log4cpp::AbortAppender.3 log4cpp::Appender.3 log4cpp::AppenderSkeleton.3\
log4cpp::BasicConfigurator.3 log4cpp::BasicLayout.3 log4cpp::Category.3\
log4cpp::CategoryNameComponent.3 log4cpp::CategoryStream.3\
log4cpp::ConfigureFailure.3 log4cpp::FileAppender.3 log4cpp::Filter.3\
log4cpp::FixedContextCategory.3 log4cpp::FormatModifierComponent.3\
log4cpp::HierarchyMaintainer.3 log4cpp::IdsaAppender.3 log4cpp::Layout.3\
log4cpp::LayoutAppender.3 log4cpp::LoggingEvent.3\
log4cpp::MessageComponent.3 log4cpp::MillisSinceEpochComponent.3\
log4cpp::NDC.3 log4cpp::NDC::DiagnosticContext.3 log4cpp::NDCComponent.3\
log4cpp::NTEventLogAppender.3 log4cpp::OstreamAppender.3\
log4cpp::PatternLayout.3 log4cpp::PatternLayout::PatternComponent.3\
log4cpp::Priority.3 log4cpp::PriorityComponent.3\
log4cpp::ProcessorTimeComponent.3 log4cpp::Properties.3\
log4cpp::PropertyConfigurator.3 log4cpp::PropertyConfiguratorImpl.3\
log4cpp::RemoteSyslogAppender.3 log4cpp::RollingFileAppender.3\
log4cpp::SecondsSinceEpochComponent.3 log4cpp::SimpleConfigurator.3\
log4cpp::SimpleLayout.3 log4cpp::StringLiteralComponent.3\
log4cpp::StringQueueAppender.3 log4cpp::StringUtil.3\
log4cpp::SyslogAppender.3 log4cpp::ThreadNameComponent.3\
log4cpp::TimeStamp.3 log4cpp::TimeStampComponent.3 log4cpp::width.3\
log4cpp::Win32DebugAppender.3 log4cpp::tab.3 log4cpp::threading.3\
log4cpp::threading::MSMutex.3 log4cpp::threading::MSScopedLock.3\
log4cpp::threading::Mutex.3 log4cpp::threading::ScopedLock.3\
log4cpp::threading::ThreadLocalDataHolder.3
.else
NOPORTDOCS= true
CONFIGURE_ARGS+= --disable-doxygen
.endif
.if !exists (${LOCALBASE}/bin/doxygen) && !defined (NOPORTDOCS)
pre-everything::
@${ECHO_CMD}
@${ECHO_CMD} By default, this port uses doxygen to build its documentation.\
It currently is not present your system, and if you do not want to install it, abort\
this build by hitting CTRL+C and re-run the installation with -DNOPORTDOCS | ${FMT} 74
@${ECHO_CMD}
@sleep 3
.endif
post-patch:
@${REINPLACE_CMD} -e 's| -pedantic||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>