mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
-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]
This commit is contained in:
parent
8a0d9553ea
commit
e87d212a6d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115117
@ -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"
|
||||
.endif
|
||||
.if !defined(WITH_KDE)
|
||||
@${ECHO_CMD} "WITH_KDE=yes Enable KDE slit support"
|
||||
.endif
|
||||
.if !defined(WITH_GNOME)
|
||||
@${ECHO_CMD} "WITH_GNOME=yes Enable GNOME support"
|
||||
.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_DOCHTML)
|
||||
@${ECHO_CMD} "WITH_DOCHTML=yes Install the HTML documentation"
|
||||
.if !defined(WITH_GNOME)
|
||||
@${ECHO_CMD} "WITH_GNOME=yes Enable GNOME support"
|
||||
.endif
|
||||
.if !defined(WITH_KDE)
|
||||
@${ECHO_CMD} "WITH_KDE=yes Enable KDE slit 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_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' \
|
||||
|
Loading…
Reference in New Issue
Block a user