summaryrefslogtreecommitdiffstats
path: root/dns/ipcheck/Makefile
blob: 84f78f01e7dc7eeb6261909349624a8768bc8464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=	ipcheck
PORTVERSION=	0.240
PORTEPOCH=	1
CATEGORIES=	dns python
MASTER_SITES=	http://ipcheck.sourceforge.net/releases/
DISTNAME=	${PORTNAME}.${PORTVERSION:S/^0.//}
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Fully compliant DynDNS.org client for UNIX (supports NIC v2.0)

LICENSE=	GPLv2

USES=		python
NO_WRKSUBDIR=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/ipcheck.py

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} \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}.py

.include <bsd.port.mk>
OpenPOWER on IntegriCloud