use not hardcoded paths in the configuration file.

inputs and ok alek@
This commit is contained in:
aanriot 2006-10-14 09:54:04 +00:00
parent dff6979a7a
commit 5590ff2a91

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.48 2006/10/10 13:33:17 aanriot Exp $
# $OpenBSD: Makefile,v 1.49 2006/10/14 09:54:04 aanriot Exp $
COMMENT= "highly flexible sniffer/NIDS"
DISTNAME= snort-2.6.0.2
PKGNAME= ${DISTNAME}p0
CATEGORIES= net security
MASTER_SITES= ${HOMEPAGE}/dl/current/
@ -69,6 +70,8 @@ DOCS= AUTHORS CREDITS README.* *.pdf
post-build:
@perl -pi -e "s,%%SYSCONFDIR%%,${SYSCONFDIR}," \
${WRKSRC}/etc/snort.conf
@perl -pi -e "s,/usr/local/,${LOCALBASE}/," \
${WRKSRC}/etc/snort.conf
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/snort