summaryrefslogtreecommitdiff
path: root/x11-wm/windowmaker
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-07-19 04:32:58 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-07-19 04:32:58 +0000
commit48442db93b6665e033078d04fa80000f3a8b929f (patch)
tree3dd59b3e04a76adba1467f85a13fa291356d7b95 /x11-wm/windowmaker
parentUpdate to version 1.1.3 (diff)
Change CONFIGURE_ARGS to reflect reality and add USE_GNOME/USE_KDE
hooks. PR: 12691 Submitted by: Brian Handy <handy@physics.montana.edu>, maintainer
Notes
Notes: svn path=/head/; revision=20269
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r--x11-wm/windowmaker/Makefile21
1 files changed, 18 insertions, 3 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index f47fd5a752be..a037bfc034c9 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -3,7 +3,7 @@
# Date created: August 13, 1997
# Whom: handy@physics.montana.edu
#
-# $Id: Makefile,v 1.52 1999/06/04 08:00:19 tg Exp $
+# $Id: Makefile,v 1.53 1999/06/08 22:01:16 steve Exp $
DISTNAME= WindowMaker-0.60.0
PKGNAME= windowmaker-0.60.0
@@ -29,8 +29,8 @@ CONFIGURE_ENV= X11BASE=${X11BASE} LIBS=-L${LOCALBASE}/lib \
CPPFLAGS=-I${LOCALBASE}/include
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
--with-nlsdir=${LOCALBASE}/lib/locale \
- --with-gfx-libs="-L${LOCALBASE}/lib" \
- --with-gfx-incs="-I${LOCALBASE}/include" \
+ --with-libs-from="-L${LOCALBASE}/lib" \
+ --with-incs-from="-I${LOCALBASE}/include" \
--disable-debug
MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
@@ -38,6 +38,21 @@ MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \
DATAFILES= WindowMaker-extra-0.1.tar.bz2
+.if defined(USE_GNOME)
+CONFIGURE_ARGS+= --enable-gnome
+.endif
+
+.if defined(USE_KDE)
+CONFIGURE_ARGS+= --enable-kde
+.endif
+
+.SILENT:
+
+.if !defined(USE_KDE) && !defined(USE_GNOME)
+pre-extract:
+ ${ECHO} "You can add hooks for Gnome and KDE by defining USE_GNOME and/or USE_KDE"
+.endif
+
post-patch:
@perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c \
${WRKSRC}/WindowMaker/Defaults/*