freebsd-ports/graphics/gimp-help/Makefile
Max Brazhnikov 8b1904c105 gimp-help is now a meta port
pass maintainership to submitter

PR:		ports/145650, ports/145652
Submitted by:	SimaMoto, RyoTa <liangtai.s4 at gmail.com>
Approved by:	kwm@ via irc
2010-06-14 20:52:36 +00:00

68 lines
1.4 KiB
Makefile

# New ports collection makefile for: gimp-help
# Date created: 28 May, 2005
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gimp-help
PORTVERSION= 2.6.0
CATEGORIES= graphics
MASTER_SITES= # empty
PKGNAMESUFFIX= -html
DISTFILES= # none
EXTRACT_ONLY= # empty
MAINTAINER= liangtai.s4@gmail.com
COMMENT= The meta port for GIMP User Manual
NO_BUILD= yes
LANG_ALL= de en es fr it ja ko nl nn pl ru sv zh_CN
de_PORT= german/gimp-help
fr_PORT= french/gimp-help
ja_PORT= japanese/gimp-help
ko_PORT= korean/gimp-help
pl_PORT= polish/gimp-help
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
de_NAME= German
en_NAME= English
es_NAME= Spanish
fr_NAME= French
it_NAME= Italian
ja_NAME= Japanese
ko_NAME= Korean
nl_NAME= Dutch
nn_NAME= Norwegian Nynorsk
pl_NAME= Polish
ru_NAME= Russian
sv_NAME= Swedish
zh_CN_NAME= Chinese Simplified
.for lang in ${LANG_ALL}
${lang}_DETECT?= ${LOCALBASE}/share/gimp/help/${lang}/index.html
${lang}_PORT?= misc/gimp-help-${lang}
${lang}_NAME?= ${lang}
.endfor
OPTIONS= ALL "All translations" on
.for lang in ${LANG_ALL}
OPTIONS+= ${lang:U} "${${lang}_NAME}" off
.endfor
.include <bsd.port.options.mk>
.for lang in ${LANG_ALL}
.if defined(WITH_ALL) || defined(WITH_${lang:U})
RUN_DEPENDS+= ${${lang}_DETECT}:${PORTSDIR}/${${lang}_PORT}
.endif
.endfor
do-install:
${DO_NADA}
.include <bsd.port.mk>