forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPortfile
38 lines (32 loc) · 1.13 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id$
PortSystem 1.0
name librfc822
version 1.0
categories mail
platforms darwin
license GPL-2
maintainers nomaintainer
description complete parser for RFC822 addresses
long_description librfc822 provides application developers with a complete \
parser for RFC822 addresses. Not only can you use the \
library to verify that RFC822 addresses are syntactically \
correct, you can also have an address split up into its \
semantic parts, what is needed when deciding where to \
route an address to, etc.
homepage http://cryp.to/librfc822/
master_sites ${homepage}
checksums md5 4dca8e2b6fe3ffaabc5f3b9c493e57c6
use_configure no
test.run yes
test.target test
post-test {
system "cd ${worksrcpath} && echo ${maintainers} | ./test"
}
destroot {
xinstall -m 644 ${worksrcpath}/librfc822.a ${destroot}${prefix}/lib
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
xinstall -m 644 -W ${worksrcpath} LICENSE README VERSION \
${destroot}${prefix}/share/doc/${name}/
xinstall -m 644 -W ${worksrcpath}/documentation peti.css readme.html \
readme.txt user-manual.html ${destroot}${prefix}/share/doc/${name}/
}