1 # $NetBSD: Makefile,v 1.2 2013/05/09 02:05:55 obache Exp $
5 MASTER_SITES= http://media.luffy.cx/files/lldpd/
7 MAINTAINER= pkgsrc-users@NetBSD.org
8 HOMEPAGE= http://vincentbernat.github.com/lldpd/
9 COMMENT= 802.1ab (LLDP) implementation
11 # `lldpcli` will be linked to GNU Readline (which is GPL licensed)
12 # if available. To avoid this, use `--without-readline` as a configure
15 NOT_FOR_PLATFORM= DragonFly-*-*
17 PKG_INSTALLATION_TYPES= overwrite pkgviews
20 USE_TOOLS+= pkg-config
22 CONFIGURE_ARGS+= --with-privsep-chroot=${PKG_HOME._lldpd}
26 PKG_USERS= _lldpd:_lldpd
27 PKG_HOME._lldpd= ${VARBASE}/chroot/lldpd
29 OWN_DIRS= ${VARBASE}/chroot/lldpd
32 INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
34 BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.5
35 .include "../../devel/libevent/buildlink3.mk"
36 .include "../../mk/bsd.pkg.mk"