Skip to content
Browse files

bump version

cleanup whitespace
take maintainership
steal mww's eval
steal mww's systemstarter outline
Submitted by:
Reviewed by:
Approved by:
Obtained from:

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Charlie Allom
Charlie Allom committed Oct 11, 2005
1 parent 06dd8d7 commit 946c2cebc0430ee0f9cd01b532b89d21d17aa664
Showing with 39 additions and 33 deletions.
  1. +39 −33 net/ddclient/Portfile
@@ -1,41 +1,47 @@
# $Id: Portfile,v 1.13 2005/08/11 21:33:23 rshaw Exp $
# $Id: Portfile,v 1.14 2005/10/11 13:33:09 yeled Exp $
PortSystem 1.0
name ddclient
version 3.6.3beta2
revision 3
version 3.6.6
platforms darwin
categories net
description Update dynamic DNS entries
long_description ddclient is a Perl client used to update dynamic \
DNS entries for accounts on many dynamic DNS services.
master_sites opendarwin
checksums md5 98edbaea5459f47eb9164f8e58bc162a
depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup

configure { reinplace "s|\[\r\]$||" ${worksrcpath}/${portname}
reinplace "s|^#!.*/perl.*$|#!/usr/bin/env perl|" ${worksrcpath}/${portname}
reinplace "s|/etc/|${prefix}/etc/|" ${worksrcpath}/${portname} }

build { file copy -force ${portpath}/files/ ${worksrcpath}/
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/ }

destroot { system "install -m 755 -d ${destroot}${prefix}/etc"
system "install -m 555 ${worksrcpath}/sample-etc_ddclient.conf \
reinplace "s|/var/run|${prefix}/var/run|" ${destroot}${prefix}/etc/ddclient.conf.sample
system "install -m 755 -d ${destroot}${prefix}/sbin"
system "install -m 555 ${worksrcpath}/${portname} \
system "install -m 755 -d ${destroot}${prefix}/etc/rc.d"
system "install -m 755 -c ${worksrcpath}/ ${destroot}${prefix}/etc/rc.d/"
system "install -m 755 -d ${destroot}${prefix}/share/doc/${portname}"
system "install -m 444 ${worksrcpath}/COPY* \
system "install -m 444 ${worksrcpath}/README* \
system "install -m 444 ${worksrcpath}/sample-* \
destroot.keepdirs ${destroot}${prefix}/var/run }
master_sites sourceforge:ddclient
checksums md5 9bdc93c0352c5fcc650773da7ecedb6d

configure {
reinplace "s|\[\r\]$||" ${worksrcpath}/${portname}
reinplace "s|^#!.*/perl.*$|#!${prefix}/bin/perl|" ${worksrcpath}/${portname}
reinplace "s|/etc/|${prefix}/etc/|" ${worksrcpath}/${portname}

build {}

destroot {
xinstall -m 555 ${worksrcpath}/sample-etc_ddclient.conf \

reinplace "s|/var/run|${prefix}/var/run|" \

xinstall -m 555 ${worksrcpath}/${portname} ${destroot}${prefix}/sbin
xinstall -d ${destroot}${prefix}/share/doc/${portname}

eval file copy [glob ${worksrcpath}/sample-*] \
eval file copy [glob ${worksrcpath}/COPY*] \
eval file copy [glob ${worksrcpath}/README*] \

destroot.keepdirs ${destroot}${prefix}/var/run

startupitem.create yes
startupitem.start ${prefix}/sbin/ddclient
startupitem.stop "/bin/kill \$(cat ${prefix}/var/run/"

0 comments on commit 946c2ce

Please sign in to comment.
You can’t perform that action at this time.