pkgsrc-wip/kde4/l10n.mk
2008-11-06 11:17:54 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: l10n.mk,v 1.1 2008/11/06 11:17:54 mwdavies Exp $
# This file provides useful defaults for the l10n packages of koffice.
#
# The following variables shall be defined when using this file.
#
# KDE_LANGCODE
# The language code (e.g. de, pt_BR)
#
# KDE_LANGUAGE
# The full name of the language (e.g. German, Brasilian)
#
DISTNAME= kde-l10n-${KDE_LANGCODE}-${_KDE_VERSION}
PKGNAME= ${DISTNAME:S/kde-/kde4-/}
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_KDE_I18N}
COMMENT= ${KOFFICE_LANGUAGE} language pack for KDE4
.include "../../wip/kde4/Makefile.kde4"
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= msgfmt
BUILDLINK_DEPMETHOD.qt4-libs= build
BUILDLINK_DEPMETHOD.qt4-qdbus= build
BUILDLINK_DEPMETHOD.kdelibs= build
SUBST_CLASSES+= pofix
SUBST_STAGE.pofix= post-patch
SUBST_MESSAGE.pofix= Fixup po files that use new features
SUBST_FILES.pofix= messages/*/*.po
SUBST_FILTER_CMD.pofix= ${AWK} -f ${PKGDIR}/../../wip/kde4/files/msgfmtstrip
.include "../../wip/kde4/kde4.mk"
.include "../../wip/kdelibs4/buildlink3.mk"