Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173505752
D5002.id12594.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D5002.id12594.diff
View Options
Index: lxqt.mk
===================================================================
--- lxqt.mk
+++ lxqt.mk
@@ -7,6 +7,14 @@
# Usage: USES=lxqt
# Valid ARGS: does not require args
#
+# Available LXQt components are:
+#
+# globalkeys - Keyboard shortcuts daemon
+# libfmqt5 - Libfm Qt bindings
+# lxqt - LXQt core library
+# qterm - Terminal widget library
+# qtxdg - Qt implementation of freedesktop.org xdg specs
+#
# MAINTAINER: olivierd@FreeBSD.org
.if !defined(_INCLUDE_USES_LXQT_MK)
@@ -36,6 +44,8 @@
LXQT_TRANSLATIONS="share/lxqt/translations" \
VERSION="${PORTVERSION}"
+CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${MANDIR}
+
# Available LXQt components are:
_USE_LXQT_ALL= globalkeys libfmqt5 lxqt qterm qtxdg
@@ -42,20 +52,20 @@
# Not part of LXQt project, but LXDE (same developers).
_USE_LXQT_ALL+= libfm
-lxqt_LIB_DEPENDS= liblxqt.so:${PORTSDIR}/devel/liblxqt
-lxqt_USE_LXQT_REQ= qtxdg
-
-qtxdg_LIB_DEPENDS= libQt5Xdg.so:${PORTSDIR}/devel/libqtxdg
-
globalkeys_LIB_DEPENDS= liblxqt-globalkeys.so:${PORTSDIR}/x11/lxqt-globalkeys
globalkeys_USE_LXQT_REQ= lxqt
+libfm_LIB_DEPENDS= libfm.so:${PORTSDIR}/x11/libfm
+
libfmqt5_LIB_DEPENDS= libfm-qt5.so:${PORTSDIR}/x11-fm/pcmanfm-qt
libfmqt5_USE_LXQT_REQ= libfm
+lxqt_LIB_DEPENDS= liblxqt.so:${PORTSDIR}/devel/liblxqt
+lxqt_USE_LXQT_REQ= qtxdg
+
qterm_LIB_DEPENDS= libqtermwidget5.so:${PORTSDIR}/x11-toolkits/qtermwidget
-libfm_LIB_DEPENDS= libfm.so:${PORTSDIR}/x11/libfm
+qtxdg_LIB_DEPENDS= libQt5Xdg.so:${PORTSDIR}/devel/libqtxdg
.if defined(USE_LXQT)
@@ -68,10 +78,11 @@
# Then, use already expanded USE_LXQT_REQ to expand USE_LXQT.
.for comp in ${USE_LXQT}
-. if ${_USE_LXQT_ALL:M${comp}} == ""
+. if empty(_USE_LXQT_ALL:M${comp})
IGNORE= cannot install: Unknown component ${comp}
+. else
+_USE_LXQT+= ${${comp}_USE_LXQT_REQ} ${comp}
. endif
-_USE_LXQT+= ${${comp}_USE_LXQT_REQ} ${comp}
.endfor
# Remove duplicate components
@@ -93,14 +104,8 @@
.endif # end of defined(USE_LXQT)
-_USES_patch+= 750:man-post-patch
+.endif # end of !defined(_INCLUDE_USES_LXQT_MK)
-man-post-patch:
- @(cd ${WRKSRC} && ${FIND} . -type f -name 'CMakeLists.txt' \
- | ${XARGS} ${REINPLACE_CMD} -i "" 's|$${CMAKE_INSTALL_MANDIR}|man|')
-
-.endif
-
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_LXQT_POST_MK)
_INCLUDE_USES_LXQT_POST_MK= yes
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 27, 10:51 AM (13 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39733925
Default Alt Text
D5002.id12594.diff (2 KB)
Attached To
Mode
D5002: Add Mk/Uses/lxqt.mk
Attached
Detach File
Event Timeline
Log In to Comment