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

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

All ports: Remove reference to $x11prefix

Now that the X11 libs are provided by MacPorts and the +system_x11
compatability variant is gone, there is no need to use the system X11 libs and
headers. Users can still use the system X11 server (or any server for that
matter).

Some ports have received revision bumps becasue they were previously referring
to x11prefix even when the users were not using +system_x11. The revision
bump fixes the reference and forces a rebuild. Other ports have NOT received
revision bumps because they should be identical to what would've been
installed by default (-system_x11) before this patch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $
2
3PortSystem              1.0
4
5name                    gv
6version                 3.6.7
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     fdad147dd0440446cf9daaffca83343f \
20                        sha1    41a3a32f6d4dc1548237dbae831d2e557fbb197b \
21                        rmd160  a83400ac322ce4d3a00f21622870deda1eef184c
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             port:xorg-libXinerama \
32                        port:Xaw3d \
33                        port:bzip2
34
35depends_run             bin:gs:ghostscript
36
37platform darwin {
38    patchfiles-append   patch-callbacks.c.diff
39}
40
41platform freebsd {
42    patchfiles-append   patch-callbacks.c.diff
43}
44
45use_autoreconf          yes
46autoreconf.args         -fvi
47
48configure.args          --enable-setenv-code \
49                        --x-include=${prefix}/include \
50                        --x-lib=${prefix}/lib
51
52variant letter description {sets default paper size to letter} {
53    configure.args-append --with-default-papersize=letter
54}
55
Note: See TracBrowser for help on using the repository browser.