summaryrefslogtreecommitdiff
path: root/x11-wm/fluxspace
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-10-06 16:58:11 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-10-06 16:58:11 +0000
commitc6e3e261fe8eed80e9fb39f9f5081f094f80858a (patch)
tree42bbaddcc0cf3732d0e897826c4862fb18f779e5 /x11-wm/fluxspace
parentRemove gimp support since gimp-1.3.21 will include an SVG import plug-in. (diff)
Register dependencies automatically upon idesk and/or rox if they are
already installed.
Notes
Notes: svn path=/head/; revision=90456
Diffstat (limited to 'x11-wm/fluxspace')
-rw-r--r--x11-wm/fluxspace/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11-wm/fluxspace/Makefile b/x11-wm/fluxspace/Makefile
index 41ef3ec147d2..42c7ed8f4515 100644
--- a/x11-wm/fluxspace/Makefile
+++ b/x11-wm/fluxspace/Makefile
@@ -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)
+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)
+.if defined(WITH_ROX-FILER) || exists(${LOCALBASE}/bin/rox)
RUN_DEPENDS+= rox:${PORTSDIR}/x11-fm/rox-filer
.endif
-USE_PYTHON= yes
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-
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>