source: trunk/dports/graphics/jasper/Portfile @ 64763

Last change on this file since 64763 was 64763, checked in by nox@…, 7 years ago

Update jpeg to 8a and rev-bump all of its direct dependents (#23260)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 64763 2010-03-15 16:31:33Z nox@macports.org $
2
3PortSystem      1.0
4PortGroup       muniversal 1.0
5
6name            jasper
7version         1.900.1
8revision        7
9categories      graphics
10platforms       darwin
11maintainers     nomaintainer
12description     Library for manipulating JPEG-2000 images
13
14long_description \
15    The JasPer Project is an open-source initiative to provide a free \
16    software-based reference implementation of the codec specified in the \
17    JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).
18
19homepage        http://www.ece.uvic.ca/~mdadams/jasper/
20master_sites    ${homepage}software/
21use_zip         yes
22
23checksums       md5     a342b2b4495b3e1394e161eb5d85d754 \
24                sha1    9c5735f773922e580bf98c7c7dfda9bbed4c5191 \
25                rmd160  fb2c188abf5b8c297078ac1f913101734f72db5c
26
27depends_lib     port:jpeg
28
29patchfiles      patch-src_libjasper_base_jas_cm.c.diff \
30                patch-src_libjasper_jpc_jpc_dec.c.diff
31
32configure.args  --enable-shared \
33                --enable-static \
34                --disable-opengl \
35                --mandir=${prefix}/share/man \
36                --infodir=${prefix}/share/info
37
38use_parallel_build  yes
39
40test.run        yes
41test.target     check
42
43post-destroot {
44    set docdir ${prefix}/share/doc/${name}-${version}
45    xinstall -m 755 -d ${destroot}${docdir}
46    eval xinstall -m 644 [glob ${worksrcpath}/doc/*] ${destroot}${docdir}
47}
48
49variant jiv description {build a basic viewer as well} {
50    depends_lib-append          port:mesa
51
52    configure.args-delete       --disable-opengl
53    configure.args-append       --enable-opengl
54}
55
56livecheck.type   regex
57livecheck.regex  "JasPer version (.*) source distribution \\\(current version\\\)."
Note: See TracBrowser for help on using the repository browser.