Portfile.diff¾
¾
mBINY#Index: Portfile
RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/graphics/jhead/Portfile,v
retrieving revision 1.8
diff -u -r1.8 Portfile
|
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name jhead |
5 | | version 2.2 |
| 5 | version 2.3 |
6 | 6 | categories graphics |
7 | 7 | platforms darwin |
8 | 8 | maintainers simon@cotsworth.com |
… |
… |
|
20 | 20 | be used to launch other programs, similar in style to \ |
21 | 21 | the UNIX find command, but much simpler. |
22 | 22 | |
23 | | homepage http://www.sentex.net/~mwandel/${name}/ |
| 23 | homepage http://www.sentex.net/~mwandel/${name}/ |
24 | 24 | master_sites ${homepage} |
25 | | checksums md5 ba88cad2deaa40d7c1caadc518bcb7e7 |
| 25 | checksums md5 b27c37f1edd25e5f416914ed46ba11fb \ |
| 26 | sha1 37e09315499b66777e5b2b8918e78ff4ca51258d |
26 | 27 | |
27 | 28 | use_configure no |
28 | 29 | |
| 30 | build.args CFLAGS=-O3 |
29 | 31 | build.target jhead |
30 | 32 | |
31 | 33 | destroot { |
32 | | set _d ${destroot}${prefix} |
33 | | set _w ${worksrcpath} |
34 | | set _dd ${_d}/share/doc/${name} |
35 | | |
36 | | xinstall -m 0755 ${_w}/${name} ${_d}/bin |
37 | | |
38 | | system "gunzip ${_w}/${name}.1.gz" |
39 | | xinstall -m 0644 ${_w}/${name}.1 ${_d}/share/man/man1 |
40 | | |
41 | | xinstall -d -m 0755 ${_dd} |
42 | | foreach doc [glob ${_w}/*.\[h-z\]\[a-z\]*] { |
43 | | xinstall -m 0644 $doc ${_dd} |
| 34 | xinstall -m 0755 ${worksrcpath}/${name} \ |
| 35 | ${destroot}${prefix}/bin |
| 36 | |
| 37 | system "gunzip ${worksrcpath}/${name}.1.gz" |
| 38 | xinstall -m 0644 ${worksrcpath}/${name}.1 \ |
| 39 | ${destroot}${prefix}/share/man/man1 |
| 40 | |
| 41 | xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} |
| 42 | foreach doc [glob ${worksrcpath}/*.\[h-z\]\[a-z\]*] { |
| 43 | xinstall -m 0644 $doc \ |
| 44 | ${destroot}${prefix}/share/doc/${name} |
44 | 45 | } |
45 | 46 | } |