-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
52 lines (38 loc) · 1.55 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# $Id$
PortSystem 1.0
name gv
version 3.7.1
categories print
maintainers ryandesign openmaintainer
homepage http://www.gnu.org/software/gv/
platforms darwin
description PostScript and PDF previewer
long_description gv is a X11 PostScript and PDF previewer based on \
Tim Theisen's ghostview-1.5. It uses the Xaw3d \
widget set, thus providing a much nicer look and \
it's said to be a bit faster.
master_sites gnu
checksums md5 bf4823d00d8e431f97dbcb7dd87c46ac \
sha1 05fcf76f29de77e67379bae7e9ca1c8a26bbf6e1 \
rmd160 ddeef03ff83442379cd02d8ac4491a43c57eeddc
# Xaw3d is not universal
universal_variant no
use_parallel_build yes
depends_lib port:xorg-libXinerama \
port:libiconv \
port:Xaw3d \
port:bzip2
depends_run path:bin/gs:ghostscript
configure.args --enable-setenv-code \
--x-include=${prefix}/include \
--x-lib=${prefix}/lib
platform darwin {
configure.args-append --enable-SIGCHLD-fallback
}
platform freebsd {
configure.args-append --enable-SIGCHLD-fallback
}
configure.ldflags-append -liconv
variant letter description {sets default paper size to letter} {
configure.args-append --with-default-papersize=letter
}