aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipcheck/Makefile
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/ipcheck/Makefile
parent41375a7fa3ba02e9cf4d8448e52eb7e6aaf3a4ed (diff)
downloadfreebsd-ports-graphics-37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd.tar.gz
freebsd-ports-graphics-37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd.tar.zst
freebsd-ports-graphics-37a43dfd3cd3a54cc3207c6a319b0e292b80f6fd.zip
Update to 0.169
Diffstat (limited to 'net/ipcheck/Makefile')
-rw-r--r--net/ipcheck/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/net/ipcheck/Makefile b/net/ipcheck/Makefile
index a82808b9f34..dcdf558817a 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!" \