# $Id: Portfile,v 1.8 2005/04/19 05:47:32 yeled Exp $ PortSystem 1.0 name dnetc version 2.9009.494 categories net maintainers yeled@opendarwin.org description distributed.net client long_description distributed.net believes in the capability and potential \ of distributed computing. Their mission consists of three \ interdependent goals: development, deployment, and \ advocacy, to be pursued in the advancement of distributed \ computing. \ They advocate distributed computing, by encouraging global \ participation and contributions of processing power, \ bandwidth, and expertise\; by providing a forum for \ discussion\; and by raising awareness on the Internet and \ in the mainstream. homepage http://distributed.net/ platforms darwin distfiles dnetc-macosx-ppc.tar.gz checksums md5 c1c5774655e39a0c3de8f67fe1f03edc master_sites ftp://ftp.distributed.net/pub/dcti/current-client/ \ http://http.distributed.net/pub/dcti/current-client/ worksrcdir dnetc494-macosx-ppc depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup configure {} build {} destroot { file mkdir ${destroot}${prefix}/bin file mkdir ${destroot}${prefix}/share/doc/${name} system "install -m 755 ${worksrcpath}/dnetc ${destroot}${prefix}/bin" system "install -m 644 ${worksrcpath}/docs/* ${destroot}${prefix}/share/doc/${name}" system "install -o root -m 755 -d ${destroot}${prefix}/etc/rc.d" system "install -o root -m 755 -c \ ${portpath}/files/dnetc.sh ${destroot}${prefix}/etc/rc.d" reinplace "s|__PREFIX|${prefix}|g" \ ${destroot}${prefix}/etc/rc.d/dnetc.sh } post-install { ui_msg "===============================================================================\n" ui_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" ui_msg "===============================================================================\n" }