aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-06-22 00:12:30 +0800
committerlioux <lioux@FreeBSD.org>2002-06-22 00:12:30 +0800
commit37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd (patch)
tree06e5fb9bddb3da85f5c5d1d2018a92a594d4c320 /net
parent41375a7fa3ba02e9cf4d8448e52eb7e6aaf3a4ed (diff)
downloadfreebsd-ports-gnome-37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd.tar.gz
freebsd-ports-gnome-37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd.tar.zst
freebsd-ports-gnome-37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd.zip
Update to 0.169
Diffstat (limited to 'net')
-rw-r--r--net/ipcheck/Makefile16
-rw-r--r--net/ipcheck/distinfo2
2 files changed, 14 insertions, 4 deletions
diff --git a/net/ipcheck/Makefile b/net/ipcheck/Makefile
index a82808b9f34d..dcdf558817ae 100644
--- a/net/ipcheck/Makefile
+++ b/net/ipcheck/Makefile
@@ -6,11 +6,12 @@
#
PORTNAME= ipcheck
-PORTVERSION= 0.157
+PORTVERSION= 0.169
PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= http://ipcheck.sourceforge.net/releases/
-DISTNAME= ${PORTNAME}.${PORTVERSION:S/^0.//}
+MASTER_SITES= http://ipcheck.sourceforge.net/%SUBDIR%/
+MASTER_SITE_SUBDIR= . release
+DISTNAME= ipcheck.py
EXTRACT_SUFX=
EXTRACT_ONLY=
@@ -20,6 +21,15 @@ USE_PYTHON= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
+.ifdef(WITH_SNMP)
+RUN_DEPENDS+= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/pysnmp/v2c.py:${PORTSDIR}/net/py-snmp
+.endif
+
+pre-everything::
+.ifndef(WITH_SNMP)
+ @${ECHO_MSG} '===> Enable SNMP support by defining WITH_SNMP'
+.endif
+
do-patch:
@${SED} -e "s!/usr/bin/python!${LOCALBASE}/bin/python!" \
-e "s!ppp0!tun0!" \
diff --git a/net/ipcheck/distinfo b/net/ipcheck/distinfo
index 886acec7e7c9..00157219bdc0 100644
--- a/net/ipcheck/distinfo
+++ b/net/ipcheck/distinfo
@@ -1 +1 @@
-MD5 (ipcheck.157) = d342d23cff564d2887a6ce92d3dbd10a
+MD5 (ipcheck.py) = 1ba060b909041497025ad56631e9fbd8