1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/cdpr/Makefile
Oliver Braun a2c683daec Fix MASTER_SITES.
PR:		ports/41885
Submitted by:	maintainer
Approved by:	dwcjr (mentor)
2002-08-22 20:44:34 +00:00

36 lines
837 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= 1.0.6
CATEGORIES= net
MASTER_SITES= http://freebsdcluster.org/~mich/software/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= mich@freebsdcluster.org
CFLAGS+= -ggdb
LDFLAGS+= -L${LOCALBASE}/lib -lpcap
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.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>