Ticket #28856: graphicsmagick-jp2-patch.txt

File graphicsmagick-jp2-patch.txt, 622 bytes (added by joel@…, 13 years ago)

Portfile Patch for GraphicsMagick to create jpeg2000 variant

Line 
1*** Portfile.current    2011-03-21 14:43:22.000000000 -0400
2--- Portfile    2011-03-21 14:46:59.000000000 -0400
3***************
4*** 79,84 ****
5--- 79,91 ----
6  test.run                yes
7  test.target             check
8 
9+ variant jpeg2000 description {Activate JPEG2000 support, requires Jasper Library} {
10+     depends_lib-append      port:jasper
11+     archcheck.files-append  lib/libjasper.dylib
12+     configure.args-delete   --with-jp2=no
13+     configure.args-append   --with-jp2=yes
14+ }
15+
16  variant q8 conflicts q16 q32 description {Use 8 bits per pixel quantum} {
17      configure.args-append --with-quantum-depth=8
18  }