Ticket #421: Portfile

File Portfile, 1.1 KB (added by lperry (Perry Lee), 15 years ago)
Line 
1# $Id$
2
3PortSystem          1.0
4
5name                foobar
6version             0.1
7revision            0
8categories          devel
9maintainers         nomaintainer
10platforms           darwin
11
12description         ${name} is a fake port.
13long_description    ${description}
14homepage            http://www.example.com/
15
16livecheck.check     none
17
18fetch               {}
19master_sites        ${homepage}
20
21checksum            {}
22extract             {}
23patch               {}
24
25use_configure       no
26
27build               {}
28test                {}
29
30destroot {
31    xinstall -d ${destroot}${prefix}/share/doc/${name}-${version}
32    system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}-${version}/README.txt"
33}
34
35notes               Notes are displayed after activation and via \
36                    action_notes. No manual formatting is needed. Each line's \
37                    width should be limited to the terminal's width (unless \
38                    env(COLUMNS) does not exist). Newlines should also be \
39                    honored.\n\nThis line follows two \\n's.\n\n\nThis line \
40                    follows three \\n's.\n\nfoobar