From 37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd Mon Sep 17 00:00:00 2001 From: lioux Date: Fri, 21 Jun 2002 16:12:30 +0000 Subject: Update to 0.169 --- net/ipcheck/Makefile | 16 +++++++++++++--- net/ipcheck/distinfo | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'net') 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 -- cgit