Ticket #16988: djview-Portfile

File djview-Portfile, 1.3 KB (added by mroman@…, 16 years ago)
Line 
1# -*- coding: utf-8;
2# $Id$
3
4PortSystem 1.0
5
6name       djview
7version    4.4
8categories      aqua graphics www
9platforms       darwin
10maintainers     nomaintainer
11
12description     Web centric format designed for distributing documents and images. Viewer.
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
21distname        ${name}4-${version}
22checksums       md5 466225c5546aed90008d612cdb490a4e
23
24depends_lib     port:djvulibre \
25                port:pkgconfig \
26                port:qt4-mac
27
28configure.args --disable-nsdejavu \
29                --disable-desktopfiles \
30                QMAKESPEC=macx-g++
31
32# Can be removed once MacPorts 1.7.0 is released
33if {![info exists applications_dir]} {
34    set applications_dir /Applications/MacPorts
35}
36
37destroot {
38    xinstall -m 755 -d ${destroot}${applications_dir}
39    copy ${worksrcpath}/src/djview.app ${destroot}/Applications/MacPorts
40}