aboutsummaryrefslogtreecommitdiff
path: root/editors/kakoune
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-04-15 10:20:38 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-04-15 10:20:38 +0000
commit058e1c9a72e89e4c3d60027e40337ab2cefcd6df (patch)
tree9a404e6c9466fff4b5cb5e3b712be8435cd74d15 /editors/kakoune
parent325e583c35573ba11fc215bf8df1892991283282 (diff)
downloadports-058e1c9a72e89e4c3d60027e40337ab2cefcd6df.tar.gz
ports-058e1c9a72e89e4c3d60027e40337ab2cefcd6df.zip
editors/kakoune: Build without debugging support by default
Notes
Notes: svn path=/head/; revision=467380
Diffstat (limited to 'editors/kakoune')
-rw-r--r--editors/kakoune/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/editors/kakoune/Makefile b/editors/kakoune/Makefile
index ce06b7caadae..e1a78d850b85 100644
--- a/editors/kakoune/Makefile
+++ b/editors/kakoune/Makefile
@@ -2,6 +2,7 @@
PORTNAME= kakoune
DISTVERSION= 2018.04.13
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= https://github.com/mawww/kakoune/releases/download/v${DISTVERSION}/
@@ -19,10 +20,14 @@ DATADIR= ${PREFIX}/share/kak
DOCSDIR= ${PREFIX}/share/doc/kak
WRKSRC_SUBDIR= src
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DEBUG DOCS
+
+DEBUG_MAKE_ARGS= debug=yes
+DEBUG_MAKE_ARGS_OFF= debug=no
post-patch:
- @${REINPLACE_CMD} 's,/share/man/,/man/,' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's,/share/man/,/man/,' -e '/-O3/d' \
+ ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kak