source: trunk/dports/graphics/gimp-help-en/Portfile

Last change on this file was 128017, checked in by devans@…, 3 years ago

gimp-help-en: update to version 2.8.2, drop python variants and use python27, update livecheck url.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 128017 2014-11-10 21:54:57Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6set gname       gimp-help
7set lingua      en
8name            ${gname}-${lingua}
9version         2.8.2
10license         GFDL-1.2
11categories      graphics
12maintainers     devans openmaintainer
13
14description     The GIMP HTML help pages
15
16long_description \
17                ${description} are intended to be used with the built-in \
18                GIMP Help Browser, but can be viewed in any other browser as well.
19
20homepage        http://docs.gimp.org/
21platforms       darwin
22supported_archs noarch
23
24master_sites    gimp:gimp/help
25
26use_bzip2       yes
27
28checksums       rmd160  1b2bd82224abd9eee39e6e795368af28074161e2 \
29                sha256  e5658f1553428898bc23f07eedbb87e259ef9010fcf55b99b364f07d143b6e57
30
31distname        ${gname}-${version}
32dist_subdir     ${gname}
33
34depends_build   port:pkgconfig \
35                port:coreutils \
36                port:docbook-xml \
37                port:docbook-xsl \
38                port:gawk \
39                port:gsed \
40                port:libxslt \
41                port:libxml2 \
42                port:gettext \
43                port:pngcrush \
44                port:py27-libxml2
45
46post-patch {
47    reinplace "s|#!/usr/bin/env python|#!${configure.python}|" \
48        ${worksrcpath}/tools/xml2po.py
49}
50
51configure.args  --without-gimp
52
53configure.env   ALL_LINGUAS='${lingua}'
54configure.python ${prefix}/bin/python2.7
55
56livecheck.type  regex
57livecheck.url   http://download.gimp.org/pub/gimp/help/
58livecheck.regex ${gname}-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.