freebsd-ports/devel/log4cxx/Makefile
Daniel Engberg 51086297b0 devel/log4cxx: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites

Approved by:	arrowd (mentor)
Differential Revision:	https://reviews.freebsd.org/D32411
2021-10-10 18:39:25 +02:00

39 lines
1,018 B
Makefile

# Created by: Thaddeus Covert <tcovert@grimmy.sahuagin.net>
PORTNAME= log4cxx
PORTVERSION= 0.11.0
CATEGORIES= devel
MASTER_SITES= https://archive.apache.org/dist/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>