aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/termit
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2013-07-10 19:41:30 +0000
committerPawel Pekala <pawel@FreeBSD.org>2013-07-10 19:41:30 +0000
commite482e392f687b2248d2975d68327324a858e1273 (patch)
treef00883f68004a81b9e525ad5cc94de309898b666 /x11-toolkits/termit
parent5183b406511b98ffef72263a3609234aaaa0d4fb (diff)
downloadports-e482e392f687b2248d2975d68327324a858e1273.tar.gz
ports-e482e392f687b2248d2975d68327324a858e1273.zip
Convert my ports to current standards
- Switch USE_GMAKE to USES=gmake - Define supported options so users can see them in config dialogs - Use OPTIONS_SUB for plist alteration - Convert to options macros for better readability - Use PORTDOCS where it makes sense
Notes
Notes: svn path=/head/; revision=322729
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}