summaryrefslogtreecommitdiff
path: root/net-mgmt/cdpsnarf/Makefile
blob: 398bfa0f20553b7ecccd754e741698ec217bdbb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	cdpsnarf
PORTVERSION=	0.1.6
PORTREVISION=	1
DISTVERSIONPREFIX=v
CATEGORIES=	net-mgmt

MAINTAINER=	rihaz.jerrin@gmail.com
COMMENT=	Tool to extract information from CDP packets

LICENSE=	GPLv2

USE_GITHUB=	yes
GH_ACCOUNT=	Zapotek

post-patch:
	${REINPLACE_CMD} -e 's|gcc|cc|' ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>