mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 05:00:30 -04:00
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
46 lines
1.1 KiB
Makefile
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>
|