aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-02-09 22:09:07 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-02-09 22:09:07 +0800
commit9a5af819a36a1ff96a491cfc678a2c0c4805b452 (patch)
treedb91b0925940326cf9f2960b5b4b0873914b2f24 /misc
parent0e530dd439eda8335de6ede48057ea80c26c67ca (diff)
downloadfreebsd-ports-gnome-9a5af819a36a1ff96a491cfc678a2c0c4805b452.tar.gz
freebsd-ports-gnome-9a5af819a36a1ff96a491cfc678a2c0c4805b452.tar.zst
freebsd-ports-gnome-9a5af819a36a1ff96a491cfc678a2c0c4805b452.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)
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