# $Id: Portfile 119546 2014-04-30 02:02:08Z jmr@macports.org $ PortSystem 1.0 name ez-ipupdate version 3.0.11b7 categories net license GPL-2+ maintainers nomaintainer platforms darwin freebsd description dynamic dns client long_description ez-ipupdate is a small utility for updating your host \ name at one of the dynamic DNS services. The daemon \ mode is currently not working under Darwin/OS-X. homepage http://www.ez-ipupdate.com master_sites ${homepage}/dist/ checksums md5 525be4550b4461fdf105aed8e753b020 configure.args --cache-file=${prefix}/var/ez-ipupdate platform darwin { configure.cppflags "-D__FreeBSD__" configure.args-append --host=powerpc-apple-freebsd } build.target pre-destroot { reinplace "s|DESTDIR =|DESTDIR = ${destroot}|g" \ ${worksrcpath}/Makefile } set conf ${prefix}/etc/ez-ipupdate.conf post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/README ${worksrcpath}/COPYING \ ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/example.conf \ ${destroot}${conf}.sample reinplace "s|/usr/local/bin/ez-ipupdate|${prefix}/bin/ez-ipupdate|g" \ ${destroot}${conf}.sample } post-install { if { ![file exists ${conf}] } { if { [file exists ${conf}.sample] } { file copy ${conf}.sample ${conf} } } } livecheck.type regex livecheck.regex ${name}-(\[0-9a-z.\]+)\\.tar