| @@ -1,40 +1,32 @@ | | | @@ -1,40 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.47 2023/11/08 13:19:45 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.48 2023/11/16 12:01:08 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= ibus-array-0.1.0 | | 3 | DISTNAME= ibus-array-0.2.2 |
4 | PKGREVISION= 26 | | | |
5 | CATEGORIES= inputmethod chinese | | 4 | CATEGORIES= inputmethod chinese |
6 | MASTER_SITES= http://ibus-array.googlecode.com/svn/tarballs/ | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=lexical/} |
7 | EXTRACT_SUFX= .tgz | | 6 | GITHUB_TAG= release-${PKGVERSION_NOREV} |
8 | | | 7 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://code.google.com/archive/p/ibus-array/ | | 9 | HOMEPAGE= https://github.com/lexical/ibus-array/ |
11 | COMMENT= Array 30 Input Method for iBus | | 10 | COMMENT= Array 30 Input Method for iBus |
12 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
13 | | | 12 | |
14 | DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject32 | | 13 | DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3 |
15 | | | | |
16 | PYTHON_VERSIONS_ACCEPTED= 27 | | | |
17 | | | 14 | |
18 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
19 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
20 | USE_PKGLOCALEDIR= yes | | 17 | USE_PKGLOCALEDIR= yes |
21 | USE_TOOLS+= gmake pkg-config automake autoconf autopoint msgfmt msgmerge | | 18 | USE_TOOLS+= gmake pkg-config automake autoconf autopoint autoreconf msgfmt msgmerge |
22 | | | | |
23 | WRKSRC= ${WRKDIR} | | | |
24 | | | 19 | |
25 | PY_PATCHPLIST= yes | | 20 | PY_PATCHPLIST= yes |
26 | | | 21 | |
27 | pre-configure: | | 22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
28 | ${RUN}cd ${WRKSRC};${PKGSRC_SETENV} ${CONFIGURE_ENV} ./autogen.sh | | | |
29 | | | 23 | |
30 | SUBST_CLASSES+= epython | | 24 | pre-configure: |
31 | SUBST_STAGE.epython= pre-configure | | 25 | ${RUN}cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoreconf -fiv |
32 | SUBST_FILES.epython= setup/ibus-setup-array.in | | | |
33 | SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g' | | | |
34 | | | 26 | |
35 | .include "../../databases/sqlite3/buildlink3.mk" | | 27 | .include "../../databases/sqlite3/buildlink3.mk" |
36 | .include "../../devel/gettext-lib/buildlink3.mk" | | 28 | .include "../../devel/gettext-lib/buildlink3.mk" |
37 | .include "../../lang/python/application.mk" | | 29 | .include "../../lang/python/application.mk" |
38 | .include "../../lang/python/extension.mk" | | 30 | .include "../../lang/python/extension.mk" |
39 | .include "../../inputmethod/ibus/buildlink3.mk" | | 31 | .include "../../inputmethod/ibus/buildlink3.mk" |
40 | .include "../../mk/bsd.pkg.mk" | | 32 | .include "../../mk/bsd.pkg.mk" |