-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
74 lines (59 loc) · 1.69 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# -*- 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
PortSystem 1.0
PortGroup legacysupport 1.0
name xorg-libXfont
version 1.5.4
revision 2
categories x11 devel
license X11 BSD
maintainers {jeremyhu @jeremyhu} openmaintainer
description X.org libXfont
homepage https://www.x.org
platforms darwin macosx
long_description X font handling library for server and utilities
master_sites xorg:individual/lib/
distname libXfont-${version}
checksums rmd160 0217438df91751a7d95d617d444be970301c238a \
sha256 1a7f7490774c87f2052d146d1e0e64518d32e6848184a18654e8d0bb57883242 \
size 528883
use_bzip2 yes
use_parallel_build yes
depends_build \
port:pkgconfig \
port:xorg-util-macros \
port:xorg-xtrans
depends_lib \
port:freetype \
port:xorg-libfontenc \
port:bzip2 \
port:zlib \
port:xorg-xorgproto
configure.args \
--with-bzip2 \
--without-xmlto \
--without-fop \
--disable-devel-docs
build.args V=1
# Depending on ghostscript for the PDF documentation creates a dependency
# loop, so you may want to install first without the docs variant
variant docs description "Install extra documentation" {
depends_build-append \
port:fop \
port:xmlto
depends_skip_archcheck-append \
xmlto
configure.args-delete \
--without-xmlto \
--without-fop \
--disable-devel-docs
configure.args-append \
--with-xmlto \
--with-fop \
--enable-devel-docs
configure.env-append \
XMLTO=${prefix}/bin/xmlto \
FOP=${prefix}/bin/fop
}
livecheck.type regex
livecheck.url https://xorg.freedesktop.org/archive/individual/lib/?C=M&O=D
livecheck.regex libXfont-(\\d+(?:\\.\\d+)*)