source: trunk/dports/mail/listat/Portfile

Last change on this file was 111224, checked in by jmr@…, 4 years ago

listat: no license info

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 111224 2013-09-17 02:33:18Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    listat
6version                 2.1.1
7set major               [lindex [split ${version} .] 0]
8categories              mail textproc
9license                 none
10platforms               darwin
11maintainers             nomaintainer
12description             generates interesting statistics on mailing list demographics
13long_description        professional package to generate interesting statistics on \
14                                        mailing list demographics.
15
16homepage                http://wordsmith.org/anu/listat/
17master_sites    ${homepage}
18dist_subdir             ${name}/${version}
19distname                ${name}
20worksrcdir              ${name}${major}
21
22checksums               md5     cf423b971ebc95813faebc895d04bae2 \
23                                sha1    76eaf995fe2d6c9343077173580d71ab1ab50576 \
24                                rmd160  8f9eeb926dae002b6deeb3df9e3c6aa72fc2c994
25
26depends_run             path:bin/perl:perl5
27
28patchfiles              patch-listat \
29                                patch-listat.conf \
30                                patch-subdomains.txt
31
32post-patch {
33        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/listat
34}
35
36use_configure   no
37supported_archs noarch
38
39build           {}
40
41destroot        {
42        xinstall -m 755 ${worksrcpath}/listat ${destroot}${prefix}/bin
43        xinstall -m 644 ${worksrcpath}/listat.conf ${destroot}${prefix}/etc
44        xinstall -m 755 -d ${destroot}${prefix}/share/listat/
45        file copy ${worksrcpath}/flags ${destroot}${prefix}/share/listat/
46        xinstall -m 644 -W ${worksrcpath} domains.txt subdomains.txt \
47                ${destroot}${prefix}/share/listat/
48}
Note: See TracBrowser for help on using the repository browser.