1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/security/oinkmaster/Makefile
Sunpoet Po-Chuan Hsieh a0be9e0b7c - Reset maintainership
- While I'm here:
  - Add LICENSE
  - Convert to new options framework
  - Support STAGEDIR

PR:		ports/190386
Submitted by:	Linh Pham <question+fbsdports@closedsrc.org> (maintainer)
2014-05-30 05:32:02 +00:00

42 lines
934 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= oinkmaster
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Help you update your snort rules after each update
LICENSE= BSD3CLAUSE
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
OPTIONS_DEFINE= DOCS
NO_BUILD= yes
USES= perl5
USE_PERL5= run
PLIST_FILES= bin/oinkmaster \
etc/oinkmaster.conf.sample \
man/man1/oinkmaster.1.gz
PORTDOCS= README
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 ${STAGEDIR}${PREFIX}/bin/oinkmaster
${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${STAGEDIR}${PREFIX}/etc/oinkmaster.conf.sample
${INSTALL_MAN} ${WRKSRC}/oinkmaster.1 ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>