diff options
author | mezz <mezz@FreeBSD.org> | 2004-07-31 05:28:27 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2004-07-31 05:28:27 +0800 |
commit | f0b479af3300b563bff98806114168af291d24ac (patch) | |
tree | f20e1cc71143459a68ee4e613a58ce4c7c989856 /x11-wm/fluxbox-devel | |
parent | 9f2a00323b7ad2e07659ebd5ecd7231c6b8fde40 (diff) | |
download | freebsd-ports-gnome-f0b479af3300b563bff98806114168af291d24ac.tar.gz freebsd-ports-gnome-f0b479af3300b563bff98806114168af291d24ac.tar.zst freebsd-ports-gnome-f0b479af3300b563bff98806114168af291d24ac.zip |
-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]
Diffstat (limited to 'x11-wm/fluxbox-devel')
-rw-r--r-- | x11-wm/fluxbox-devel/Makefile | 60 |
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' \ |