Ticket #11693: Portfile

File Portfile, 914 bytes (added by julian9@…, 18 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4name            squish
5version         1.10
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 53b171007aaaaf96ee277e833bb756eb
23
24use_configure   no
25
26patchfiles patch-config.diff
27
28destroot        {
29        xinstall -d -m 0755 ${destroot}/${prefix}/include
30        xinstall -d -m 0755 ${destroot}/${prefix}/lib
31        xinstall -m 0644 ${worksrcpath}/lib${name}.a ${destroot}/${prefix}/lib
32        xinstall -m 0644 ${worksrcpath}/${name}.h ${destroot}/${prefix}/include
33}