source: trunk/dports/net/dnetc/Portfile

Last change on this file was 70414, checked in by mfeiri@…, 7 years ago

update maintainer address

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1# $Id: Portfile 70414 2010-08-08 17:26:29Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            dnetc
6version         2.9105.511b
7set branch      [join [lrange [split ${version} .] 0 1] .]
8set minor       [lindex [split ${version} .] end]
9categories      net
10maintainers     mfeiri
11description     distributed.net client
12long_description  distributed.net believes in the capability and potential \
13                of distributed computing. Their mission consists of three \
14                interdependent goals: development, deployment, and \
15                advocacy, to be pursued in the advancement of distributed \
16                computing. \
17                They advocate distributed computing, by encouraging global \
18                participation and contributions of processing power, \
19                bandwidth, and expertise\; by providing a forum for \
20                discussion\; and by raising awareness on the Internet and \
21                in the mainstream.
22
23homepage        http://distributed.net/
24platforms       darwin
25
26master_sites    ftp://ftp.distributed.net/pub/dcti/v${branch}/ \
27                http://http.distributed.net/pub/dcti/v${branch}/
28
29platform i386 {
30    distname        ${name}${minor}-macosx-x86
31    checksums       md5 ff9cd03f6b41dcb4dc1609189b8844f5 \
32                    sha1 63f327ab925c1cda0ccdba66472cec8ec1c279ae \
33                    rmd160 c8bf288464dca88968f39c936aa8ddf3c5a88824
34    worksrcdir      ${name}511-macosx-x86
35}
36
37platform powerpc {
38    distname        ${name}${minor}-macosx-ppc
39    checksums       md5 d0c9f31951c9767ae83cfa2646c5eb98 \
40                    sha1 7c7bf07f415d367428487b24019c1a84498f8a34 \
41                    rmd160 bebfa883f3c136e45714fe8a77e4577527e8b2ab
42    worksrcdir      ${name}511-macosx-ppc
43}
44
45    startupitem.create    yes
46    startupitem.start "${prefix}/share/${name}/dnetc.init start"
47    startupitem.stop "${prefix}/share/${name}/dnetc.init stop"
48
49use_configure   no
50build     {}
51destroot  {
52  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
53  xinstall -m 755 -d ${destroot}${prefix}/share/${name}
54  xinstall -m 755 -d ${destroot}${prefix}/var/db/${name}
55  destroot.keepdirs  ${destroot}${prefix}/var/db/${name}
56  xinstall -m 755 ${worksrcpath}/dnetc ${destroot}${prefix}/bin
57
58  eval xinstall -m 644 [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/${name}
59  xinstall -m 755 ${portpath}/files/dnetc.init ${destroot}${prefix}/share/${name}
60
61reinplace "s|__PREFIX__|${prefix}|g" \
62    ${destroot}${prefix}/share/${name}/dnetc.init
63}
64
65post-install {
66ui_msg "\n
67=========================================================================
68Please Note! Run dnetc with script ${prefix}/share/${name}/dnetc.init start.
69This script places the dnetc.ini and buffer files in ${prefix}/var/db/${name}.
70The first time the script runs you will be asked to set configuration parameters.
71To change parameters later on, use ${prefix}/share/${name}/dnetc.init config.
72dnetc is also started at system boot via the same startup script.
73==========================================================================\n"
74}
Note: See TracBrowser for help on using the repository browser.