freebsd-ports/dns/ipcheck/Makefile

44 lines
1 KiB
Makefile
Raw Normal View History

# 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
PORTEPOCH= 1
2004-07-21 02:44:58 +02:00
CATEGORIES= dns python
MASTER_SITES= http://ipcheck.sourceforge.net/releases/
MASTER_SITE_SUBDIR= lioux
DISTNAME= ${PORTNAME}.${PORTVERSION:S/^0.//}
EXTRACT_SUFX=
EXTRACT_ONLY=
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-04-03 06:22:20 +02:00
USE_PYTHON= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/ipcheck.py
2002-06-21 18:12:30 +02:00
.ifdef(WITH_SNMP)
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
do-patch:
@${SED} \
-e "s!/usr/bin/python!${LOCALBASE}/bin/python!" \
-e "s!ppp0!tun0!" \
${DISTDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}
do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}.py
.include <bsd.port.mk>