• Install required dependencies either with pkg, or from ports:
pkg install libxml harfbuzz shared-mime-info p5-URI py36-sqlite3 xcb-util-image libxslt xcb-util-wm freetype2 xcb-util-renderutil gettext-runtime fontconfig git bash libxcbcommon xcb-util-keysyms gettext-tools icu python dbus inputproto cmake xorg-fonts pcre png bison xkeyboard-config pkgconf libxcb gpgme p7zip glib python36


portmaster devel/icu devel/pcre devel/dbus x11-fonts/fontconfig print/freetype2 print/harfbuzz graphics/png x11/libxcb x11/xcb-util-image x11/xcb-util-keysyms :x11/xcb-util-renderutil x11/xcb-util-wm x11/libxkbcommon security/gpgme databases/py36-sqlite3 x11/inputproto shells/bash devel/git devel/cmake archivers/p7zip net/p5-URI lang/python lang/python36 x11/xkeyboard-config x11-fonts/xorg-fonts devel/libexecinfo devel/gmake devel/pkgconf devel/gettext-tools devel/gettext-runtime devel/bison misc/shared-mime-info lang/ruby22 textproc/libxslt devel/glib20
  • Prepare some build directory in your home directory, here we assume:
mkdir ~/kf
  • Switch to this build dir
cd ~/kf
  • Get Craft
git clone git://anongit.kde.org/craft.git
  • Copy Mac OS X config template to right location, should be OK to use out of the box
mkdir etc
cp craft/kdesettings.fbsd etc/kdesettings.ini
  • Optional: Adjust craft config to your liking:
ee etc/kdesettings.ini
  • Optional: Run bash if you are running some other shell
  • Setup environment:
source craft/kdeenv.sh
  • In this shell, now craft is usable, e.g. to build Kate with all dependencies:
craft kate

Content is available under Creative Commons License SA 4.0 unless otherwise noted.