aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-help/Makefile
blob: 76390a6ac70d127114641b7d8f32c943b6717902 (plain) (blame)
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
59
60
61
62
63
64
65
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gimp-help
PORTVERSION=	2.8.1
CATEGORIES=	graphics
PKGNAMESUFFIX=	-html
DISTFILES=	# none

MAINTAINER=	liangtai.s16@gmail.com
COMMENT=	The meta port for GIMP User Manual

LICENSE=	GFDL

.MAKE.FreeBSD_UL=	yes

NO_BUILD=	yes
NO_INSTALL=	yes
NO_MTREE=	yes

LANG_ALL_HTML=	ca da de el en en_GB es fr it ja ko nl nn \
		pt_BR ru sl sv zh_CN

de_PORT=	german/gimp-help
fr_PORT=	french/gimp-help
ja_PORT=	japanese/gimp-help
ko_PORT=	korean/gimp-help
pt_BR_PORT=	portuguese/gimp-help-pt_BR
ru_PORT=	russian/gimp-help
zh_CN_PORT=	chinese/gimp-help-zh_CN

# you can find more in ${PORTSDIR}/misc/kde4-l10n/files/kde4-lang-names
ca_NAME=	Catalan
da_NAME=	Danish
de_NAME=	German
el_NAME=	Greek
en_NAME=	English
en_GB_NAME=	British English
es_NAME=	Spanish
fr_NAME=	French
it_NAME=	Italian
ja_NAME=	Japanese
ko_NAME=	Korean
nl_NAME=	Dutch
nn_NAME=	Norwegian Nynorsk
pt_BR_NAME=	Brazilian Portuguese
ru_NAME=	Russian
sl_NAME=	Slovenian
sv_NAME=	Swedish
zh_CN_NAME=	Chinese Simplified

OPTIONS_DEFINE=	ALL ${LANG_ALL_HTML:U}
OPTIONS_DEFAULT=	ALL
ALL_DESC=	All translations

.for lang in ${LANG_ALL_HTML}
${lang}_DETECT?=	${LOCALBASE}/share/gimp/help/${lang}/index.html
${lang}_PORT?=		misc/gimp-help-${lang}
${lang}_NAME?=		${lang}
${lang:U}_DESC=		${${lang}_NAME}
${lang:U}_RUN_DEPENDS=	${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
ALL_RUN_DEPENDS+=	${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
.endfor

.include <bsd.port.mk>