# New ports collection makefile for: snortsnarf # Date created: 29 July 2001 # Whom: Kris Kennaway # # $FreeBSD$ # PORTNAME= snortsnarf PORTVERSION= 010523 CATEGORIES= security MASTER_SITES= http://www.silicondefense.com/software/snortsnarf/ DISTNAME= SnortSnarf-052301.1 MAINTAINER= kris@FreeBSD.org RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Time/JulianDay.pm:${PORTSDIR}/devel/p5-Time NO_BUILD= yes do-install: ${SED} s,%LOCALBASE%,${LOCALBASE}, < ${WRKSRC}/snortsnarf.pl > ${WRKSRC}/snortsnarf ${INSTALL_SCRIPT} ${WRKSRC}/snortsnarf ${LOCALBASE}/bin/snortsnarf ${MKDIR} ${LOCALBASE}/libdata/snortsnarf ${MKDIR} ${LOCALBASE}/libdata/snortsnarf/SnortSnarf .for i in IPAddrContact.pm ann_xml.pl web_utils.pl xml_help.pl ${INSTALL_DATA} ${WRKSRC}/include/${i} ${LOCALBASE}/libdata/snortsnarf/ .endfor .for i in AlertBase.pm HTMLOutput.pm MemTimeBase.pm MultiStore.pm \ MemPacket.pm HTMLMemStorage.pm Filtering.pm PacketBase.pm \ AllMods.pm BasicFilters.pm KnownEquiv.pm SnortFileInput.pm \ HTMLAnomMemStorage.pm Input.pm SorterBase.pm Sort.pm \ StorageBase.pm MemAlert.pm BasicSorters.pm Filter.pm \ SnortRules.pm MemStorage.pm ${INSTALL_DATA} ${WRKSRC}/include/SnortSnarf/${i} ${LOCALBASE}/libdata/snortsnarf/SnortSnarf/ .endfor .if !defined(NOPORTDOCS) ${MKDIR} ${LOCALBASE}/share/doc/snortsnarf .for i in README Usage ${INSTALL_DATA} ${WRKSRC}/${i} ${LOCALBASE}/share/doc/snortsnarf .endfor .endif .include