Add option (on by default) to compile in the infamous

"single click" patch to put that option on the WPrefs
menu.
This commit is contained in:
Doug Barton 2005-11-23 23:27:12 +00:00
parent 33e405cf6a
commit 4c1436d606
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149219

View file

@ -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}"