# Created by: ijliao # $FreeBSD$ PORTNAME= oinkmaster PORTVERSION= 2.0 PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF MAINTAINER= question+fbsdports@closedsrc.org COMMENT= Help you update your snort rules after each update RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget NO_BUILD= yes USES= perl5 USE_PERL5= run PLIST_FILES= bin/oinkmaster etc/oinkmaster.conf.sample .if !defined(NOPORTDOCS) PORTDOCS= README .endif MAN1= oinkmaster.1 MANCOMPRESSED= no NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' \ -e 's,"tPf","tf",' \ ${WRKSRC}/oinkmaster.pl do-install: ${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${PREFIX}/bin/oinkmaster ${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${PREFIX}/etc/oinkmaster.conf.sample ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} .endif .include