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

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

gv: Move configure.args above configure.args-append

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 67405 2010-05-07 22:51:41Z jeremyhu@macports.org $
2
3PortSystem              1.0
4
5name                    gv
6version                 3.6.9
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
19
20checksums               md5     c7aeb1b695db139b2b4f32084f75d8a9 \
21                        sha1    404026e676a3ea8cf0cabbd078ab3350cdc82fb8 \
22                        rmd160  c12eadb552d7baffb084f18ad60b19949cda71b5
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    configure.args-append --enable-SIGCHLD-fallback
41}
42
43platform freebsd {
44    configure.args-append --enable-SIGCHLD-fallback
45}
46
47configure.ldflags-append -liconv
48
49variant letter description {sets default paper size to letter} {
50    configure.args-append --with-default-papersize=letter
51}
52
Note: See TracBrowser for help on using the repository browser.