mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
c59a3834c4
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are currently broken. This is a temporary measure until we organically stop using := or someone(s) spend a lot of time changing all the ports over. Explicit duplication > := > = and this just moves ports one step to the left Approved by: portmgr
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# Ports collection makefile for: grok
|
|
# Date created: 07 March 2006
|
|
# Whom: Wesley Shields <wxs@atarininja.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= grok
|
|
PORTVERSION= 1.20110708.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= wxs@FreeBSD.org
|
|
COMMENT= An 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
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
MAKE_ENV+= GPERF=${LOCALBASE}/bin/gperf \
|
|
EXTRA_CFLAGS=-I${LOCALBASE}/include \
|
|
EXTRA_LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PROJECTHOST= semicomplete
|
|
PORTDOCS= CHANGELIST INSTALL
|
|
MAN1= grok.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} 's|PREFIX=|PREFIX?=|; s|-g root|-g wheel|' \
|
|
${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}
|
|
|
|
.include <bsd.port.mk>
|