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

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

gv: apply upstream patch to fix runtime error "Unknown keysym name: apLineDel"; see #27937

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