2002-07-12 15:33:21 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: cdpr
|
|
|
|
# Date created: Tue Jul 08, 2002
|
|
|
|
# Whom: Michael L. Hostbaek (mich@freebsdcluster.org)
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cdpr
|
2002-10-30 21:42:57 +01:00
|
|
|
PORTVERSION= 1.0.7
|
2002-07-12 15:33:21 +02:00
|
|
|
CATEGORIES= net
|
2002-08-22 22:44:34 +02:00
|
|
|
MASTER_SITES= http://freebsdcluster.org/~mich/software/ \
|
2002-07-12 15:33:21 +02:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= mich@freebsdcluster.org
|
|
|
|
|
2002-07-15 12:18:22 +02:00
|
|
|
CFLAGS+= -ggdb
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lpcap
|
2002-07-12 15:33:21 +02:00
|
|
|
|
2002-07-14 19:14:02 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
2002-07-12 15:33:21 +02:00
|
|
|
|
2002-07-15 12:18:22 +02:00
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
|
|
|
|
|
2002-07-12 15:33:21 +02:00
|
|
|
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>
|