aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-09 14:09:07 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-09 14:09:07 +0000
commita6762746cfcbf625ac672f3d848272fac21fa110 (patch)
treedb91b0925940326cf9f2960b5b4b0873914b2f24 /misc
parentf67c9247dab8a90fa2a62576a4a90e3a346ec951 (diff)
downloadports-a6762746cfcbf625ac672f3d848272fac21fa110.tar.gz
ports-a6762746cfcbf625ac672f3d848272fac21fa110.zip
Update to 1.18
- Remove BASH option: install bash completion file unconditionally Changes: https://github.com/lxi-tools/lxi-tools/releases PR: 225765 Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer)
Notes
Notes: svn path=/head/; revision=461315
Diffstat (limited to 'misc')
-rw-r--r--misc/lxi-tools/Makefile19
-rw-r--r--misc/lxi-tools/distinfo6
2 files changed, 15 insertions, 10 deletions
diff --git a/misc/lxi-tools/Makefile b/misc/lxi-tools/Makefile
index 105d2c403503..7adc30782285 100644
--- a/misc/lxi-tools/Makefile
+++ b/misc/lxi-tools/Makefile
@@ -2,7 +2,7 @@
PORTNAME= lxi-tools
DISTVERSIONPREFIX= v
-DISTVERSION= 1.17
+DISTVERSION= 1.18
CATEGORIES= misc
MAINTAINER= dg@syrec.org
@@ -18,23 +18,28 @@ USE_GITHUB= yes
GH_ACCOUNT= lxi-tools
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-static
+CONFIGURE_ARGS= --disable-static \
+ --with-bash-completion-dir=${PREFIX}/etc/bash_completion.d
CFLAGS+= -D_WITH_GETLINE # enable getline(3) prototype
PORTDOCS= README
PLIST_FILES= bin/lxi \
+ etc/bash_completion.d/lxi \
man/man1/lxi.1.gz
-OPTIONS_DEFINE= BASH DOCS GUI
+OPTIONS_DEFINE= DOCS GUI
-BASH_CONFIGURE_WITH= bash-completion-dir=${PREFIX}/etc/bash_completion.d
-BASH_PLIST_FILES= ${PREFIX}/etc/bash_completion.d/lxi
-
-GUI_CONFIGURE_ENABLE= lxi-gui
GUI_USE= qt5=core,gui,charts,widgets,buildtools_build,qmake_build gl=gl
+GUI_CONFIGURE_ENABLE= lxi-gui
+GUI_CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${QT_LIBDIR}"
+GUI_VARS= QT_NONSTANDARD=yes
GUI_PLIST_FILES= bin/lxi-gui
+post-patch:
+ ${REINPLACE_CMD} -e '/\$$(QTCHOOSER)/s/-qt=5//' \
+ ${WRKSRC}/src/gui/lxi-gui/Makefile.am
+
post-install-GUI-on:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/lxi-gui
diff --git a/misc/lxi-tools/distinfo b/misc/lxi-tools/distinfo
index 9505051ccc05..f17ccfa22096 100644
--- a/misc/lxi-tools/distinfo
+++ b/misc/lxi-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1517144469
-SHA256 (lxi-tools-lxi-tools-v1.17_GH0.tar.gz) = c9c35e4486e637533162ce559882f959d6bb044cb8ec9785c708ff15d90e7d36
-SIZE (lxi-tools-lxi-tools-v1.17_GH0.tar.gz) = 143892
+TIMESTAMP = 1518112735
+SHA256 (lxi-tools-lxi-tools-v1.18_GH0.tar.gz) = 6ed1890715a895cb9c6c1ca8f7152f16853f8c127699265218aa1d89eb301e50
+SIZE (lxi-tools-lxi-tools-v1.18_GH0.tar.gz) = 145699