1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/graphics/gimp-help/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

64 lines
1.4 KiB
Makefile

# 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
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:tu}
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:tu}_DESC= ${${lang}_NAME}
${lang:tu}_RUN_DEPENDS= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
ALL_RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
.endfor
.include <bsd.port.mk>