1 # Created by: Adam Weinberger <adamw@FreeBSD.org>
9 MAINTAINER= liangtai.s16@gmail.com
10 COMMENT= The meta port for GIMP User Manual
16 LANG_ALL_HTML= ca da de el en en_GB es fr it ja ko nl nn \
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
27 LANG_ALL_HTML:= ${LANG_ALL_HTML:Nsl}
29 # you can find more in ${PORTSDIR}/misc/kde4-l10n/files/kde4-lang-names
35 en_GB_NAME= British English
42 nn_NAME= Norwegian Nynorsk
43 pt_BR_NAME= Brazilian Portuguese
47 zh_CN_NAME= Chinese Simplified
49 OPTIONS_DEFINE= ALL ${LANG_ALL_HTML:tu}
51 ALL_DESC= All translations
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}
62 .include <bsd.port.mk>