1 | # $Id: Portfile,v 1.8 2003/08/13 00:05:03 rshaw Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | name ddclient |
---|
4 | version 3.6.3beta2 |
---|
5 | platforms darwin |
---|
6 | categories net |
---|
7 | maintainers robert@or.homeip.net |
---|
8 | description Update dynamic DNS entries |
---|
9 | long_description ddclient is a Perl client used to update dynamic \ |
---|
10 | DNS entries for accounts on many dynamic DNS services. |
---|
11 | homepage http://burry.ca:4141/ddclient/ |
---|
12 | master_sites http://burry.ca:4141/ddclient/ |
---|
13 | checksums md5 98edbaea5459f47eb9164f8e58bc162a |
---|
14 | configure {} |
---|
15 | post-configure { |
---|
16 | reinplace "s|^#!.*/perl\\(.*\\)$|#!/usr/bin/perl\\1|" ${worksrcpath}/${portname} |
---|
17 | reinplace "s|/etc/|${prefix}/etc/|" ${worksrcpath}/${portname} |
---|
18 | } |
---|
19 | build {} |
---|
20 | destroot { |
---|
21 | system "install -m 755 -d ${destroot}${prefix}/etc" |
---|
22 | system "install -m 555 ${worksrcpath}/sample-etc_ddclient.conf \ |
---|
23 | ${destroot}${prefix}/etc/ddclient.conf.sample" |
---|
24 | system "install -m 755 -d ${destroot}${prefix}/sbin" |
---|
25 | system "install -m 555 ${worksrcpath}/${portname} \ |
---|
26 | ${destroot}${prefix}/sbin" |
---|
27 | system "install -m 755 -d ${destroot}${prefix}/share/${portname}" |
---|
28 | system "install -m 444 ${worksrcpath}/COPY* \ |
---|
29 | ${destroot}${prefix}/share/${portname}" |
---|
30 | system "install -m 444 ${worksrcpath}/README* \ |
---|
31 | ${destroot}${prefix}/share/${portname}" |
---|
32 | system "install -m 444 ${worksrcpath}/sample-* \ |
---|
33 | ${destroot}${prefix}/share/${portname}" |
---|
34 | } |
---|
35 | # vim: ts=8 sw=8 |
---|
36 | |
---|