1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/security/bro/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: bro
# Date created: Sat Feb 28, 1998
# Whom: David O'Brien (obrien@FreeBSD.org)
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
#
PORTNAME= bro
PORTVERSION= 0.5a
CATEGORIES= security net
#MASTER_SITES= ftp://ee.lbl.gov/
#see http://www-nrg.ee.lbl.gov/bro-info.html
DISTNAME= vp-bro-0.5-alpha
2000-02-13 03:25:05 +00:00
MAINTAINER= obrien@FreeBSD.org
RESTRICTED= "Author wishes Alpha releases not to be distrubted."
.include <bsd.port.pre.mk>
1999-02-13 20:03:59 +00:00
.if !exists(${DISTDIR}/vp-bro-0.5-alpha${EXTRACT_SUFX})
IGNORE=is still in alpha test. Please contact Vern Paxson <vern@ee.lbl.gov> to obtain the obtain the Bro source. Put it in ${DISTDIR} as ${DISTFILES} and run make again
.endif
IS_INTERACTIVE= "manual fetch"
1999-02-13 20:03:59 +00:00
WRKSRC= ${WRKDIR}/bro-pub-0.5a1
CONFIGURE_ARGS= --libdir=${PREFIX}/share
GNU_CONFIGURE= yes
post-patch:
@${MV} ${WRKSRC}/util.cc ${WRKSRC}/util.cc.in
@${SED} -e "s|/usr/src/rtsg/bro/policy:/usr/local/lib/bro|${PREFIX}/share/bro|" \
${WRKSRC}/util.cc.in >${WRKSRC}/util.cc
pre-install:
@${MKDIR} ${PREFIX}/share/bro
post-install:
@strip ${PREFIX}/sbin/bro
1998-09-14 00:20:20 +00:00
@${INSTALL_DATA} ${WRKSRC}/policy/*.* ${PREFIX}/share/bro
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/bro
${INSTALL_MAN} ${WRKSRC}/doc/bro-usenix98-revised.ps \
${PREFIX}/share/doc/bro
@${GZIP_CMD} ${PREFIX}/share/doc/bro/bro-usenix98-revised.ps
.endif
.include <bsd.port.post.mk>