1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/net-mgmt/openlldp/Makefile
2024-01-09 11:32:17 +01:00

29 lines
733 B
Makefile

PORTNAME= openlldp
DISTVERSION= 0.4alpha
PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= SF/${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Link Layer Discovery Protocol daemon
WWW= https://sourceforge.net/projects/openlldp/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
USE_RC_SUBR= lldpd
PLIST_FILES= sbin/lldpd bin/lldpneighbors share/man/man8/lldpd.8.gz
post-patch:
@${REINPLACE_CMD} -e 's/^CFLAGS =/CFLAGS +=/g' \
${WRKSRC}/src/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/lldpd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/src/lldpneighbors ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/lldpd.8 ${STAGEDIR}${PREFIX}/share/man/man8
.include <bsd.port.mk>