2003-01-28 17:41:30 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: oinkmaster
|
|
|
|
# Date created: Jan 28, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= oinkmaster
|
2006-02-18 22:57:47 +01:00
|
|
|
PORTVERSION= 2.0
|
2003-01-28 17:41:30 +01:00
|
|
|
CATEGORIES= security
|
2004-07-02 09:54:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2003-01-28 17:41:30 +01:00
|
|
|
|
2005-04-18 19:08:39 +02:00
|
|
|
MAINTAINER= question+fbsdports@closedsrc.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Help you update your snort rules after each update
|
2003-01-28 17:41:30 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
|
2006-02-18 22:57:47 +01:00
|
|
|
PLIST_FILES= bin/oinkmaster etc/oinkmaster.conf.sample
|
2005-04-18 19:08:39 +02:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= README
|
|
|
|
.endif
|
|
|
|
|
2004-06-26 20:47:37 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
|
|
IGNORE= needs at least perl 5.6.1
|
|
|
|
.endif
|
|
|
|
|
2005-11-12 18:48:59 +01:00
|
|
|
MAN1= oinkmaster.1
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
2003-01-28 17:41:30 +01:00
|
|
|
post-patch:
|
2004-06-26 20:47:37 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' \
|
2004-08-29 05:43:57 +02:00
|
|
|
-e 's,"tPf","tf",' \
|
2003-03-28 04:51:57 +01:00
|
|
|
${WRKSRC}/oinkmaster.pl
|
2003-01-28 17:41:30 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${PREFIX}/bin/oinkmaster
|
2006-02-18 22:57:47 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${PREFIX}/etc/oinkmaster.conf.sample
|
2005-11-12 18:48:59 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
|
2003-01-28 17:41:30 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-11-12 18:48:59 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
2003-01-28 17:41:30 +01:00
|
|
|
.endif
|
|
|
|
|
2004-06-26 20:47:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|