-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
58 lines (44 loc) · 1.67 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
# -*- 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
set gname gimp-help
set lingua en
name ${gname}-${lingua}
version 2.10.0
license GFDL-1.2
categories graphics
maintainers {mascguy @mascguy} openmaintainer
description The GIMP HTML help pages
long_description \
${description} are intended to be used with the built-in \
GIMP Help Browser, but can be viewed in any other browser as well.
homepage http://docs.gimp.org/
platforms darwin
supported_archs noarch
master_sites gimp:gimp/help
use_bzip2 yes
checksums rmd160 c79fe9415d9c3fca9c182e8776d29b4da757f5f4 \
sha256 03804fed071b49e5810edd8327868659dfd9932fbf34d34189d56bd0ad539118 \
size 187092180
distname ${gname}-${version}
dist_subdir ${gname}
depends_build port:pkgconfig \
path:libexec/coreutils/libstdbuf.so:coreutils \
port:docbook-xml \
port:docbook-xsl-nons \
port:gawk \
port:gsed \
port:libxslt \
port:libxml2 \
port:gettext \
port:pngcrush \
port:py27-libxml2
post-patch {
reinplace "s|#!/usr/bin/env python|#!${configure.python}|" \
${worksrcpath}/tools/xml2po.py
}
configure.args --without-gimp
configure.env ALL_LINGUAS=${lingua}
configure.python ${prefix}/bin/python2.7
livecheck.type regex
livecheck.url http://download.gimp.org/pub/gimp/help/
livecheck.regex ${gname}-(\\d+(?:\\.\\d+)*)${extract.suffix}