| @@ -1,28 +1,34 @@ | | | @@ -1,28 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.1.1.1 2010/08/07 02:07:12 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2010/08/11 12:44:58 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ibus-skk-0.0.10 | | 4 | DISTNAME= ibus-skk-0.0.10 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= inputmethod japanese | | 6 | CATEGORIES= inputmethod japanese |
6 | MASTER_SITES= http://cloud.github.com/downloads/ueno/ibus-skk/ | | 7 | MASTER_SITES= http://cloud.github.com/downloads/ueno/ibus-skk/ |
7 | | | 8 | |
8 | MAINTAINER= obache@NetBSD.org | | 9 | MAINTAINER= obache@NetBSD.org |
9 | HOMEPAGE= http://github.com/ueno/ibus-skk/ | | 10 | HOMEPAGE= http://github.com/ueno/ibus-skk/ |
10 | COMMENT= Japanese SKK input engine for IBus | | 11 | COMMENT= Japanese SKK input engine for IBus |
11 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
12 | | | 13 | |
13 | DEPENDS+= ibus-[0-9]*:../../inputmethod/ibus | | 14 | DEPENDS+= ibus-[0-9]*:../../inputmethod/ibus |
14 | | | 15 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 16 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 17 | |
17 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
18 | USE_LIBTOOL= yes | | 19 | USE_LIBTOOL= yes |
19 | USE_TOOLS+= gmake intltool msgfmt | | 20 | USE_TOOLS+= gmake intltool msgfmt |
20 | | | 21 | |
21 | SUBST_CLASSES+= prefix | | 22 | SUBST_CLASSES+= prefix |
22 | SUBST_STAGE.prefix= post-configure | | 23 | SUBST_STAGE.prefix= post-configure |
23 | SUBST_FILES.prefix= setup/config.py | | 24 | SUBST_FILES.prefix= setup/config.py |
24 | SUBST_SED.prefix= -e 's|/usr/local|${PREFIX}|g' | | 25 | SUBST_SED.prefix= -e 's|/usr/local|${PREFIX}|g' |
25 | | | 26 | |
| | | 27 | SUBST_CLASSES+= epython |
| | | 28 | SUBST_STAGE.epython= pre-configure |
| | | 29 | SUBST_FILES.epython= engine/ibus-engine-skk.in setup/ibus-setup-skk.in |
| | | 30 | SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g' |
| | | 31 | |
26 | .include "../../devel/gettext-lib/buildlink3.mk" | | 32 | .include "../../devel/gettext-lib/buildlink3.mk" |
27 | .include "../../lang/python/application.mk" | | 33 | .include "../../lang/python/application.mk" |
28 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |