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

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

gv: fix "sed: RE error: illegal byte sequence" build error

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 96550 2012-08-14 02:21:21Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    gv
7version                 3.7.3.90
8revision                1
9categories              print
10maintainers             ryandesign openmaintainer
11homepage                http://www.gnu.org/software/gv/
12platforms               darwin
13license                 GPL-3+
14
15description             PostScript and PDF previewer
16long_description        gv is a X11 PostScript and PDF previewer based on \
17                        Tim Theisen's ghostview-1.5. It uses the Xaw3d \
18                        widget set, thus providing a much nicer look and \
19                        it's said to be a bit faster.
20
21#master_sites            gnu
22master_sites            ftp://alpha.gnu.org/gnu/gv
23
24checksums               rmd160  901d4a9f6cb5050586e22d983e7be96158e642bb \
25                        sha256  2824aefb0cbced31def7a815e1d6f00e17f47a4cb5ed1be93e4d259c7b64b63f
26
27use_parallel_build      yes
28
29depends_build           port:pkgconfig
30
31depends_lib             port:xorg-libXinerama \
32                        port:libiconv \
33                        port:Xaw3d \
34                        port:bzip2
35
36depends_run             path:bin/gs:ghostscript
37
38patchfiles              patch-src-Makefile.in.diff
39
40configure.args          --enable-setenv-code \
41                        --enable-international \
42                        --x-include=${prefix}/include \
43                        --x-lib=${prefix}/lib
44
45platform darwin {
46    configure.args-append --enable-SIGCHLD-fallback
47}
48
49platform freebsd {
50    configure.args-append --enable-SIGCHLD-fallback
51}
52
53configure.ldflags-append -liconv
54
55variant letter description {sets default paper size to letter} {
56    configure.args-append --with-default-papersize=letter
57}
58
59destroot.keepdirs       ${destroot}${prefix}/share/gv/safe-gs-workdir
60
61post-destroot {
62    set docdir ${destroot}${prefix}/share/doc/${name}
63    xinstall -d ${docdir}
64    xinstall -m 644 -W ${worksrcpath} \
65        AUTHORS \
66        COPYING \
67        ChangeLog \
68        NEWS \
69        README \
70        ${docdir}
71}
Note: See TracBrowser for help on using the repository browser.