pkgsrc-wip/ipfm/Makefile

26 lines
741 B
Makefile

# $NetBSD: Makefile,v 1.6 2006/05/19 16:51:19 ykomatsu Exp $
DISTNAME= ipfm-0.11.5
CATEGORIES= net
MASTER_SITES= http://robert.cheramy.net/ipfm/archive/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://robert.cheramy.net/ipfm/
COMMENT= Bandwidth analysis tool
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
EGDIR= ${PREFIX}/share/examples/ipfm
CONF_FILES= ${EGDIR}/ipfm.conf ${PKG_SYSCONFDIR}/ipfm.conf
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.8.3
post-install:
@${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/ipfm.conf.sample ${EGDIR}/ipfm.conf
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"