1998-03-02 10:35:04 +00:00
# ex:ts=8
# Ports collection makefile for: bro
# Version required: 0.3alpha
# Date created: Sat Feb 28, 1998
# Whom: David O'Brien (obrien@FreeBSD.org)
#
1998-12-25 02:14:07 +00:00
# $Id: Makefile,v 1.7 1998/12/24 17:52:35 obrien Exp $
1998-03-02 10:35:04 +00:00
#
1998-09-14 00:20:20 +00:00
DISTNAME = vp-bro-0.4-alpha
PKGNAME = bro-0.4a
1998-03-02 10:35:04 +00:00
CATEGORIES = security net
1998-03-16 10:27:31 +00:00
MASTER_SITES = ftp://ee.lbl.gov/
1998-03-02 10:35:04 +00:00
1998-03-16 10:27:31 +00:00
MAINTAINER = obrien@FreeBSD.org
RESTRICTED = "Author wishes Alpha releases not to be distrubted."
1998-03-02 10:35:04 +00:00
1998-12-25 02:14:07 +00:00
. i n c l u d e < b s d . p o r t . p r e . m k >
1998-12-24 17:52:35 +00:00
. i f ! e x i s t s ( $ { D I S T D I R } / v p - b r o - 0 . 4 - a l p h a $ { E X T R A C T _ S U F X } )
IGNORE = 'Please contact Vern Paxson <vern@ee.lbl.gov> to obtain the obtain the Bro source. Put it in ${DISTDIR} as vp-bro-0.4-alpha${EXTRACT_SUFX} and run make again'
. e n d i f
1998-11-04 18:45:38 +00:00
IS_INTERACTIVE = "manual fetch"
1998-09-14 00:20:20 +00:00
WRKSRC = ${ WRKDIR } /bro-0.4
1998-03-03 09:53:37 +00:00
CONFIGURE_ARGS = --libdir= ${ PREFIX } /share
1998-03-02 10:35:04 +00:00
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
1998-03-02 10:35:04 +00:00
. i f ! d e f i n e d ( N O P O R T D O C S )
@${ 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
. e n d i f
1998-12-25 02:14:07 +00:00
. i n c l u d e < b s d . p o r t . p o s t . m k >