diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-06-21 16:12:30 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-06-21 16:12:30 +0000 |
commit | 01c4a820a3a20a4551e47f92722429043fb63e6a (patch) | |
tree | 6d44a3533ce0892a0d78f6d868d819e42542252c /dns/ipcheck | |
parent | 4fcd623a911ebff1fb406f959932040af7ed40b2 (diff) | |
download | ports-01c4a820a3a20a4551e47f92722429043fb63e6a.tar.gz ports-01c4a820a3a20a4551e47f92722429043fb63e6a.zip |
Notes
Diffstat (limited to 'dns/ipcheck')
-rw-r--r-- | dns/ipcheck/Makefile | 16 | ||||
-rw-r--r-- | dns/ipcheck/distinfo | 2 |
2 files changed, 14 insertions, 4 deletions
diff --git a/dns/ipcheck/Makefile b/dns/ipcheck/Makefile index a82808b9f34d..dcdf558817ae 100644 --- a/dns/ipcheck/Makefile +++ b/dns/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/dns/ipcheck/distinfo b/dns/ipcheck/distinfo index 886acec7e7c9..00157219bdc0 100644 --- a/dns/ipcheck/distinfo +++ b/dns/ipcheck/distinfo @@ -1 +1 @@ -MD5 (ipcheck.157) = d342d23cff564d2887a6ce92d3dbd10a +MD5 (ipcheck.py) = 1ba060b909041497025ad56631e9fbd8 |