aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/termit
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/termit')
-rw-r--r--x11-toolkits/termit/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/x11-toolkits/termit/Makefile b/x11-toolkits/termit/Makefile
index 5564cc60e384..2173aceda324 100644
--- a/x11-toolkits/termit/Makefile
+++ b/x11-toolkits/termit/Makefile
@@ -34,21 +34,15 @@ MAN1= ${PORTNAME}.1
TERMIT_ETC= ${PREFIX}/etc/xdg/${PORTNAME}
-OPTIONS_DEFINE= DEBUG
+OPTIONS_DEFINE= DEBUG DOCS NLS
+OPTIONS_SUB= yes
-.include <bsd.port.options.mk>
+DEBUG_CMAKE_ON= -DDEBUG:BOOL=YES
-.if ${PORT_OPTIONS:MDEBUG}
-CMAKE_ARGS+= -DDEBUG:BOOL=YES
-.endif
+NLS_CMAKE_OFF= -DENABLE_NLS:BOOL=NO
+NLS_USES= gettext
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
-.else
-CMAKE_ARGS+= -DENABLE_NLS:BOOL=NO
-PLIST_SUB+= NLS="@comment "
-.endif
+.include <bsd.port.options.mk>
post-patch:
.if ${PORT_OPTIONS:MDOCS}