aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2005-11-24 07:27:12 +0800
committerdougb <dougb@FreeBSD.org>2005-11-24 07:27:12 +0800
commit89565088f915d00b614b3097578687fa7d475e77 (patch)
tree166bf3605927bded585ceb34bddcd0dd99492081
parent9b6eccce3e0df69f7d6f215b845d6001fb648c72 (diff)
downloadfreebsd-ports-gnome-89565088f915d00b614b3097578687fa7d475e77.tar.gz
freebsd-ports-gnome-89565088f915d00b614b3097578687fa7d475e77.tar.zst
freebsd-ports-gnome-89565088f915d00b614b3097578687fa7d475e77.zip
Add option (on by default) to compile in the infamous
"single click" patch to put that option on the WPrefs menu.
-rw-r--r--x11-wm/windowmaker/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index 9ed07c3b73f6..1ea5e3fc1b3f 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -7,6 +7,7 @@
PORTNAME= windowmaker
PORTVERSION= 0.92.0
+PORTREVISION= 1
CATEGORIES= x11-wm windowmaker
MASTER_SITES= ${MASTER_SITE_WINDOWMAKER}
MASTER_SITE_SUBDIR= source/release
@@ -45,6 +46,7 @@ MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x wdwrite.1x \
OPTIONS= XINERAMA "Enable xinerama support" off \
XKB_STATUS "XKB keyboard language status support" off \
+ WM_SINGLE_CLICK "Add single-click option to WPrefs menu" on \
WM_LINGUAS "Enable support for additional locales" off
.include <bsd.port.pre.mk>
@@ -61,6 +63,10 @@ CONFIGURE_ARGS+= --enable-xinerama
CONFIGURE_ARGS+= --enable-modelock
.endif
+.if !defined(WITHOUT_WM_SINGLE_CLICK) || defined(PACKAGE_BUILDING)
+EXTRA_PATCHES+= ${WRKSRC}/contrib/single_click.diff
+.endif
+
.if defined(WITH_WM_LINGUAS) || defined(PACKAGE_BUILDING)
LINGUAS!= ${CAT} ${FILESDIR}/LINGUAS
CONFIGURE_ENV+= LINGUAS="${LINGUAS}"