openbsd-ports/net/oinkmaster/Makefile

31 lines
821 B
Makefile

# $OpenBSD: Makefile,v 1.8 2004/09/15 00:06:59 pvalchev Exp $
COMMENT= "update your Snort 1.8+ rules"
DISTNAME= oinkmaster-0.9
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=oinkmaster/}
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
PKG_ARCH=*
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_DATA_DIR} ${PREFIX}/share/examples/oinkmaster
${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf \
${PREFIX}/share/examples/oinkmaster
.include <bsd.port.mk>