-.\" $OpenBSD: port-modules.5,v 1.216 2017/04/11 11:01:28 espie Exp $
+.\" $OpenBSD: port-modules.5,v 1.217 2017/04/22 14:00:30 ajacoutot Exp $
.\"
.\" Copyright (c) 2008 Marc Espie
.\"
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 11 2017 $
+.Dd $Mdocdate: April 22 2017 $
.Dt PORT-MODULES 5
.Os
.Sh NAME
to Yes.
.It www/zope
.It x11/gnome
+This module has full support for the
+.Ar gnu ,
+.Ar simple
+and
+.Ar cmake
+CONFIGURE_STYLE.
+.Pp
If both
.Ev GNOME_PROJECT
and
.Pa textproc/intltool
is also appended to
.Ev MODULES
-and
+and when CONFIGURE_STYLE is set to
+.Ar gnu
+or
+.Ar simple ,
.Ev USE_GMAKE
is set to "Yes".
.Pp
-If
-.Ev CONFIGURE_STYLE
-is set to "gnu" or "simple",
-.Li CPPFLAGS="-I${LOCALBASE}/include"
-and
-.Li LDFLAGS="-L${LOCALBASE}/lib"
-are appended to
-.Ev CONFIGURE_ENV .
-.Pp
-If none of
+When CONFIGURE_STYLE is set to
+.Ar gnu
+or
+.Ar simple ,
+if none of
.Ev AUTOCONF_VERSION
nor
.Ev AUTOMAKE_VERSION
are defined, then "--disable-maintainer-mode" is appended to
.Ev CONFIGURE_ARGS .
+When CONFIGURE_STYLE is set to
+.Ar cmake ,
+"-DENABLE_MAINTAINER_MODE=OFF" and -DSYSCONF_INSTALL_DIR=${SYSCONFDIR}
+are appended to CONFIGURE_ARGS.
+.Pp
+MODGNOME_CPPFLAGS and MODGNOME_LDFLAGS can be used to add compiler and linker
+flags.
+.Li CPPFLAGS="-I${LOCALBASE}/include"
+and
+.Li LDFLAGS="-L${LOCALBASE}/lib"
+are always appended to
+.Ev CONFIGURE_ENV .
.Pp
Certain build/run dependencies and configure arguments and environment
can be set by appending desktop-file-utils, docbook, gobject-introspection,