summaryrefslogtreecommitdiff
path: root/x11/kde3-i18n-ko/Makefile
blob: 9fc1a78eda8855f17c31867f0ad841075c017278 (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
38
39
# $NetBSD: Makefile,v 1.26 2012/02/06 12:42:09 wiz Exp $

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

COMMENT=	Language bindings for the KDE desktop

PKG_DESTDIR_SUPPORT=	user-destdir

.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"