source: trunk/dports/graphics/jasper/Portfile

Last change on this file was 154464, checked in by jmr@…, 13 months ago

jasper: remove use of -pedantic-errors

Caused build failures with compilers that don't default to C99.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 154464 2016-10-30 06:36:01Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            jasper
6version         1.900.16
7categories      graphics
8platforms       darwin
9license         JasPer-2
10maintainers     jmr openmaintainer
11description     Library for manipulating JPEG-2000 images
12
13long_description \
14    The JasPer Project is an open-source initiative to provide a free \
15    software-based reference implementation of the codec specified in the \
16    JPEG-2000 Part-1 standard (i.e., ISO/IEC 15444-1).
17
18homepage        http://www.ece.uvic.ca/~mdadams/jasper/
19master_sites    ${homepage}software/
20
21checksums       rmd160 16599535d20434aba8b13fa4c0b94ccfaded37af \
22                sha256 349f2261767c51a9e59e37025a027686f45f55cfbb8c46fd55c8697092f9f971
23
24depends_lib     port:jpeg
25
26patchfiles      configure.patch
27
28configure.args  --disable-opengl
29
30test.run        yes
31test.target     check
32
33post-destroot {
34    set docdir ${prefix}/share/doc/${name}
35    xinstall -m 755 -d ${destroot}${docdir}
36    xinstall -m 644 {*}[glob ${worksrcpath}/doc/*] ${destroot}${docdir}
37}
38
39variant jiv description {build a basic viewer as well} {
40    depends_lib-append          port:mesa
41
42    configure.args-delete       --disable-opengl
43    configure.args-append       --enable-opengl
44}
45
46livecheck.type   regex
47livecheck.regex  "JasPer version (.*) source distribution \\\(current version\\\)."
Note: See TracBrowser for help on using the repository browser.