PORTNAME= cskk DISTVERSIONPREFIX= v DISTVERSION= 3.1.2 PORTREVISION= 2 CATEGORIES= japanese MAINTAINER= syobon@syobon.net COMMENT= SKK (Simple Kana Kanji henkan) library WWW= https://github.com/naokiri/cskk LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= cargo-cbuild:devel/cargo-c LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cargo localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= naokiri USE_LDCONFIG= ${PREFIX}/lib/cskk PLIST_SUB= VERSION=${DISTVERSION} \ VERSION_MAJOR=${DISTVERSION:R:R} do-build: @${CARGO_CARGO_RUN} cbuild ${CARGO_BUILD_ARGS} do-install: @${CARGO_CARGO_RUN} cinstall \ --destdir "${STAGEDIR}" \ --prefix "${PREFIX}" \ --pkgconfigdir "${PREFIX}/libdata/pkgconfig" \ ${CARGO_INSTALL_ARGS} .include