aboutsummaryrefslogblamecommitdiff
path: root/security/snortsnarf/Makefile
blob: f43d579bf3eb9bffa75785c5fa9b4589d50eae5f (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                        

                   
                        

                                                                             
 
                                 
                                                                         
 
                                                                                

                   




                                                                  

           



                                                                     
                        


                                                    



                      
# New ports collection makefile for:	snortsnarf
# Date created:		29 July 2001
# Whom:			Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	snortsnarf
PORTVERSION=	1.0
PORTEPOCH=	1
CATEGORIES=	security
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/Initial%20Release%20${PORTVERSION}
DISTNAME=	SnortSnarf-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Generate HTML report summaries from snort incident alerts

RUN_DEPENDS=	${SITE_PERL}/Time/JulianDay.pm:${PORTSDIR}/devel/p5-Time-modules

NO_BUILD=	yes
USE_PERL5_RUN=	yes

post-patch:
	@${SED} -e 's|\./include|${PREFIX}/libdata/${PORTNAME}|' \
		< ${WRKSRC}/snortsnarf.pl > ${WRKSRC}/snortsnarf

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf ${LOCALBASE}/bin
	@${MKDIR} ${PREFIX}/libdata/snortsnarf
	@(cd ${WRKSRC}/include \
		&& ${COPYTREE_SHARE} . ${PREFIX}/libdata/${PORTNAME})
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in README Usage
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>