source: trunk/dports/print/gv/Portfile @ 78242

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

gv: update to 3.7.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 78242 2011-04-29 17:58:03Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    gv
7version                 3.7.2
8categories              print
9maintainers             ryandesign openmaintainer
10homepage                http://www.gnu.org/software/gv/
11platforms               darwin
12
13description             PostScript and PDF previewer
14long_description        gv is a X11 PostScript and PDF previewer based on \
15                        Tim Theisen's ghostview-1.5. It uses the Xaw3d \
16                        widget set, thus providing a much nicer look and \
17                        it's said to be a bit faster.
18
19master_sites            gnu
20
21checksums               sha1    d9573e17f5d88d150fccb257ce205dbceab83e8a \
22                        rmd160  89635afe684c3f4795f658f1b8210d53f03568c5
23
24# Xaw3d is not universal
25universal_variant       no
26use_parallel_build      yes
27
28depends_lib             port:xorg-libXinerama \
29                        port:libiconv \
30                        port:Xaw3d \
31                        port:bzip2
32
33depends_run             path:bin/gs:ghostscript
34
35configure.args          --enable-setenv-code \
36                        --x-include=${prefix}/include \
37                        --x-lib=${prefix}/lib
38
39platform darwin {
40    patchfiles-append   patch-src-callbacks.c.diff
41    configure.args-append --enable-SIGCHLD-fallback
42}
43
44platform freebsd {
45    configure.args-append --enable-SIGCHLD-fallback
46}
47
48configure.ldflags-append -liconv
49
50variant letter description {sets default paper size to letter} {
51    configure.args-append --with-default-papersize=letter
52}
53
54destroot.keepdirs       ${destroot}${prefix}/share/gv/safe-gs-workdir
Note: See TracBrowser for help on using the repository browser.