1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/net/ladvd/Makefile
Baptiste Daroussin b564653452 Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
2014-07-24 13:32:58 +00:00

44 lines
801 B
Makefile

# Created by: sten@blinkenlights.nl
# $FreeBSD$
PORTNAME= ladvd
PORTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= GOOGLE_CODE \
http://blinkenlights.nl/software/ladvd/
MAINTAINER= sten@blinkenlights.nl
COMMENT= Minimal LLDP/CDP daemon
LICENSE= BSD
LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2
USERS= ladvd
GROUPS= ${USERS}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-chroot-dir=/var/empty
PORTDOCS= *
USE_RC_SUBR= ladvd
SUB_FILES= pkg-message
PLIST_FILES= man/man8/ladvd.8.gz \
man/man8/ladvdc.8.gz \
sbin/ladvd \
sbin/ladvdc
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
.if ! ${PORT_OPTIONS:MDOCS}
@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
${WRKSRC}/doc/Makefile.in
.endif
.include <bsd.port.mk>