1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/devel/log4cpp/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

41 lines
958 B
Makefile

# Created by: ijliao@FreeBSD.org
# $FreeBSD$
PORTNAME= log4cpp
PORTVERSION= 1.1.1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}.x%20%28new%29/${PORTNAME}-${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library of C++ classes for flexible logging
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gmake libtool pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-html-docs
REINPLACE_ARGS= -i ""
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOXYGEN
OPTIONS_SUB= yes
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENABLE= doxygen
post-patch:
@${REINPLACE_CMD} -e \
's|^MAX_|#MAX_|' \
${WRKSRC}/doc/Doxyfile.in
@${REINPLACE_CMD} -e \
's|$$(prefix)/doc/.*|@docdir@| ; \
s|\([[:blank:]]\)\($$(man3dir)\)|\1$$(DESTDIR)\2| ; \
s|\([[:blank:]]\)\($$(docdir)\)|\1$$(DESTDIR)\2|' \
${WRKSRC}/doc/Makefile.in
.include <bsd.port.mk>