ports/148578: x11-wm/fluxbox with options

David DEMELIER demelier.david at gmail.com
Tue Jul 13 18:40:02 UTC 2010


>Number:         148578
>Category:       ports
>Synopsis:       x11-wm/fluxbox with options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 13 18:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     David DEMELIER
>Release:        8.1-RC2
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.1-RC2 FreeBSD 8.1-RC2 #3: Mon Jul  5 13:55:31 CEST 2010     root at Melon.malikania.fr:/usr/obj/usr/src/sys/Melon  amd64
>Description:
Hi, 

Just because the options infrastructure is better, I would like to switch old ports that use KNOBS to options framework.
>How-To-Repeat:

>Fix:
--- /home/markand/fluxbox/Makefile.orig	2010-07-13 20:15:59.000000000 +0200
+++ /home/markand/fluxbox/Makefile	2010-07-13 20:24:39.000000000 +0200
@@ -30,6 +30,17 @@
 MAN5=		fluxbox-keys.5
 DOCSVERSION=	20060629
 
+OPTIONS+=	DOCHTML	"Enables HTML documentation" off \
+		DOCPDF	"Enables PDF documentation" off \
+		DEBUG	"Enables debugging support" off \
+		NLS	"Native Language Support via gettext utilities" on \
+		REMEMBER	"Enables fluxbox remember attributes" on \
+		SLIT	"Enables fluxbox slit" on \
+		TOOLBAR	"Enables fluxbox toolbar" on \
+		XRENDER	"Xrender (transparent) support" on \
+		XINERAMA "Enable Xinerama support" on
+
+
 .if defined(WITH_DEBUG)
 CONFIGURE_ARGS+=	--enable-debug
 .endif
@@ -113,44 +124,6 @@
 CONFIGURE_ARGS+=	--disable-gnome
 .endif
 
-pre-everything::
-	@${ECHO_CMD} ""
-	@${ECHO_CMD} "Definable build options"
-	@${ECHO_CMD} "-----------------------"
-.if !defined(WITH_DEBUG)
-	@${ECHO_CMD} "WITH_DEBUG=yes		Build with debugging symbols"
-.endif
-.if !defined(WITH_DOCHTML)
-	@${ECHO_CMD} "WITH_DOCHTML=yes	Install the HTML documentation"
-.endif
-.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_IMLIB2)
-	@${ECHO_CMD} "WITH_IMLIB2=yes		Enable Imlib2 (pixmap themes) support"
-.endif
-.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_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' \
 		${WRKSRC}/util/fluxbox-generate_menu.in


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list