Changeset View
Changeset View
Standalone View
Standalone View
textproc/fcitx5/Makefile
# Created by: Ka Ho Ng <khng300@gmail.com> | # Created by: Ka Ho Ng <khng300@gmail.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= fcitx5 | PORTNAME= fcitx5 | ||||
DISTVERSION= 5.0.3-31 | DISTVERSION= 5.0.4 | ||||
CATEGORIES= textproc | CATEGORIES= textproc | ||||
MASTER_SITES= https://download.fcitx-im.org/data/:dict | MASTER_SITES= https://download.fcitx-im.org/data/:dict | ||||
DISTFILES= ${SPELL_EN_DICT_TAR}:dict | DISTFILES= ${SPELL_EN_DICT_TAR}:dict | ||||
DIST_SUBDIR= ${PORTNAME} | DIST_SUBDIR= ${PORTNAME} | ||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} | ||||
MAINTAINER= khng300@gmail.com | MAINTAINER= khng300@gmail.com | ||||
COMMENT= New implementation of the Fcitx IME framework | COMMENT= New implementation of the Fcitx IME framework | ||||
Show All 10 Lines | LIB_DEPENDS= libdbus-1.so:devel/dbus \ | ||||
libexpat.so:textproc/expat2 \ | libexpat.so:textproc/expat2 \ | ||||
libjson-c.so:devel/json-c | libjson-c.so:devel/json-c | ||||
RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ | RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ | ||||
xkeyboard-config>=0:x11/xkeyboard-config | xkeyboard-config>=0:x11/xkeyboard-config | ||||
# gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts | # gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts | ||||
USES= cmake compiler:c++17-lang gettext-runtime gettext-tools:build,run gl gnome kde:5 pkgconfig | USES= cmake compiler:c++17-lang gettext-runtime gettext-tools:build,run gl gnome kde:5 pkgconfig | ||||
PLIST_SUB= VER=${PORTVERSION} | |||||
CONFLICTS= zh-fcitx | CONFLICTS= zh-fcitx | ||||
OPTIONS_DEFINE= X11 WAYLAND ENCHANT | OPTIONS_DEFINE= X11 WAYLAND ENCHANT | ||||
OPTIONS_DEFAULT= X11 WAYLAND ENCHANT | OPTIONS_DEFAULT= X11 WAYLAND ENCHANT | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
Show All 22 Lines | |||||
USE_GNOME= cairo glib20 gdkpixbuf2 pango | USE_GNOME= cairo glib20 gdkpixbuf2 pango | ||||
USE_KDE= ecm | USE_KDE= ecm | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= fcitx | GH_ACCOUNT= fcitx | ||||
GH_TAGNAME= 49c79b4 | |||||
SPELL_EN_DICT_VER= 20121020 # This must follow src/modules/spell/dict/CMakeLists.txt0 | # These must follow src/modules/spell/dict/CMakeLists.txt | ||||
SPELL_EN_DICT_VER= 20121020 | |||||
SPELL_EN_DICT_TAR= en_dict-${SPELL_EN_DICT_VER}.tar.gz | SPELL_EN_DICT_TAR= en_dict-${SPELL_EN_DICT_VER}.tar.gz | ||||
post-extract: | post-extract: | ||||
${CP} ${DISTDIR}/${DIST_SUBDIR}/${SPELL_EN_DICT_TAR} ${WRKSRC}/src/modules/spell/dict | ${CP} ${DISTDIR}/${DIST_SUBDIR}/${SPELL_EN_DICT_TAR} ${WRKSRC}/src/modules/spell/dict | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |