source: trunk/dports/net/dnetc/Portfile @ 4502

Last change on this file since 4502 was 4502, checked in by yeled, 17 years ago

change my email
add ui_msg
Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 2.0 KB
Line 
1# $Id: Portfile,v 1.2 2004/01/07 00:12:50 yeled Exp $
2
3PortSystem      1.0
4name            dnetc
5version         2.9005.484
6categories      net
7maintainers     yeled@opendarwin.org
8description     distributed.net client
9long_description  distributed.net believes in the capability and potential \
10                of distributed computing. Their mission consists of three \
11                interdependent goals: development, deployment, and \
12                advocacy, to be pursued in the advancement of distributed \
13                computing. \
14                They advocate distributed computing, by encouraging global \
15                participation and contributions of processing power, \
16                bandwidth, and expertise\; by providing a forum for \
17                discussion\; and by raising awareness on the Internet and \
18                in the mainstream.
19
20homepage        http://distributed.net/
21platforms       darwin
22distfiles       dnetc-macosx-ppc.tar.gz
23checksums       md5 8da11892b7640fb14c9d2b5ab7b3d8ef
24master_sites    ftp://ftp.distributed.net/pub/dcti/current-client/ \
25                http://http.distributed.net/pub/dcti/current-client/
26worksrcdir      dnetc484-macosx-ppc
27depends_run     path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup
28
29configure {}
30build     {}
31destroot  {
32  file mkdir ${destroot}${prefix}/bin
33  system "install -m 755 ${worksrcpath}/dnetc ${destroot}${prefix}/bin"
34  system "install -m 644 ${worksrcpath}/dnetc.1 ${destroot}${prefix}/man/man1"
35  system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d"
36  system "install -o root -m 755 -c \
37    ${portpath}/files/dnetc.sh ${destroot}${prefix}/etc/rc.d"
38  reinplace "s|__PREFIX|${prefix}|g" \
39    ${destroot}${prefix}/etc/rc.d/dnetc.sh
40}
41
42ui_msg "===============================================================================\n"
43ui_msg "Please Note! You _will_ need to run this with -config the first time you run it, or exec the rc.d/dnetc.sh.\n"
44ui_msg "===============================================================================\n"
Note: See TracBrowser for help on using the repository browser.