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

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

gv: autoreconf to find X11 better rather than using --x-include and --x-lib, not universal (due to Xaw3d), builds parallel, added missing dependencies (bzip2 and libXinerama)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 43690 2008-12-13 23:24:39Z jeremyhu@macports.org $
2
3PortSystem              1.0
4
5name                    gv
6version                 3.6.6
7categories              print
8maintainers             ryandesign openmaintainer
9homepage                http://www.gnu.org/software/gv/
10platforms               darwin
11
12description             PostScript and PDF previewer
13long_description        gv is a X11 PostScript and PDF previewer based on \
14                        Tim Theisen's ghostview-1.5. It uses the Xaw3d \
15                        widget set, thus providing a much nicer look and \
16                        it's said to be a bit faster.
17
18master_sites            gnu
19checksums               md5     0b9c02724af876d9e5556c4e957b6343 \
20                        sha1    01047040c0f6081609b51a6bdd6f9275293654a7 \
21                        rmd160  40f7654ffb799fb508dce077b49eb02982319e8b
22
23# Xaw3d is not universal
24universal_variant       no
25use_parallel_build      yes
26
27depends_build           port:autoconf \
28                        port:automake \
29                        port:libtool
30
31depends_lib             lib:libXinerama.1:xorg-libXinerama \
32                        port:Xaw3d \
33                        port:bzip2
34
35depends_run             bin:gs:ghostscript
36
37platform darwin {
38    patchfiles-append   patch-secscanf.c.diff
39}
40
41use_autoconf            yes
42autoconf.cmd            autoreconf
43autoconf.args           -fvi
44
45configure.args          --enable-setenv-code
46
47variant letter description {sets default paper size to letter} {
48    configure.args-append --with-default-papersize=letter
49}
Note: See TracBrowser for help on using the repository browser.