1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name squish |
---|
5 | version 1.9 |
---|
6 | revision 1 |
---|
7 | categories graphics |
---|
8 | maintainers julian9@gmail.com |
---|
9 | description DXT Compression Library |
---|
10 | long_description \ |
---|
11 | DXT compression is a very well-designed compression scheme for \ |
---|
12 | colour textures with an optional alpha channel. The squish library \ |
---|
13 | is a cross-platform open source implementation of DXT compression \ |
---|
14 | (and decompression). |
---|
15 | |
---|
16 | homepage http://www.sjbrown.co.uk/?code=squish |
---|
17 | master_sites http://www.sjbrown.co.uk/files/ |
---|
18 | |
---|
19 | distname ${name}-${version} |
---|
20 | worksrcdir ${name}-${version} |
---|
21 | platforms darwin |
---|
22 | checksums md5 ff02e9c8da406e2bad72c6ccb43b90dc |
---|
23 | |
---|
24 | use_configure no |
---|
25 | |
---|
26 | post-configure { |
---|
27 | reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config |
---|
28 | } |
---|
29 | |
---|
30 | destroot { |
---|
31 | xinstall -d -m 0755 ${destroot}/${prefix}/include |
---|
32 | xinstall -d -m 0755 ${destroot}/${prefix}/lib |
---|
33 | xinstall -m 0644 ${worksrcpath}/lib${name}.a ${destroot}/${prefix}/lib |
---|
34 | xinstall -m 0644 ${worksrcpath}/${name}.h ${destroot}/${prefix}/include |
---|
35 | } |
---|