1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name foobar |
---|
6 | version 0.1 |
---|
7 | revision 0 |
---|
8 | categories devel |
---|
9 | maintainers nomaintainer |
---|
10 | platforms darwin |
---|
11 | |
---|
12 | description ${name} is a fake port. |
---|
13 | long_description ${description} |
---|
14 | homepage http://www.example.com/ |
---|
15 | |
---|
16 | livecheck.check none |
---|
17 | |
---|
18 | fetch {} |
---|
19 | master_sites ${homepage} |
---|
20 | |
---|
21 | checksum {} |
---|
22 | extract {} |
---|
23 | patch {} |
---|
24 | |
---|
25 | use_configure no |
---|
26 | |
---|
27 | build {} |
---|
28 | test {} |
---|
29 | |
---|
30 | destroot { |
---|
31 | xinstall -d ${destroot}${prefix}/share/doc/${name}-${version} |
---|
32 | system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}-${version}/README.txt" |
---|
33 | } |
---|
34 | |
---|
35 | notes 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 |
---|