source: trunk/dports/print/gv/Portfile

Last change on this file was 104145, checked in by ryandesign@…, 4 years ago

gv: update to 3.7.4

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
RevLine 
[71090]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
[20372]2# $Id: Portfile 104145 2013-03-18 05:37:00Z ryandesign@macports.org $
[4626]3
[39168]4PortSystem              1.0
[9796]5
[39168]6name                    gv
[104145]7version                 3.7.4
[39168]8categories              print
[40242]9maintainers             ryandesign openmaintainer
[39168]10homepage                http://www.gnu.org/software/gv/
11platforms               darwin
[89338]12license                 GPL-3+
[9796]13
[39168]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.
[9796]19
[104145]20master_sites            gnu
[9796]21
[104145]22checksums               rmd160  2347f27d6caaf4a6791f0f3d8fddf208f10efd66 \
23                        sha256  2162b3b3a95481d3855b3c4e28f974617eef67824523e56e20b56f12fe201a61
[62089]24
[44275]25use_parallel_build      yes
[43690]26
[91413]27depends_build           port:pkgconfig
28
[45603]29depends_lib             port:xorg-libXinerama \
[66885]30                        port:libiconv \
[44275]31                        port:Xaw3d \
32                        port:bzip2
[43690]33
[66885]34depends_run             path:bin/gs:ghostscript
[9796]35
[96550]36patchfiles              patch-src-Makefile.in.diff
37
[67405]38configure.args          --enable-setenv-code \
[91413]39                        --enable-international \
[67405]40                        --x-include=${prefix}/include \
41                        --x-lib=${prefix}/lib
42
[40241]43platform darwin {
[62089]44    configure.args-append --enable-SIGCHLD-fallback
[40241]45}
[38432]46
[48700]47platform freebsd {
[62089]48    configure.args-append --enable-SIGCHLD-fallback
[48700]49}
50
[66885]51configure.ldflags-append -liconv
52
[34861]53variant letter description {sets default paper size to letter} {
[39168]54    configure.args-append --with-default-papersize=letter
[4626]55}
[46265]56
[69075]57destroot.keepdirs       ${destroot}${prefix}/share/gv/safe-gs-workdir
[89338]58
59post-destroot {
60    set docdir ${destroot}${prefix}/share/doc/${name}
61    xinstall -d ${docdir}
62    xinstall -m 644 -W ${worksrcpath} \
63        AUTHORS \
64        COPYING \
65        ChangeLog \
66        NEWS \
67        README \
68        ${docdir}
69}
Note: See TracBrowser for help on using the repository browser.