[MAINTAINER] dns/ddclient: update to 3.6.5

- Update to 3.6.5
	- Utilize PORTDOCS and PLIST_FILES
	- Remove pkg-plist

PR:		ports/74334
Submitted by:	Radek Kozlowski <radek@raadradd.com>
This commit is contained in:
Edwin Groothuis 2004-11-27 05:52:15 +00:00
parent 83be817c30
commit 052f6d24e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122566
4 changed files with 27 additions and 28 deletions

View file

@ -6,34 +6,45 @@
#
PORTNAME= ddclient
PORTVERSION= 3.6.4
PORTVERSION= 3.6.5
CATEGORIES= dns
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ddclient
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= radek@raadradd.com
COMMENT= Update dynamic DNS entries
USE_PERL5= yes
NO_BUILD= yes
USE_RC_SUBR= yes
PLIST_FILES= etc/ddclient.conf.sample \
etc/rc.d/ddclient.sh \
sbin/ddclient
PORTDOCS= COPYING COPYRIGHT Changelog README README.cisco \
sample-etc_cron.d_ddclient sample-etc_dhclient-exit-hooks \
sample-etc_dhcpc_dhcpcd-eth0.exe sample-etc_ppp_ip-up.local
post-patch:
@${PERL} -pi -e 's|/etc/ddclient/|${PREFIX}/etc/ddclient/|g' ${WRKSRC}/README
do-install:
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/ddclient
@${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 \
sample-etc_dhclient-exit-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \
sample-etc_ppp_ip-up.local
@${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' < ${WRKSRC}/$i > ${WRKDIR}/$i
@${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/ddclient
.endfor
@${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g' \
< ${FILESDIR}/ddclient.sh > ${WRKDIR}/ddclient.sh
@${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample
@${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin
@${INSTALL_SCRIPT} ${WRKDIR}/ddclient.sh ${PREFIX}/etc/rc.d/
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' < ${WRKSRC}/$i > ${WRKDIR}/$i
@${INSTALL_DATA} ${WRKDIR}/${i} ${DOCSDIR}
.endfor
.endif
@${PERL} -pe 's|/usr/local|${PREFIX}|g' < ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
MD5 (ddclient-3.6.4.tar.gz) = 3f360240cdd8675a5f3d956eb9ee4d78
SIZE (ddclient-3.6.4.tar.gz) = 35460
MD5 (ddclient-3.6.5.tar.gz) = 37656c8becb08e375c91954c25786aef
SIZE (ddclient-3.6.5.tar.gz) = 35726

View file

@ -5,10 +5,10 @@
# PROVIDE: ddclient
# REQUIRE: LOGIN
# KEYWORD: FreeBSD shutdown
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable ddclient:
# Add the following line to /etc/rc.conf to enable ddclient:
#
#ddclient_enable="YES"
#

View file

@ -1,12 +0,0 @@
etc/ddclient.conf.sample
etc/rc.d/ddclient.sh
sbin/ddclient
share/ddclient/COPYING
share/ddclient/COPYRIGHT
share/ddclient/README
share/ddclient/README.cisco
share/ddclient/sample-etc_cron.d_ddclient
share/ddclient/sample-etc_dhclient-exit-hooks
share/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe
share/ddclient/sample-etc_ppp_ip-up.local
@dirrm share/ddclient