openbsd-ports/net/oinkmaster/Makefile
2010-11-19 22:31:32 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2010/11/19 22:31:35 espie Exp $
COMMENT= update your Snort rules
DISTNAME= oinkmaster-2.0
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=oinkmaster/}
MAINTAINER= David Krause <david@openbsd.org>
HOMEPAGE= http://oinkmaster.sourceforge.net/
# 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>