summaryrefslogtreecommitdiff
path: root/x11/kde3-i18n-ko/Makefile
blob: 05b8a98ca91891cebc6b51fd32acddf8e4e427a0 (plain)
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
# $NetBSD: Makefile,v 1.40 2014/01/01 11:52:41 wiz Exp $

DISTNAME=	kde-i18n-ko-${_KDE_VERSION}
PKGREVISION=	23
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_KDE_I18N}

COMMENT=	Language bindings for the KDE desktop

.include "../../meta-pkgs/kde3/Makefile.kde3"

USE_TOOLS+=		msgfmt
BUILDLINK_DEPMETHOD.qt3-libs=	build
BUILDLINK_DEPMETHOD.kdelibs=	build

SUBST_CLASSES+=		common
SUBST_STAGE.common=	post-patch
SUBST_MESSAGE.common=	Fix common documentation path.
SUBST_FILES.common=	docs/common/Makefile.in
SUBST_SED.common=	-e s:/docs/common:/common:

SUBST_CLASSES+=		msgctxt
SUBST_STAGE.msgctxt=	post-patch
SUBST_MESSAGE.msgctxt=	Delete msgctxt lines.
SUBST_FILES.msgctxt=	messages/kdenetwork/krfb.po \
			messages/kdenetwork/knewsticker.po \
			messages/kdebase/kcmicons.po \
			messages/kdebase/drkonqi.po \
			messages/kdebase/filetypes.po \
			messages/kdebase/kcmcgi.po \
			messages/kdebase/kcmbackground.po \
			messages/kdebase/kcmcomponentchooser.po
SUBST_SED.msgctxt=	-e "/ msgctxt /d"

.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"