freebsd-ports/devel/log4cxx/Makefile
Tijl Coosemans 0d6e69bd42 Bump PORTREVISION on everything that depends on devel/apr1 due to the
library version change.

Approved by:	portmgr (implicit)
2014-06-12 09:17:32 +00:00

48 lines
1.2 KiB
Makefile

# Created by: Thaddeus Covert <tcovert@grimmy.sahuagin.net>
# $FreeBSD$
PORTNAME= log4cxx
PORTVERSION= 0.10.0
PORTREVISION= 7
CATEGORIES= devel
MASTER_SITES= APACHE/logging/${PORTNAME}/${PORTVERSION}
DISTNAME= apache-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ port of the Log4j project
LICENSE= APACHE20
LIB_DEPENDS= libapr-1.so:${PORTSDIR}/devel/apr1
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:env autoconf:env
USES= pathfix libtool
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= BOOST DOXYGEN
BOOST_BUILD_DEPENDS= ${LOCALBASE}/include/boost/regex.hpp:${PORTSDIR}/devel/boost-libs
DOXYGEN_CONFIGURE_OFF= --disable-doxygen
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
.include <bsd.port.options.mk>
post-configure:
@${REINPLACE_CMD} -e 's|-dpR|-pr|' \
-e '/^htmldest/ s|$$(pkgdatadir)|${DOCSDIR}|' \
${WRKSRC}/src/site/doxy/Makefile
post-install:
.if ${PORT_OPTIONS:MDOXYGEN}
@cd ${STAGEDIR}${PREFIX} && \
${FIND} ${DOCSDIR:S|${PREFIX}/||} ! -type d >> ${TMPPLIST} && \
${FIND} ${DOCSDIR:S|${PREFIX}/||} -type d | ${SORT} -r | \
${SED} 's|^|@dirrm |' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>