2001-08-26 16:07:09 +00:00
|
|
|
# New ports collection makefile for: ddclient
|
|
|
|
# Date created: Sun Aug 26 14:45:12 CEST 2001
|
|
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ddclient
|
2003-11-07 01:07:05 +00:00
|
|
|
PORTVERSION= 3.6.3
|
2003-09-05 04:54:37 +00:00
|
|
|
CATEGORIES= dns
|
2003-11-03 21:57:55 +00:00
|
|
|
MASTER_SITES= http://members.rogers.com/ddclient/pub/
|
2001-08-26 16:07:09 +00:00
|
|
|
|
2004-02-22 01:40:47 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Update dynamic DNS entries
|
2001-08-26 16:07:09 +00:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
2003-11-07 01:07:05 +00:00
|
|
|
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/ddclient
|
2001-08-26 16:07:09 +00:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample
|
|
|
|
@${MKDIR} ${PREFIX}/share/ddclient
|
|
|
|
.for i in COPYING COPYRIGHT README README.cisco sample-etc_cron.d_ddclient \
|
2003-11-07 01:07:05 +00:00
|
|
|
sample-etc_dhclient-exit-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \
|
2001-08-26 16:07:09 +00:00
|
|
|
sample-etc_ppp_ip-up.local
|
2003-11-07 01:07:05 +00:00
|
|
|
@${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' < ${WRKSRC}/$i > ${WRKDIR}/$i
|
|
|
|
@${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/ddclient
|
2001-08-26 16:07:09 +00:00
|
|
|
.endfor
|
2003-11-07 01:07:05 +00:00
|
|
|
@${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' < ${FILESDIR}/ddclient.sh.sample > ${WRKDIR}/ddclient.sh.sample
|
2001-08-26 16:07:09 +00:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/ddclient.sh.sample ${PREFIX}/etc/rc.d
|
|
|
|
|
2003-11-07 01:07:05 +00:00
|
|
|
@${PERL} -pe 's|/usr/local|${PREFIX}|g' < ${PKGMESSAGE}
|
2001-08-26 16:07:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|