mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Register dependencies automatically upon idesk and/or rox if they are
already installed.
This commit is contained in:
parent
4d98d9053b
commit
c6e3e261fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90456
@ -16,17 +16,19 @@ COMMENT= A window manager and workspace enhancer and integrator
|
||||
BUILD_DEPENDS= imlib2-config:${PORTSDIR}/graphics/imlib2 \
|
||||
swig:${PORTSDIR}/devel/swig13
|
||||
|
||||
.if defined(WITH_IDESK)
|
||||
RUN_DEPENDS+= idesk:${PORTSDIR}/x11/idesk
|
||||
.endif
|
||||
.if defined(WITH_ROX-FILER)
|
||||
RUN_DEPENDS+= rox:${PORTSDIR}/x11-fm/rox-filer
|
||||
.endif
|
||||
|
||||
USE_PYTHON= yes
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_IDESK) || exists(${X11BASE}/bin/idesk)
|
||||
RUN_DEPENDS+= idesk:${PORTSDIR}/x11/idesk
|
||||
.endif
|
||||
.if defined(WITH_ROX-FILER) || exists(${LOCALBASE}/bin/rox)
|
||||
RUN_DEPENDS+= rox:${PORTSDIR}/x11-fm/rox-filer
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_CMD} "WITH_IDESK - To install idesk"
|
||||
@${ECHO_CMD} "WITH_ROX-FILER - To install rox-filer"
|
||||
@ -34,4 +36,4 @@ pre-everything::
|
||||
post-install::
|
||||
@${CAT} pkg-message
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user