aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/termit
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2013-07-11 03:41:30 +0800
committerpawel <pawel@FreeBSD.org>2013-07-11 03:41:30 +0800
commit4682c2c61dcb7a63ae78f7c087ba5d0bda84f154 (patch)
treef00883f68004a81b9e525ad5cc94de309898b666 /x11-toolkits/termit
parent31dd4fd824aafa89c7f4eb95e23f32974c053110 (diff)
downloadfreebsd-ports-graphics-4682c2c61dcb7a63ae78f7c087ba5d0bda84f154.tar.gz
freebsd-ports-graphics-4682c2c61dcb7a63ae78f7c087ba5d0bda84f154.tar.zst
freebsd-ports-graphics-4682c2c61dcb7a63ae78f7c087ba5d0bda84f154.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
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 5564cc60e38..2173aceda32 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}
td>-2/+2 * - Fix breakage in the DYNAMIC-enabled ports triggered by the recentpgj2013-02-061-2/+2 * - Update The Glorious Glasgow Haskell Compiler to version 7.4.2pgj2012-12-201-2/+2