Date: Wed, 5 Mar 2014 16:09:48 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347119 - head/sysutils/grok Message-ID: <201403051609.s25G9moN078530@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Wed Mar 5 16:09:47 2014 New Revision: 347119 URL: http://svnweb.freebsd.org/changeset/ports/347119 QAT: https://qat.redports.org/buildarchive/r347119/ Log: Use libevent2 Support stage Modified: head/sysutils/grok/Makefile head/sysutils/grok/pkg-plist Modified: head/sysutils/grok/Makefile ============================================================================== --- head/sysutils/grok/Makefile Wed Mar 5 16:03:13 2014 (r347118) +++ head/sysutils/grok/Makefile Wed Mar 5 16:09:47 2014 (r347119) @@ -2,44 +2,43 @@ PORTNAME= grok PORTVERSION= 1.20110708.1 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= GOOGLE_CODE MAINTAINER= wxs@FreeBSD.org -COMMENT= An expert system for real-time log analysis +COMMENT= Expert system for real-time log analysis -BUILD_DEPENDS= gperf>=3.0.3:${PORTSDIR}/devel/gperf \ - libevent>=1.3:${PORTSDIR}/devel/libevent \ - pcre>=7.6:${PORTSDIR}/devel/pcre \ - tokyocabinet>=1.4.9:${PORTSDIR}/databases/tokyocabinet +OPTIONS_DEFINE= DOCS + +BUILD_DEPENDS= gperf>=3.0.3:${PORTSDIR}/devel/gperf +LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ + libevent-2.0.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 -USE_GMAKE= yes +USES= gmake USE_LDCONFIG= yes +LDFLAGS+= `pkgconf --libs libevent` +CFLAGS+= `pkgconf --cflags libevent` SUB_FILES= pkg-message PROJECTHOST= semicomplete PORTDOCS= CHANGELIST INSTALL -MAN1= grok.1 -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} 's|PREFIX=|PREFIX?=|; s|-g root|-g wheel|' \ + @${REINPLACE_CMD} 's|PREFIX=|PREFIX?=|; s|-g root|-g wheel|; s|-levent||g' \ ${WRKSRC}/Makefile post-install: - ${INSTALL_MAN} ${WRKSRC}/grok.1 ${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${INSTALL} -d ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif - @${CAT} ${PKGMESSAGE} + ${INSTALL_MAN} ${WRKSRC}/grok.1 ${STAGEDIR}${PREFIX}/man/man1 + @${INSTALL} -d ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/sysutils/grok/pkg-plist ============================================================================== --- head/sysutils/grok/pkg-plist Wed Mar 5 16:03:13 2014 (r347118) +++ head/sysutils/grok/pkg-plist Wed Mar 5 16:09:47 2014 (r347119) @@ -9,6 +9,7 @@ include/grok_match.h include/grok_pattern.h include/grok_version.h lib/libgrok.so +man/man1/grok.1.gz %%DATADIR%%/patterns/base @dirrm %%DATADIR%%/patterns @dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403051609.s25G9moN078530>