ports/sysutils/grok/Makefile
Mathieu Arnold bebf3178ae Mark the remaining ports depending on Google Code as DEPRECATED, with an
EXPIRATION_DATE at the end of April 2017.

In the past six months, about a third of the ports marked BROKEN because
they were hosted on Google Code have been fixed.  The remaining must not
be of use to anyone.

With hat:	portmgr
Sponsored by:	Absolight
2017-03-03 16:00:19 +00:00

46 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= grok
PORTVERSION= 1.20110708.1
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= sysutils
MASTER_SITES= GOOGLE_CODE
MAINTAINER= wxs@FreeBSD.org
COMMENT= Expert system for real-time log analysis
BROKEN= Unfetchable (google code has gone away)
DEPRECATED= Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE= 2017-04-30
OPTIONS_DEFINE= DOCS
BUILD_DEPENDS= gperf>=3.0.3:devel/gperf
LIB_DEPENDS= libpcre.so:devel/pcre \
libevent.so:devel/libevent \
libtokyocabinet.so: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>