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

Last change on this file since 50388 was 50388, checked in by devans@…, 11 years ago

djvulibre: fix livecheck, add mode line, white space cleanup.

  • 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 50388 2009-04-30 02:40:16Z devans@macports.org $
3
4PortSystem 1.0
5
6name            djvulibre
7version         3.5.21
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 on a screen and consume less client resources than competing \
17                            formats.
18
19homepage        http://djvu.sourceforge.net/
20master_sites    sourceforge:djvu
21
22checksums       md5     4c6f3eb03ffbd067b6d2fe2344b0d9ad \
23                sha1    a6ef5cb1445baa333883754c703abd75cc5b34f6 \
24                rmd160  2163b784d705cc7b55bb3d9c9eb85edec44f28a7
25                   
26depends_lib     port:libiconv \
27                port:jpeg \
28                port:tiff \
29                port:libpng \
30                port:zlib
31
32configure.args  --mandir=${prefix}/share/man \
33                --enable-threads \
34                --enable-shared \
35                --enable-xmltools \
36                --disable-djview
37               
38patchfiles      patch-djvulibre.diff
39patch.pre_args  -p1
40
41variant djview3 description {Build the (outdated) djview3 viewer. The newer QT4-based viewer called 'djview4' is now a separate package called 'djview'.} {
42    depends_lib-append          port:qt3
43    configure.args-delete       --disable-djview
44    configure.args-append       --with-qt=${prefix}/lib/qt3
45    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"
46}
47
48livecheck.regex  "(?i)<title>${name} (.*) released.*</title>"
Note: See TracBrowser for help on using the repository browser.