1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net-mgmt/cdpr/Makefile
Michael Landin b3de425212 - Update to 2.2.1
- Change MASTER_SITES to SourceForge.net
- Tun off producing debugging information (remove -ggdb in CFLAGS)

PR:		104198
Submitted by:	Li-Wen Hsu <lwhsu@lwhsu.org>
2006-10-09 09:53:51 +00:00

37 lines
1001 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.2.1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@FreeBSD.org
COMMENT= Cisco Discovery Protocol Reporter
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}
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/cdprs/* ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/cdpr.conf ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
${INSTALL_DATA} ${WRKSRC}/README.cdprs ${DOCSDIR}/README.cdprs
.endif
.include <bsd.port.mk>