diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-11-27 05:52:15 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-11-27 05:52:15 +0000 |
commit | 052f6d24e49d9ecf01267374b6e87531bf151489 (patch) | |
tree | e57f23a7232dde90e9d8e3a02699299becf80012 /dns | |
parent | 83be817c30f819e6bca722a81653b2307b032819 (diff) | |
download | ports-052f6d24e49d9ecf01267374b6e87531bf151489.tar.gz ports-052f6d24e49d9ecf01267374b6e87531bf151489.zip |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/ddclient/Makefile | 35 | ||||
-rw-r--r-- | dns/ddclient/distinfo | 4 | ||||
-rw-r--r-- | dns/ddclient/files/ddclient.sh | 4 | ||||
-rw-r--r-- | dns/ddclient/pkg-plist | 12 |
4 files changed, 27 insertions, 28 deletions
diff --git a/dns/ddclient/Makefile b/dns/ddclient/Makefile index c842ad3cd6cc..b831fa029a0a 100644 --- a/dns/ddclient/Makefile +++ b/dns/ddclient/Makefile @@ -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> diff --git a/dns/ddclient/distinfo b/dns/ddclient/distinfo index c1a4fa0a7128..40b35f2940fa 100644 --- a/dns/ddclient/distinfo +++ b/dns/ddclient/distinfo @@ -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 diff --git a/dns/ddclient/files/ddclient.sh b/dns/ddclient/files/ddclient.sh index ff8d78ddc20f..acfb2d529408 100644 --- a/dns/ddclient/files/ddclient.sh +++ b/dns/ddclient/files/ddclient.sh @@ -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" # diff --git a/dns/ddclient/pkg-plist b/dns/ddclient/pkg-plist deleted file mode 100644 index 7b2f0da17451..000000000000 --- a/dns/ddclient/pkg-plist +++ /dev/null @@ -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 |