| @@ -1,26 +1,34 @@ | | | @@ -1,26 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.18 2013/02/16 11:22:46 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.19 2013/03/20 05:59:01 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= scim-ccinput-0.3.1 | | 4 | DISTNAME= scim-ccinput-0.3.1 |
5 | PKGREVISION= 14 | | 5 | PKGREVISION= 15 |
6 | CATEGORIES= inputmethod chinese | | 6 | CATEGORIES= inputmethod chinese |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scim/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scim/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= obache@NetBSD.org | | 10 | MAINTAINER= obache@NetBSD.org |
11 | HOMEPAGE= http://www.scim-im.org/ | | 11 | HOMEPAGE= http://www.scim-im.org/ |
12 | COMMENT= SCIM IMEngine module for CCInput | | 12 | COMMENT= SCIM IMEngine module for CCInput |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
17 | USE_PKGLOCALEDIR= yes | | 17 | USE_PKGLOCALEDIR= yes |
18 | USE_LANGUAGES= c c++ | | 18 | USE_LANGUAGES= c c++ |
19 | USE_TOOLS+= pkg-config bash msgfmt | | 19 | USE_TOOLS+= pkg-config bash msgfmt |
20 | CONFIG_SHELL= ${BASH} | | 20 | CONFIG_SHELL= ${BASH} |
21 | | | 21 | |
22 | USE_SCIM_GTKUTILS= yes | | 22 | USE_SCIM_GTKUTILS= yes |
23 | | | 23 | |
| | | 24 | SUBST_CLASSES+= localedir |
| | | 25 | SUBST_STAGE.localedir= pre-configure |
| | | 26 | SUBST_SED.localedir+= -e 's,\$$(datadir)/locale,@prefix@/${PKGLOCALEDIR}/locale,' |
| | | 27 | SUBST_SED.localedir+= -e 's,/usr/share/locale,${PREFIX}/${PKGLOCALEDIR}/locale,' |
| | | 28 | SUBST_FILES.localedir= po/Makefile.am po/Makefile.in |
| | | 29 | SUBST_FILES.localedir+= scim/IMEngine/scim_ccin_imengine.cpp |
| | | 30 | SUBST_FILES.localedir+= scim/SetupUI/scim_ccin_imengine_setup.cpp |
| | | 31 | |
24 | .include "../../devel/gettext-lib/buildlink3.mk" | | 32 | .include "../../devel/gettext-lib/buildlink3.mk" |
25 | .include "../../inputmethod/scim/buildlink3.mk" | | 33 | .include "../../inputmethod/scim/buildlink3.mk" |
26 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |