summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2002-07-15 10:18:22 +0000
committerOllivier Robert <roberto@FreeBSD.org>2002-07-15 10:18:22 +0000
commit2cc83ec4cd0c494e5a8bc2eb4c76ac37e193f1ff (patch)
treee2fd36c0a6af5b052907ad1f63ec9cbf06808db0 /net-mgmt
parentupgrade to 0.8.4 (diff)
Update to 1.0.5 and respect CFLAGS/LDFLAGS.
PR: ports/40591 Submitted by: Michael Hostbaek <mich@freebsdcluster.org> (MAINTAINER)
Notes
Notes: svn path=/head/; revision=62970
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cdpr/Makefile9
-rw-r--r--net-mgmt/cdpr/distinfo2
2 files changed, 7 insertions, 4 deletions
diff --git a/net-mgmt/cdpr/Makefile b/net-mgmt/cdpr/Makefile
index bfed19f6561c..cc9a2a143ea3 100644
--- a/net-mgmt/cdpr/Makefile
+++ b/net-mgmt/cdpr/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= cdpr
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= net
MASTER_SITES= http://www.monkeymental.com/mmfiles/ \
${MASTER_SITE_LOCAL}
@@ -16,11 +16,14 @@ EXTRACT_SUFX= .tgz
MAINTAINER= mich@freebsdcluster.org
-USE_GCC= yes
-ALL_TARGET= cdpr
+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}
diff --git a/net-mgmt/cdpr/distinfo b/net-mgmt/cdpr/distinfo
index a1e9868fc026..2d84f675a668 100644
--- a/net-mgmt/cdpr/distinfo
+++ b/net-mgmt/cdpr/distinfo
@@ -1 +1 @@
-MD5 (cdpr-1.0.4.tgz) = 040e0bc584ac3e003ba559e6c3711baf
+MD5 (cdpr-1.0.5.tgz) = 828094f5e305b0dd5897284d73375bf6