aboutsummaryrefslogtreecommitdiff
path: root/port-files/FreeBSD/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'port-files/FreeBSD/Makefile')
-rw-r--r--port-files/FreeBSD/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/port-files/FreeBSD/Makefile b/port-files/FreeBSD/Makefile
index dc444c31..9b86ada1 100644
--- a/port-files/FreeBSD/Makefile
+++ b/port-files/FreeBSD/Makefile
@@ -25,10 +25,11 @@ LIB_DEPENDS+= libxcb-ewmh.so:x11/xcb-util-wm \
CONFLICTS= lumina-devel-0*
-OPTIONS_DEFINE= MULTIMEDIA TRUEOS
-OPTIONS_DEFAULT= MULTIMEDIA
+OPTIONS_DEFINE= MULTIMEDIA TRUEOS I18N
+OPTIONS_DEFAULT= MULTIMEDIA I18N
MULTIMEDIA_DESC= Install multimedia support backend (gstreamer)
TRUEOS_DESC= Use the TrueOS system interface settings.
+I18N_DESC= Install localization files
.include <bsd.port.options.mk>
@@ -53,4 +54,9 @@ GH_TAGNAME= %%GHTAG%%
QMAKE_ARGS= DEFAULT_SETTINGS=TrueOS
.endif
+.if${PORT_OPTIONS:MI18N}
+USE_QT5+= linguist_build
+QMAKE_ARGS+=CONFIG+=WITH_I18N
+.endif
+
.include <bsd.port.mk>
bgstack15