aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Li <vishwin@FreeBSD.org>2024-01-12 17:30:34 +0000
committerCharlie Li <vishwin@FreeBSD.org>2024-01-12 17:30:34 +0000
commit7e9524e8b8c592db27cd0d0a5c750c6264d595c8 (patch)
treeaa0947fd15608d247321f8cc64c735bed799ce38
parenta011d7aaa58773f86fce4c71aa9d918816f6498f (diff)
downloadports-7e9524e8b8c592db27cd0d0a5c750c6264d595c8.tar.gz
ports-7e9524e8b8c592db27cd0d0a5c750c6264d595c8.zip
x11/cinnamon: partially revert "Disable DOCS option"
Instead of commenting out the option, exclude it instead, as it is to be exposed again upon future updates given that libxml2 doesn't error out. Also remove OPTIONS_DEFAULT as DOCS and NLS are globally enabled by default. This partially reverts commit 3bbf0bae390af1df9a353b235b390d1f979065ef.
-rw-r--r--x11/cinnamon/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile
index 05b4bb0dff64..def73bdd1961 100644
--- a/x11/cinnamon/Makefile
+++ b/x11/cinnamon/Makefile
@@ -64,18 +64,16 @@ SHEBANG_FILES= files/* src/data-to-c.pl
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_CMD}
-PLIST_SUB+= PORTDOCS="@comment "
-MESON_ARGS= -Ddocs=false -Ddisable_networkmanager=true
+MESON_ARGS= -Ddisable_networkmanager=true
GLIB_SCHEMAS= org.cinnamon.gschema.xml
-#OPTIONS_DEFINE= DOCS NLS
-OPTIONS_DEFINE= NLS
-OPTIONS_DEFAULT= NLS
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_EXCLUDE= DOCS
OPTIONS_SUB= yes
-#DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
-#DOCS_MESON_TRUE= docs
+DOCS_BUILD_DEPENDS= gtkdocize:textproc/gtk-doc
+DOCS_MESON_TRUE= docs
NLS_RUN_DEPENDS= cinnamon-translations>0:misc/cinnamon-translations