mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
devel/xdg-utils: optionalize X11-related dependencies
PR: 254582
This commit is contained in:
parent
1e52009a5e
commit
07a887563d
@ -13,9 +13,7 @@ LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= minixmlto:textproc/minixmlto
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
|
||||
xprop:x11/xprop \
|
||||
xset:x11/xset
|
||||
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme
|
||||
|
||||
USES= gmake
|
||||
|
||||
@ -23,6 +21,11 @@ CONFIGURE_ENV= XMLTO=${LOCALBASE}/bin/minixmlto
|
||||
GNU_CONFIGURE= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= X11
|
||||
OPTIONS_DEFAULT=X11
|
||||
X11_RUN_DEPENDS=xprop:x11/xprop \
|
||||
xset:x11/xset
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
|
||||
${WRKSRC}/scripts/xdg-*
|
||||
|
Loading…
Reference in New Issue
Block a user