summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-07-30 21:28:27 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-07-30 21:28:27 +0000
commite87d212a6d4c7e732ba9efa2254168b20cf22f57 (patch)
treeec135337b6c5fa5becd74de7d5a20b346488678d /x11-wm
parentUpdate to version 1.10 (diff)
-Add two new knobs, WITHOUT_SLIT and WITHOUT_TOOLBAR. [1]
-Reorder the knobs to the ABC's order to make it easier for me to follow up. BTW: Request add more knobs are welcome. PR: ports/69794 [1] Submitted by: Roman Bogorodskiy <bogorodskiy@inbox.ru> [1]
Notes
Notes: svn path=/head/; revision=115117
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/fluxbox-devel/Makefile60
1 files changed, 39 insertions, 21 deletions
diff --git a/x11-wm/fluxbox-devel/Makefile b/x11-wm/fluxbox-devel/Makefile
index ca0932dfff92..4ac9366785b5 100644
--- a/x11-wm/fluxbox-devel/Makefile
+++ b/x11-wm/fluxbox-devel/Makefile
@@ -41,14 +41,13 @@ NLSMAKEFILES= nls nls/C nls/bg_BG nls/da_DK nls/de_DE nls/es_ES nls/et_EE \
CONFIGURE_ARGS+= --enable-debug
.endif
-.if defined(WITH_XINERAMA) || defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+= --enable-xinerama
-.endif
-
-.if defined(WITH_KDE) || defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+= --enable-kde
+.if defined(WITH_DOCHTML)
+MASTER_SITES+= http://fluxbox.org/docbook/en/tarballs/:html
+DISTFILES+= fb-doc-mfhtml.tgz:html
+EXTRACT_ONLY+= fb-doc-mfhtml.tgz
+PLIST_SUB+= DOCHTML:=""
.else
-CONFIGURE_ARGS+= --disable-kde
+PLIST_SUB+= DOCHTML:="@comment "
.endif
.if defined(WITH_DOCPDF)
@@ -59,13 +58,14 @@ PLIST_SUB+= DOCPDF:=""
PLIST_SUB+= DOCPDF:="@comment "
.endif
-.if defined(WITH_DOCHTML)
-MASTER_SITES+= http://fluxbox.org/docbook/en/tarballs/:html
-DISTFILES+= fb-doc-mfhtml.tgz:html
-EXTRACT_ONLY+= fb-doc-mfhtml.tgz
-PLIST_SUB+= DOCHTML:=""
+.if defined(WITH_KDE) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-kde
.else
-PLIST_SUB+= DOCHTML:="@comment "
+CONFIGURE_ARGS+= --disable-kde
+.endif
+
+.if defined(WITH_XINERAMA) || defined(PACKAGE_BUILDING)
+CONFIGURE_ARGS+= --enable-xinerama
.endif
.if !defined(WITHOUT_NLS)
@@ -77,6 +77,18 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS:="@comment "
.endif
+.if !defined(WITHOUT_SLIT)
+CONFIGURE_ARGS+= --enable-slit
+.else
+CONFIGURE_ARGS+= --disable-slit
+.endif
+
+.if !defined(WITHOUT_TOOLBAR)
+CONFIGURE_ARGS+= --enable-toolbar
+.else
+CONFIGURE_ARGS+= --disable-toolbar
+.endif
+
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibgnome}!="" || defined(PACKAGE_BUILDING)
@@ -92,24 +104,30 @@ pre-everything::
.if !defined(WITH_DEBUG)
@${ECHO_CMD} "WITH_DEBUG=yes Build with debugging symbols"
.endif
-.if !defined(WITH_XINERAMA)
- @${ECHO_CMD} "WITH_XINERAMA=yes Enable Xinerama support"
+.if !defined(WITH_DOCHTML)
+ @${ECHO_CMD} "WITH_DOCHTML=yes Install the HTML documentation"
.endif
-.if !defined(WITH_KDE)
- @${ECHO_CMD} "WITH_KDE=yes Enable KDE slit support"
+.if !defined(WITH_DOCPDF)
+ @${ECHO_CMD} "WITH_DOCPDF=yes Install the PDF documentation"
.endif
.if !defined(WITH_GNOME)
@${ECHO_CMD} "WITH_GNOME=yes Enable GNOME support"
.endif
-.if !defined(WITH_DOCPDF)
- @${ECHO_CMD} "WITH_DOCPDF=yes Install the PDF documentation"
+.if !defined(WITH_KDE)
+ @${ECHO_CMD} "WITH_KDE=yes Enable KDE slit support"
.endif
-.if !defined(WITH_DOCHTML)
- @${ECHO_CMD} "WITH_DOCHTML=yes Install the HTML documentation"
+.if !defined(WITH_XINERAMA)
+ @${ECHO_CMD} "WITH_XINERAMA=yes Enable Xinerama support"
.endif
.if !defined(WITHOUT_NLS)
@${ECHO_CMD} "WITHOUT_NLS=yes Disable NLS 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
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g; s|%%X11BASE%%|${X11BASE}|g' \