From 87fe054849a2b036c3839f2b55f0f3d6492dd874 Mon Sep 17 00:00:00 2001 From: Charlie Allom Date: Wed, 7 Jan 2004 00:12:50 +0000 Subject: [PATCH] change my email add ui_msg Bug: Submitted by: Reviewed by: Approved by: Obtained from: git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4502 d073be05-634f-4543-b044-5fe20cf6d1d6 --- net/dnetc/Portfile | 78 ++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/net/dnetc/Portfile b/net/dnetc/Portfile index dd0d2119fe262..57bc953a8dbd0 100644 --- a/net/dnetc/Portfile +++ b/net/dnetc/Portfile @@ -1,40 +1,44 @@ -# $Id: Portfile,v 1.1 2003/08/15 15:30:33 fkr Exp $ +# $Id: Portfile,v 1.2 2004/01/07 00:12:50 yeled Exp $ -PortSystem 1.0 -name dnetc -version 2.9005.484 -categories net -maintainers charlie@rubberduck.com -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. \ - *** Please Note! You _will_ need to run this with -config \ - the first time you run it, or exec the rc.d/dnetc.sh. *** +PortSystem 1.0 +name dnetc +version 2.9005.484 +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 8da11892b7640fb14c9d2b5ab7b3d8ef -master_sites ftp://ftp.distributed.net/pub/dcti/current-client/ \ - http://http.distributed.net/pub/dcti/current-client/ -worksrcdir dnetc484-macosx-ppc -depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup +homepage http://distributed.net/ +platforms darwin +distfiles dnetc-macosx-ppc.tar.gz +checksums md5 8da11892b7640fb14c9d2b5ab7b3d8ef +master_sites ftp://ftp.distributed.net/pub/dcti/current-client/ \ + http://http.distributed.net/pub/dcti/current-client/ +worksrcdir dnetc484-macosx-ppc +depends_run path:/Library/StartupItems/DarwinPortsStartup:DarwinPortsStartup -configure {} -build {} -destroot { file mkdir ${destroot}${prefix}/bin - system "install -m 755 ${worksrcpath}/dnetc ${destroot}${prefix}/bin" - system "install -m 644 ${worksrcpath}/dnetc.1 ${destroot}${prefix}/man/man1" - 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 } +configure {} +build {} +destroot { + file mkdir ${destroot}${prefix}/bin + system "install -m 755 ${worksrcpath}/dnetc ${destroot}${prefix}/bin" + system "install -m 644 ${worksrcpath}/dnetc.1 ${destroot}${prefix}/man/man1" + 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 +} + +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"