pkgsrc/net/barnyard/Makefile
2008-12-19 12:53:48 +00:00

36 lines
919 B
Makefile

# $NetBSD: Makefile,v 1.2 2008/12/19 12:53:48 joerg Exp $
DISTNAME= barnyard-0.2.0
CATEGORIES= net
MASTER_SITES= http://www.snort.org/dl/barnyard/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.snort.org/
COMMENT= Fast output system for snort
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
PKG_SYSCONFSUBDIR= snort
LIBS.SunOS+= -lresolv
CONF_FILES= ${EGDIR}/barnyard.conf ${PKG_SYSCONFDIR}/barnyard.conf
EGDIR= ${PREFIX}/share/examples/barnyard
INSTALLATION_DIRS= bin share/doc/barnyard share/examples/barnyard
.include "options.mk"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/barnyard ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/docs/FAQ \
${DESTDIR}${PREFIX}/share/doc/barnyard/FAQ
${INSTALL_DATA} ${WRKSRC}/docs/USAGE \
${DESTDIR}${PREFIX}/share/doc/barnyard/USAGE
${INSTALL_DATA} ${WRKSRC}/etc/barnyard.conf \
${DESTDIR}${EGDIR}/barnyard.conf
.include "../../mk/bsd.pkg.mk"