aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2012-09-06 22:42:44 +0800
committernobutaka <nobutaka@FreeBSD.org>2012-09-06 22:42:44 +0800
commit18dc1ca918d05037cf6d9fbf618902e180db1a23 (patch)
tree529ed9f801cf42620f487b1f4e8ce98c81cbe62c /x11
parentd17313a25642cb9e26400b08fe4e08bb05adf55f (diff)
downloadfreebsd-ports-gnome-18dc1ca918d05037cf6d9fbf618902e180db1a23.tar.gz
freebsd-ports-gnome-18dc1ca918d05037cf6d9fbf618902e180db1a23.tar.zst
freebsd-ports-gnome-18dc1ca918d05037cf6d9fbf618902e180db1a23.zip
Add SIXEL option.
PR: ports/171308 Submitted by: IWAMOTO Kouichi <sue@iwmt.org>
Diffstat (limited to 'x11')
-rw-r--r--x11/mlterm/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile
index 9b48ea0dae25..007c594d5a59 100644
--- a/x11/mlterm/Makefile
+++ b/x11/mlterm/Makefile
@@ -33,7 +33,8 @@ OPTIONS= FRIBIDI "Use Fribidi for BiDi rendering" off \
M17NLIB "m17n library support (experimental)" off \
SCIM "SCIM support (experimental)" off \
IBUS "IBUS support (experimental)" off \
- CAIRO "Use Cairo for type engine (experimental)" off
+ CAIRO "Use Cairo for type engine (experimental)" off \
+ SIXEL "Sixel graphics support" off
.include <bsd.port.pre.mk>
@@ -96,6 +97,14 @@ CONFIGURE_ARGS+= --with-type-engines="xcore,xft"
PLIST_SUB+= CAIRO="@comment "
.endif
+.if defined(WITH_SIXEL)
+CONFIGURE_ARGS+= --enable-sixel
+PLIST_SUB+= SIXEL=""
+.else
+CONFIGURE_ARGS+= --disable-sixel
+PLIST_SUB+= SIXEL="@comment "
+.endif
+
.if ${OSVERSION} >= 900004
MAKE_ENV= LIBS_LOCAL=-lutempter
.else