1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/sysutils/grok/Makefile
Baptiste Daroussin b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00

43 lines
1011 B
Makefile

# $FreeBSD$
PORTNAME= grok
PORTVERSION= 1.20110708.1
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
MAINTAINER= wxs@FreeBSD.org
COMMENT= Expert system for real-time log analysis
OPTIONS_DEFINE= DOCS
BUILD_DEPENDS= gperf>=3.0.3:${PORTSDIR}/devel/gperf
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libevent.so:${PORTSDIR}/devel/libevent2 \
libtokyocabinet.so:${PORTSDIR}/databases/tokyocabinet
RUN_DEPENDS:= ${BUILD_DEPENDS}
MAKE_ENV+= GPERF=${LOCALBASE}/bin/gperf \
EXTRA_CFLAGS=-I${LOCALBASE}/include \
EXTRA_LDFLAGS=-L${LOCALBASE}/lib
USES= gmake pkgconfig
USE_LDCONFIG= yes
SUB_FILES= pkg-message
PROJECTHOST= semicomplete
PORTDOCS= CHANGELIST INSTALL
post-patch:
@${REINPLACE_CMD} 's|PREFIX=|PREFIX?=|; s|-g root|-g wheel|; ' \
${WRKSRC}/Makefile
post-install:
${INSTALL_MAN} ${WRKSRC}/grok.1 ${STAGEDIR}${PREFIX}/man/man1
@${INSTALL} -d ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>