source: trunk/dports/gnome/evince/Portfile @ 38750

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

nomaintainer ports: allow pango or pango-devel to satisfy pango dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 38750 2008-07-30 07:07:11Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            evince
6version         2.22.1.1
7description     Evince is a document viewer for multiple document formats like pdf, and many others.
8long_description        ${description}
9maintainers     nomaintainer
10categories      gnome print
11platforms       darwin
12homepage        http://www.gnome.org/
13master_sites    gnome:sources/evince/2.22/
14use_bzip2       yes
15checksums       md5 568ff7211a185d71d0e9de15a07f4987
16depends_lib     \
17    port:atk \
18    port:audiofile \
19    port:cairo \
20    port:dbus \
21    port:dbus-glib \
22    port:esound \
23    port:expat \
24    port:fontconfig \
25    port:freetype \
26    port:gconf \
27    port:gettext \
28    path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
29    port:gnome-keyring \
30    port:gnome-icon-theme \
31    port:gnome-vfs \
32    port:gtk2 \
33    port:hicolor-icon-theme \
34    port:jpeg \
35    port:libart_lgpl \
36    port:libglade2 \
37    port:libgnome \
38    port:libgnomecanvas \
39    port:libgnomeui \
40    port:libiconv \
41    port:libpng \
42    port:libxml2 \
43    port:libxslt \
44    port:nautilus \
45    port:openssl \
46    path:${prefix}/lib/pkgconfig/pango.pc:pango \
47    port:gdk-pixbuf \
48    port:poppler \
49    port:popt \
50    port:tiff \
51    port:zlib
52depends_build   \
53    port:gnome-doc-utils \
54    port:m4 \
55    port:perl5.8 \
56    port:pkgconfig \
57    port:rarian
58
59variant djvu description {Builds against port:djvulibre} {
60    depends_lib-append port:djvulibre
61}
62
63configure.args  \
64    --disable-scrollkeeper \
65    --enable-nautilus \
66    --with-print=gtk \
67    --enable-pixbuf \
68    --mandir=${prefix}/share/man
69configure.ldflags-append -lstdc++
70configure.cflags-append -D__DARWIN_UNIX03=1
71pre-build       {
72    # remove Russian translation since it botches the build for now
73    file delete ${worksrcdir}/help/ru
74}
75
76post-activate   {
77    system "${prefix}/bin/scrollkeeper-update"
78    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
79}
Note: See TracBrowser for help on using the repository browser.