summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-07-15 10:18:22 +0000
committerroberto <roberto@FreeBSD.org>2002-07-15 10:18:22 +0000
commitba1f77524939f9407454bec994afe976afefb1e7 (patch)
tree5155d1dd313d9dab5258bc6faf27a02dad700f52 /net
parent73ae6ceeff8faccc504d0cf8389046b58a7fcd00 (diff)
downloadFreeBSD-ports-ba1f77524939f9407454bec994afe976afefb1e7.zip
FreeBSD-ports-ba1f77524939f9407454bec994afe976afefb1e7.tar.gz
Update to 1.0.5 and respect CFLAGS/LDFLAGS.
PR: ports/40591 Submitted by: Michael Hostbaek <mich@freebsdcluster.org> (MAINTAINER)
Diffstat (limited to 'net')
-rw-r--r--net/cdpr/Makefile9
-rw-r--r--net/cdpr/distinfo2
2 files changed, 7 insertions, 4 deletions
diff --git a/net/cdpr/Makefile b/net/cdpr/Makefile
index bfed19f..cc9a2a1 100644
--- a/net/cdpr/Makefile
+++ b/net/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/cdpr/distinfo b/net/cdpr/distinfo
index a1e9868..2d84f67 100644
--- a/net/cdpr/distinfo
+++ b/net/cdpr/distinfo
@@ -1 +1 @@
-MD5 (cdpr-1.0.4.tgz) = 040e0bc584ac3e003ba559e6c3711baf
+MD5 (cdpr-1.0.5.tgz) = 828094f5e305b0dd5897284d73375bf6
OpenPOWER on IntegriCloud