diff options
author | pawel <pawel@FreeBSD.org> | 2013-07-11 03:41:30 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-07-11 03:41:30 +0800 |
commit | 4682c2c61dcb7a63ae78f7c087ba5d0bda84f154 (patch) | |
tree | f00883f68004a81b9e525ad5cc94de309898b666 /x11-toolkits/termit | |
parent | 31dd4fd824aafa89c7f4eb95e23f32974c053110 (diff) | |
download | freebsd-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/Makefile | 18 |
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} |