# ex:ts=8 # Ports collection makefile for: oinkmaster # Date created: Jan 28, 2003 # Whom: ijliao # # $FreeBSD$ # PORTNAME= oinkmaster PORTVERSION= 2.0 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= question+fbsdports@closedsrc.org COMMENT= Help you update your snort rules after each update RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget NO_BUILD= yes USE_PERL5_RUN= yes PLIST_FILES= bin/oinkmaster etc/oinkmaster.conf.sample .if !defined(NOPORTDOCS) PORTDOCS= README .endif MAN1= oinkmaster.1 MANCOMPRESSED= no 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