source: trunk/dports/graphics/squish/Portfile @ 19965

Last change on this file since 19965 was 19965, checked in by digdog@…, 13 years ago

Closes #10841, new port.

File size: 963 bytes
Line 
1# $Id$
2
3PortSystem      1.0
4name            squish
5version         1.9
6revision        1
7categories      graphics
8maintainers     julian9@gmail.com
9description     DXT Compression Library
10long_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
16homepage        http://www.sjbrown.co.uk/?code=squish
17master_sites    http://www.sjbrown.co.uk/files/
18
19distname        ${name}-${version}
20worksrcdir      ${name}-${version}
21platforms       darwin
22checksums       md5 ff02e9c8da406e2bad72c6ccb43b90dc
23
24use_configure   no
25
26post-configure  {
27        reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config
28}
29
30destroot        {
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}
Note: See TracBrowser for help on using the repository browser.