source: trunk/dports/graphics/djvulibre/Portfile @ 77313

Last change on this file since 77313 was 77313, checked in by ryandesign@…, 9 years ago

djvulibre: update to 3.5.24; see #28886

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 77313 2011-03-27 01:58:29Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name            djvulibre
7version         3.5.24
8categories      graphics www
9platforms       darwin
10maintainers     nomaintainer
11
12description     Web centric format and software platform for distributing documents and images.
13long_description            DjVu can advantageously replace PDF, PS, TIFF, JPEG, and GIF for \
14                            distributing scanned documents, digital documents, or high-resolution \
15                            pictures. DjVu content downloads faster, displays and renders faster, \
16                            looks nicer onscreen and consumes fewer client resources than competing \
17                            formats.
18
19homepage        http://djvu.sourceforge.net/
20master_sites    sourceforge:djvu
21
22checksums       sha1    075d1d4a333a2fe74e4c9240d853be016e27e983 \
23                rmd160  cee93324ecfa7d832f29f390b4e8d82424b9eed0
24
25depends_lib     port:libiconv \
26                port:jpeg \
27                port:tiff \
28                port:libpng \
29                port:zlib
30
31depends_build   port:ImageMagick
32
33configure.args  --mandir=${prefix}/share/man \
34                --enable-threads \
35                --enable-shared \
36                --enable-xmltools \
37                --disable-djview \
38                --disable-desktopfiles 
39               
40patchfiles      patch-djvulibre.diff
41patch.pre_args  -p1
42
43variant djview3 description {Build the (outdated) djview3 viewer. The newer QT4-based viewer called 'djview4' is now a separate package called 'djview'.} {
44    depends_lib-append          port:qt3
45    configure.args-delete       --disable-djview
46    configure.args-append       --with-qt=${prefix}/lib/qt3
47    configure.ldflags-append    "-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
48}
49
50livecheck.name      djvu
51livecheck.distname  DjVuLibre
Note: See TracBrowser for help on using the repository browser.