freebsd-ports/net/cdpr/Makefile
Michael Landin 5794a744f6 Updated to 2.0.0
- Support for HP procurve cdp packets.
 - bugfixing.

Approved by:		roberto (mentor)
2003-07-04 07:46:09 +00:00

34 lines
842 B
Makefile

# ex:ts=8
# Ports collection makefile for: cdpr
# Date created: Tue Jul 08, 2002
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
#
# $FreeBSD$
#
PORTNAME= cdpr
PORTVERSION= 2.0.0
CATEGORIES= net
MASTER_SITES= http://www.monkeymental.com/mmfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@FreeBSD.org
COMMENT= Cisco Discovery Protocol Reporter
CFLAGS+= -ggdb
LDFLAGS+= -L${LOCALBASE}/lib -lpcap
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c cdprs.c conffile.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif
.include <bsd.port.mk>