openbsd-ports/net/oinkmaster/Makefile
lteo f907f0c023 Update/add URLs in oinkmaster.conf to ones that actually work today,
including URLs for registered users and subscribers of Snort.org
(suggested by Markus Lude who is taking maintainership of this port).

Also extend the URL regex check in the oinkmaster Perl script to
recognize an official Snort.org download URL.

OK Markus Lude (new maintainer) dcoppa@ sthen@
2012-10-13 02:56:15 +00:00

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2012/10/13 02:56:15 lteo Exp $
COMMENT= update your Snort rules
DISTNAME= oinkmaster-2.0
REVISION= 1
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=oinkmaster/}
HOMEPAGE= http://oinkmaster.sourceforge.net/
MAINTAINER= Markus Lude <markus.lude@gmx.de>
# License: BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= net/wget
NO_BUILD=Yes
NO_REGRESS=Yes
PKG_ARCH=*
USE_GROFF = Yes
DOCS= FAQ INSTALL LICENSE README README.templates UPGRADING
do-install:
sed -e 's;"/usr/local/etc/oinkmaster.conf";"${SYSCONFDIR}/oinkmaster.conf";g' \
${WRKSRC}/oinkmaster.pl > ${WRKSRC}/oinkmaster-
${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster- ${PREFIX}/bin/oinkmaster
${INSTALL_MAN} ${WRKSRC}/oinkmaster.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/oinkmaster
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/oinkmaster
${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf \
${WRKSRC}/template-examples.conf \
${PREFIX}/share/examples/oinkmaster
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/oinkmaster
.endfor
.include <bsd.port.mk>