summaryrefslogtreecommitdiff
path: root/x11-wm/fvwm24
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-05-27 00:10:24 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-05-27 00:10:24 +0000
commit884cdeb180e9c1c04eb8815e621a706a0ffc3b90 (patch)
tree6e9ecc1c580ec6864d08c4d41bb56a944c214028 /x11-wm/fvwm24
parent- update to 0.32 (diff)
Only depend on GTK & Imlib if we're buildling the GNOME version.
Submitted by: AMAKAWA Shuhei <sa264@cam.ac.uk>
Notes
Notes: svn path=/head/; revision=60050
Diffstat (limited to 'x11-wm/fvwm24')
-rw-r--r--x11-wm/fvwm24/Makefile14
-rw-r--r--x11-wm/fvwm24/pkg-plist2
2 files changed, 10 insertions, 6 deletions
diff --git a/x11-wm/fvwm24/Makefile b/x11-wm/fvwm24/Makefile
index 72e59ee515c1..219754ff6ae7 100644
--- a/x11-wm/fvwm24/Makefile
+++ b/x11-wm/fvwm24/Makefile
@@ -23,11 +23,16 @@ LIB_DEPENDS+= stroke.0:${PORTSDIR}/devel/libstroke
.endif
USE_GMAKE= yes
-USE_GTK= yes
-USE_IMLIB= yes
USE_XPM= yes
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
WANT_GNOME= yes
+.if defined(HAVE_GNOME)
+USE_GTK= yes
+USE_IMLIB= yes
+.endif
GNU_CONFIGURE= yes
@@ -46,13 +51,12 @@ CONFIGURE_ARGS+= --disable-shape
PLIST_SUB+= FVWM_VERSION="${PORTVERSION}"
-.include <bsd.port.pre.mk>
-
.if defined(HAVE_GNOME)
USE_GNOME= yes
PLIST_SUB+= GNOMEDATADIR="share/gnome/fvwm"
.else
-CONFIGURE_ARGS+= --without-gnome --disable-gnome-hints
+CONFIGURE_ARGS+= --without-gnome --disable-gnome-hints \
+ --disable-gtktest --disable-imlibtest
PLIST_SUB+= GNOMEDATADIR="share/fvwm"
.endif
diff --git a/x11-wm/fvwm24/pkg-plist b/x11-wm/fvwm24/pkg-plist
index fc9e521939bc..d1fe26b66b68 100644
--- a/x11-wm/fvwm24/pkg-plist
+++ b/x11-wm/fvwm24/pkg-plist
@@ -29,7 +29,7 @@ libexec/fvwm/%%FVWM_VERSION%%/FvwmDebug
libexec/fvwm/%%FVWM_VERSION%%/FvwmDragWell
libexec/fvwm/%%FVWM_VERSION%%/FvwmEvent
libexec/fvwm/%%FVWM_VERSION%%/FvwmForm
-libexec/fvwm/%%FVWM_VERSION%%/FvwmGtk
+%%GNOME:%%libexec/fvwm/%%FVWM_VERSION%%/FvwmGtk
libexec/fvwm/%%FVWM_VERSION%%/FvwmIconBox
libexec/fvwm/%%FVWM_VERSION%%/FvwmIconMan
libexec/fvwm/%%FVWM_VERSION%%/FvwmIdent