Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / gimp-help / Makefile
1 # Created by: Adam Weinberger <adamw@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       gimp-help
5 PORTVERSION=    2.8.1
6 CATEGORIES=     graphics
7 PKGNAMESUFFIX=  -html
8
9 MAINTAINER=     liangtai.s16@gmail.com
10 COMMENT=        The meta port for GIMP User Manual
11
12 LICENSE=        GFDL
13
14 USES=           metaport
15
16 LANG_ALL_HTML=  ca da de el en en_GB es fr it ja ko nl nn \
17                 pt_BR ru sl sv zh_CN
18
19 de_PORT=        german/gimp-help
20 fr_PORT=        french/gimp-help
21 ja_PORT=        japanese/gimp-help
22 ko_PORT=        korean/gimp-help
23 pt_BR_PORT=     portuguese/gimp-help-pt_BR
24 ru_PORT=        russian/gimp-help
25 zh_CN_PORT=     chinese/gimp-help-zh_CN
26
27 LANG_ALL_HTML:= ${LANG_ALL_HTML:Nsl}
28
29 # you can find more in ${PORTSDIR}/misc/kde4-l10n/files/kde4-lang-names
30 ca_NAME=        Catalan
31 da_NAME=        Danish
32 de_NAME=        German
33 el_NAME=        Greek
34 en_NAME=        English
35 en_GB_NAME=     British English
36 es_NAME=        Spanish
37 fr_NAME=        French
38 it_NAME=        Italian
39 ja_NAME=        Japanese
40 ko_NAME=        Korean
41 nl_NAME=        Dutch
42 nn_NAME=        Norwegian Nynorsk
43 pt_BR_NAME=     Brazilian Portuguese
44 ru_NAME=        Russian
45 sl_NAME=        Slovenian
46 sv_NAME=        Swedish
47 zh_CN_NAME=     Chinese Simplified
48
49 OPTIONS_DEFINE= ALL ${LANG_ALL_HTML:tu}
50 OPTIONS_DEFAULT=        ALL
51 ALL_DESC=       All translations
52
53 .for lang in ${LANG_ALL_HTML}
54 ${lang}_DETECT?=        ${LOCALBASE}/share/gimp/help/${lang}/index.html
55 ${lang}_PORT?=          misc/gimp-help-${lang}
56 ${lang}_NAME?=          ${lang}
57 ${lang:tu}_DESC=                ${${lang}_NAME}
58 ${lang:tu}_RUN_DEPENDS= ${${lang}_DETECT}:${${lang}_PORT}
59 ALL_RUN_DEPENDS+=       ${${lang}_DETECT}:${${lang}_PORT}
60 .endfor
61
62 .include <bsd.port.mk>