1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/log4cxx/Makefile
2020-08-23 08:55:23 +00:00

41 lines
1004 B
Makefile

# Created by: Thaddeus Covert <tcovert@grimmy.sahuagin.net>
# $FreeBSD$
PORTNAME= log4cxx
PORTVERSION= 0.11.0
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
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libapr-1.so:devel/apr1
USES= autoreconf pathfix libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= BOOST DOXYGEN
BOOST_BUILD_DEPENDS= ${LOCALBASE}/include/boost/regex.hpp:devel/boost-libs
DOXYGEN_CONFIGURE_OFF= --disable-doxygen
DOXYGEN_BUILD_DEPENDS= ${LOCALBASE}/bin/doxygen:devel/doxygen
post-configure:
@${REINPLACE_CMD} -e 's|-dpR|-pr|' \
-e '/^htmldest/ s|$$(pkgdatadir)|${DOCSDIR}|' \
${WRKSRC}/src/site/doxy/Makefile
post-install-DOXYGEN-on:
@cd ${STAGEDIR}${PREFIX} && \
${FIND} ${DOCSDIR:S|${PREFIX}/||} ! -type d >> ${TMPPLIST}
.include <bsd.port.mk>