1 | # $Id: Portfile 25847 2007-06-03 16:55:21Z nox@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name jpeg |
---|
5 | version 6b |
---|
6 | revision 2 |
---|
7 | categories graphics |
---|
8 | maintainers waqar@macports.org |
---|
9 | description Library for manipulating JPEG images |
---|
10 | long_description \ |
---|
11 | This distribution contains the sixth public release of the \ |
---|
12 | Independent JPEG Group's free JPEG software. You are welcome \ |
---|
13 | to redistribute this software and to use it for any purpose, \ |
---|
14 | subject to the conditions under LEGAL ISSUES, below. \ |
---|
15 | Serious users of this software (particularly those \ |
---|
16 | incorporating it into larger programs) should contact IJG at \ |
---|
17 | jpeg-info@uunet.uu.net to be added to our electronic mailing \ |
---|
18 | list. Mailing list members are notified of updates and have \ |
---|
19 | a chance to participate in technical discussions, etc. |
---|
20 | |
---|
21 | homepage http://www.ijg.org/ |
---|
22 | platforms darwin freebsd sunos |
---|
23 | master_sites http://www.ijg.org/files \ |
---|
24 | ftp://ftp.uu.net/graphics/jpeg \ |
---|
25 | http://sylvana.net/jpegcrop/:drop |
---|
26 | |
---|
27 | distname ${name}src.v${version} |
---|
28 | worksrcdir ${name}-${version} |
---|
29 | set jpegmain ${distname}${extract.suffix} |
---|
30 | distfiles ${jpegmain} \ |
---|
31 | droppatch.tar.gz:drop |
---|
32 | |
---|
33 | checksums ${jpegmain} md5 dbd5f3b47ed13132f04c685d608a7547 \ |
---|
34 | droppatch.tar.gz md5 511c39779ac96cd41ca1e0a87b239287 |
---|
35 | extract.only ${jpegmain} |
---|
36 | |
---|
37 | patchfiles patch-config.sub patch-config.guess patch-ltmain.sh \ |
---|
38 | patch-ltconfig patch-makefile.cfg |
---|
39 | post-patch { |
---|
40 | reinplace "s|(prefix)/man|(prefix)/share/man|g" makefile.cfg |
---|
41 | cd ${worksrcpath} |
---|
42 | system "tar zxf ${distpath}/droppatch.tar.gz" |
---|
43 | } |
---|
44 | |
---|
45 | configure.args --enable-shared --enable-static |
---|
46 | destroot.destdir prefix=${destroot}${prefix} |
---|
47 | pre-destroot { |
---|
48 | xinstall -d ${destroot}${prefix}/bin |
---|
49 | xinstall -d ${destroot}${prefix}/share/man/man1 |
---|
50 | xinstall -d ${destroot}${prefix}/include |
---|
51 | xinstall -d ${destroot}${prefix}/lib |
---|
52 | } |
---|
53 | |
---|
54 | |
---|
55 | livecheck.check regex |
---|
56 | livecheck.url [lindex $master_sites 0]/?M=D |
---|
57 | livecheck.regex [suffix ${name}src.v(.*?)] |
---|