aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/fluxbox-devel/Makefile
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-01-28 11:05:35 +0800
committermezz <mezz@FreeBSD.org>2005-01-28 11:05:35 +0800
commitf6d19fa5604546925e67ba710ae0a131e4ea3c35 (patch)
treee09744a9b4238918c120aec6cf5aa306a851233e /x11-wm/fluxbox-devel/Makefile
parent30696b819ff5ab64cca252b3541689d91d5ff33f (diff)
downloadfreebsd-ports-gnome-f6d19fa5604546925e67ba710ae0a131e4ea3c35.tar.gz
freebsd-ports-gnome-f6d19fa5604546925e67ba710ae0a131e4ea3c35.tar.zst
freebsd-ports-gnome-f6d19fa5604546925e67ba710ae0a131e4ea3c35.zip
Add two new defines, WITHOUT_REMEMBER and WITHOUT_XRENDER.
WITHOUT_REMEMBER: Disable remembering attributes support WITHOUT_XRENDER: Disable Xrender (transparent) support PR: ports/76753 Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru>
Diffstat (limited to 'x11-wm/fluxbox-devel/Makefile')
-rw-r--r--x11-wm/fluxbox-devel/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-wm/fluxbox-devel/Makefile b/x11-wm/fluxbox-devel/Makefile
index fddf902d2100..023b562caf1e 100644
--- a/x11-wm/fluxbox-devel/Makefile
+++ b/x11-wm/fluxbox-devel/Makefile
@@ -83,6 +83,12 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS:="@comment "
.endif
+.if !defined(WITHOUT_REMEMBER)
+CONFIGURE_ARGS+= --enable-remember
+.else
+CONFIGURE_ARGS+= --disable-remember
+.endif
+
.if !defined(WITHOUT_SLIT)
CONFIGURE_ARGS+= --enable-slit
.else
@@ -95,6 +101,12 @@ CONFIGURE_ARGS+= --enable-toolbar
CONFIGURE_ARGS+= --disable-toolbar
.endif
+.if !defined(WITHOUT_XRENDER)
+CONFIGURE_ARGS+= --enable-xrender
+.else
+CONFIGURE_ARGS+= --disable-xrender
+.endif
+
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibgnome}!="" || defined(PACKAGE_BUILDING)
@@ -131,12 +143,18 @@ pre-everything::
.if !defined(WITHOUT_NLS)
@${ECHO_CMD} "WITHOUT_NLS=yes Disable NLS support"
.endif
+.if !defined(WITHOUT_REMEMBER)
+ @${ECHO_CMD} "WITHOUT_REMEMBER=yes Disable remembering attributes support"
+.endif
.if !defined(WITHOUT_SLIT)
@${ECHO_CMD} "WITHOUT_SLIT=yes Disable slit"
.endif
.if !defined(WITHOUT_TOOLBAR)
@${ECHO_CMD} "WITHOUT_TOOLBAR=yes Disable toolbar"
.endif
+.if !defined(WITHOUT_XRENDER)
+ @${ECHO_CMD} "WITHOUT_XRENDER=yes Disable Xrender (transparent) support"
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g; s|%%X11BASE%%|${X11BASE}|g' \