source: trunk/dports/mail/librfc822/Portfile

Last change on this file was 95113, checked in by mww@…, 5 years ago

librfc822: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 95113 2012-07-05 20:54:35Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    librfc822
6version                 1.0
7categories              mail
8platforms               darwin
9license                 GPL-2
10maintainers             nomaintainer
11description             complete parser for RFC822 addresses
12long_description        librfc822 provides application developers with a complete \
13                                        parser for RFC822 addresses. Not only can you use the \
14                                        library to verify that RFC822 addresses are syntactically \
15                                        correct, you can also have an address split up into its \
16                                        semantic parts, what is needed when deciding where to \
17                                        route an address to, etc.
18
19homepage                http://cryp.to/librfc822/
20master_sites    ${homepage}
21checksums       md5 4dca8e2b6fe3ffaabc5f3b9c493e57c6
22
23use_configure   no
24
25test.run                yes
26test.target             test
27post-test       {
28        system "cd ${worksrcpath} && echo ${maintainers} | ./test"
29}
30
31destroot        {
32        xinstall -m 644 ${worksrcpath}/librfc822.a ${destroot}${prefix}/lib
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
34        xinstall -m 644 -W ${worksrcpath} LICENSE README VERSION \
35                ${destroot}${prefix}/share/doc/${name}/
36        xinstall -m 644 -W ${worksrcpath}/documentation peti.css readme.html \
37                readme.txt user-manual.html ${destroot}${prefix}/share/doc/${name}/
38}
Note: See TracBrowser for help on using the repository browser.