source: trunk/dports/science/setiathome/Portfile

Last change on this file was 56184, checked in by ryandesign@…, 8 years ago

"use_configure no" instead of "configure {}"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 56184 2009-08-25 06:11:10Z ryandesign@macports.org $
2
3PortSystem 1.0
4name                    setiathome
5version                 3.03
6revision                1
7categories              science
8platforms               darwin
9maintainers             nomaintainer
10homepage                http://setiathome.ssl.berkeley.edu/
11description             UNIX version of the Seti@home client
12
13long_description        setiathome is the UNIX version of the SETI@home client. \
14                        It downloads radio telescope data from a network server, \
15                        analyzes the data looking for signals of extraterrestrial \
16                        origin, and uploads results to the server, repeating this \
17                        cycle indefinitely.
18
19master_sites            ftp://alien.ssl.berkeley.edu/pub/
20checksums               md5 40c17734b40d2c47aad3a82e1b7ffc18
21
22distname                ${name}-${version}.powerpc-apple-darwin1.2
23
24extract.suffix          .tar
25extract.cmd             tar
26extract.pre_args        -xf
27
28patchfiles              patch-README.diff
29
30use_configure           no
31build                   {}
32
33pre-destroot            { system "mv ${worksrcpath}/README ${worksrcpath}/${name}.1" }
34
35destroot {              file mkdir ${destroot}${prefix}/libexec/${name}
36                        file mkdir ${destroot}${prefix}/share/man/man1
37                        file copy ${worksrcpath}/setiathome \
38                                ${destroot}${prefix}/libexec/${name}
39                        file copy ${worksrcpath}/${name}.1 \
40                                ${destroot}${prefix}/share/man/man1
41                        }
42
43# Notify the user where is the binary
44post-install {          ui_msg "\n###################################"
45                        ui_msg "${name} has been installed into:\n"
46                        ui_msg "${prefix}/libexec/${name}\n"
47                        ui_msg "as ${name} creates a bunch of"
48                        ui_msg "*.sah files.\n"
49                        ui_msg "So you should launch it within that"
50                        ui_msg "directory.\n"
51                        ui_msg "###################################\n"
52                        }
Note: See TracBrowser for help on using the repository browser.