source: trunk/dports/graphics/gimp-user-manual/Portfile @ 41883

Last change on this file since 41883 was 41883, checked in by devans@…, 9 years ago

gimp-user-manual: simplify path: style dependencies as per #17182.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 5.4 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 41883 2008-11-11 23:20:58Z devans@macports.org $
3
4PortSystem 1.0
5
6name            gimp-user-manual
7version         2.4.2
8categories      graphics
9maintainers     devans
10description     A multilingual user manual for the Gimp (broken).
11long_description \
12        The GIMP User Manual is a newly written User Manual for the GIMP. \
13        It is written for the GIMP Help Browser, but can produce the Help \
14        pages or other mediums as well.
15
16homepage        http://docs.gimp.org/
17platforms       darwin
18
19# FIXME : build is done in destroot phase because
20# everything was getting rebuilt during destroot anyway
21
22pre-fetch {
23    ui_msg "
24    This port installs an obsolete version of the Gimp User Manual
25    that doesn't accurately describe the functionality of the current
26    gimp2 port.
27
28    Proceed at your own risk.
29
30    An updated manual will be provided as soon as it is available from
31    the Gimp Documentation Team.
32    "
33}
34
35build {}
36
37default_variants    +en
38
39distname        gimp-help-${version}
40master_sites    ftp://ftp.gimp.org/pub/gimp/help/ \
41                ftp://ftp.gtk.org/pub/gimp/help/ \
42                http://ftp.gtk.org/pub/gimp/help/ \
43                ftp://ftp.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/help/ \
44                http://www.mirrorservice.org/sites/ftp.gimp.org/pub/gimp/help/ \
45                http://gimp.mirrors.hoobly.com/gimp/help/ \
46                http://gimp.site2nd.org/help/ \
47                http://mirror.umoss.org/gimp/gimp/help/ \
48                ftp://gd.tuwien.ac.at/graphics/gimp/gimp/help/ \
49                ftp://ftp.funet.fi/pub/sci/graphics/packages/gimp/help/ \
50                http://ftp.iut-bm.univ-fcomte.fr/gimp/gimp/help/ \
51                http://gimp.krecio.pl/gimp/help/ \
52                ftp://ftp.gwdg.de/pub/misc/grafik/gimp/gimp/help/ \
53                http://ftp.gwdg.de/pub/misc/grafik/gimp/gimp/help/ \
54                http://mirrors.zerg.biz/gimp/help/ \
55                ftp://ftp.esat.net/mirrors/ftp.gimp.org/pub/gimp/help/ \
56                http://ftp.esat.net/mirrors/ftp.gimp.org/pub/gimp/help/ \
57                ftp://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/gimp/help/ \
58                http://ftp.heanet.ie/mirrors/ftp.gimp.org/pub/gimp/gimp/help/ \
59                ftp://ftp.u-aizu.ac.jp/pub/graphics/tools/gimp/gimp/help/ \
60                ftp://ftp.ring.gr.jp/pub/graphics/gimp/help/ \
61                http://www.ring.gr.jp/pub/graphics/gimp/help/ \
62                ftp://ftp.snt.utwente.nl/pub/software/gimp/gimp/help/ \
63                http://ftp.snt.utwente.nl/pub/software/gimp/gimp/help/ \
64                ftp://sunsite.uio.no/pub/gimp/help/ \
65                ftp://sunsite.icm.edu.pl/pub/graphics/gimp/help/ \
66                ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.gimp.org/pub/gimp/help/ \
67                http://piotrkosoft.net/pub/mirrors/ftp.gimp.org/pub/gimp/help/ \
68                ftp://ftp.iasi.roedu.net/pub/mirrors/ftp.gimp.org/help/ \
69                http://ftp.iasi.roedu.net/mirrors/ftp.gimp.org/help/ \
70                ftp://ftp.sai.msu.su/pub/unix/graphics/gimp/mirror/gimp/help/ \
71                ftp://ftp.is.co.za/mirror/ftp.gimp.org/gimp/help/ \
72                http://sunsite.rediris.es/mirror/gimp/help/ \
73                ftp://ftp.rediris.es/mirror/gimp/help/ \
74                ftp://ftp.acc.umu.se/pub/gimp/gimp/help/ \
75                ftp://ftp.sunet.se/pub/gnu/gimp/help/ \
76                http://ftp.sunet.se/pub/gnu/gimp/help/
77
78use_bzip2       yes
79
80checksums       md5     497e1212cbd1499d151b85dabaa3875c \
81                sha1    461ac31e8299185d3f16c658c5008090691e45ef \
82                rmd160  368c9c75b1a28637091de57edcd26722cf6e199a
83
84depends_build \
85       port:coreutils \
86       port:docbook-xsl \
87       port:docbook-xml-4.3 \
88       port:libxslt \
89       port:pkgconfig \
90       path:lib/pkgconfig/gimp-2.0.pc:gimp2
91
92post-patch {
93       reinplace "s|cp|gcp|g" ${worksrcpath}/Makefile.in
94}
95
96configure.args  --enable-build
97destroot.env    XML_CATALOG_FILES=${prefix}/etc/xml/catalog
98
99variant without_gimp description {Build without GIMP installed} {
100    configure.args-append   --without-gimp
101    depends_build-delete    path:lib/pkgconfig/gimp-2.0.pc:gimp2
102}
103
104variant cs description {Build cs locale} {
105    configure.env-append ALL_LINGUAS=cs
106}
107
108variant de description {Build de locale} {
109    configure.env-append ALL_LINGUAS=de
110}
111
112variant en description {Build en locale} {
113    configure.env-append ALL_LINGUAS=en
114}
115
116variant es description {Build es locale} {
117    configure.env-append ALL_LINGUAS=es
118}
119
120variant fr description {Build fr locale} {
121    configure.env-append ALL_LINGUAS=fr
122}
123
124variant hr description {Build hr locale} {
125    configure.env-append ALL_LINGUAS=hr
126}
127
128variant it description {Build it locale} {
129    configure.env-append ALL_LINGUAS=it
130}
131
132variant ko description {Build ko  locale} {
133    configure.env-append ALL_LINGUAS=ko
134}
135
136variant nl description {Build nl locale} {
137    configure.env-append ALL_LINGUAS=nl
138}
139
140variant no description {Build no locale} {
141    configure.env-append ALL_LINGUAS=no
142}
143
144variant ru description {Build ru locale} {
145    configure.env-append ALL_LINGUAS=ru
146}
147
148variant sv description {Build sv locale} {
149    configure.env-append ALL_LINGUAS=sv
150}
151
152variant zh_CN description {Build zh_CN locale} {
153    configure.env-append ALL_LINGUAS=zh_CN
154}
155
156livecheck.check regex
157livecheck.url   ftp://ftp.gimp.org/pub/gimp/help/
158livecheck.regex "gimp-help-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.