# $NetBSD: Makefile,v 1.11 2005/11/08 14:04:36 tv Exp $ # DISTNAME= iplog-2.2.3 PKGREVISION= 3 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ojnk/} MAINTAINER= gremlin@portal-to-web.de HOMEPAGE= http://ojnk.sourceforge.net/ COMMENT= Iplog is a tool using pcap to log IP traffic USE_TOOLS+= gmake USE_PKGINSTALL= YES GNU_CONFIGURE= YES RCD_SCRIPTS= iplog EGDIR= ${PREFIX}/share/examples/iplog post-patch: cd ${WRKSRC}/src && ${SED} s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g \ < iplog.h > iplog.h.patched && ${MV} iplog.h.patched iplog.h post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/example-iplog.conf ${EGDIR}/iplog.conf .include "../../net/libpcap/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk"