2001-03-24 19:49:56 +01:00
|
|
|
# New ports collection makefile for: ipcheck
|
|
|
|
# Date created: 24 Mar 2001
|
|
|
|
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ipcheck
|
2008-11-29 09:42:30 +01:00
|
|
|
PORTVERSION= 0.240
|
2001-12-04 22:37:15 +01:00
|
|
|
PORTEPOCH= 1
|
2004-07-21 02:44:58 +02:00
|
|
|
CATEGORIES= dns python
|
2003-02-17 15:33:59 +01:00
|
|
|
MASTER_SITES= http://ipcheck.sourceforge.net/releases/
|
2002-12-19 01:59:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= lioux
|
2003-02-17 15:33:59 +01:00
|
|
|
DISTNAME= ${PORTNAME}.${PORTVERSION:S/^0.//}
|
|
|
|
EXTRACT_SUFX=
|
|
|
|
EXTRACT_ONLY=
|
2001-03-24 19:49:56 +01:00
|
|
|
|
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2003-02-23 20:58:35 +01:00
|
|
|
COMMENT= A fully compliant DynDNS.org client for UNIX (supports NIC v2.0)
|
2001-03-24 19:49:56 +01:00
|
|
|
|
2001-04-03 06:22:20 +02:00
|
|
|
USE_PYTHON= yes
|
2001-03-24 19:49:56 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/ipcheck.py
|
2001-03-24 19:49:56 +01:00
|
|
|
|
2002-06-21 18:12:30 +02:00
|
|
|
.ifdef(WITH_SNMP)
|
2004-02-23 05:42:13 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/pysnmp/v2c.py:${PORTSDIR}/net-mgmt/py-snmp
|
2002-06-21 18:12:30 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.ifndef(WITH_SNMP)
|
|
|
|
@${ECHO_MSG} '===> Enable SNMP support by defining WITH_SNMP'
|
|
|
|
.endif
|
|
|
|
|
2001-03-24 19:49:56 +01:00
|
|
|
do-patch:
|
2003-02-17 15:33:59 +01:00
|
|
|
@${SED} \
|
2002-12-19 01:59:29 +01:00
|
|
|
-e "s!/usr/bin/python!${LOCALBASE}/bin/python!" \
|
2001-03-24 19:49:56 +01:00
|
|
|
-e "s!ppp0!tun0!" \
|
2003-02-17 15:33:59 +01:00
|
|
|
${DISTDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}
|
2001-03-24 19:49:56 +01:00
|
|
|
do-install:
|
2003-02-17 15:33:59 +01:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}.py
|
2001-03-24 19:49:56 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|