f34a8c24a3
This is a semi-manual PKGREVISION bump.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2019/04/25 07:33:00 maya Exp $
|
|
|
|
DISTNAME= ibus-libpinyin-1.6.92
|
|
PKGREVISION= 14
|
|
CATEGORIES= inputmethod chinese
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpinyin/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/libpinyin/ibus-libpinyin/
|
|
COMMENT= Intelligent Pinyin engine based on libpinyin for IBus
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake intltool msgfmt pkg-config
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
|
|
. include "../../devel/libuuid/buildlink3.mk"
|
|
.endif
|
|
|
|
.if (!empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)) || !empty(PKGSRC_COMPILER:Mclang)
|
|
CONFIGURE_ARGS+= --disable-boost
|
|
.else
|
|
CONFIGURE_ARGS+= --enable-boost
|
|
CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-headers}
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../inputmethod/ibus/buildlink3.mk"
|
|
.include "../../textproc/libpinyin/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|