git: ef99a4264b18 - main - graphics/xaos: Install manual pages regardless of DOCS

Mateusz Piotrowski 0mp at FreeBSD.org
Thu Jul 1 00:43:58 UTC 2021


The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ef99a4264b18c863089dbf4bab65ac4e84388bf8

commit ef99a4264b18c863089dbf4bab65ac4e84388bf8
Author:     Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-07-01 00:41:52 +0000
Commit:     Mateusz Piotrowski <0mp at FreeBSD.org>
CommitDate: 2021-07-01 00:42:39 +0000

    graphics/xaos: Install manual pages regardless of DOCS
    
    Manual pages should not be guarded with the DOCS option.
    
    No PORTREVISION bump as the package content does not really change.
    
    Approved by:    portmgr blanket
---
 graphics/xaos/Makefile  | 4 +---
 graphics/xaos/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/graphics/xaos/Makefile b/graphics/xaos/Makefile
index 6d729be1f303..6737eb5d142f 100644
--- a/graphics/xaos/Makefile
+++ b/graphics/xaos/Makefile
@@ -31,7 +31,7 @@ DESKTOP_ENTRIES=	"XaoS" \
 			"" \
 			false
 
-OPTIONS_DEFINE=		DOCS EXAMPLES NLS TUTORIAL
+OPTIONS_DEFINE=		EXAMPLES NLS TUTORIAL
 OPTIONS_DEFAULT=	TUTORIAL
 OPTIONS_SUB=		yes
 
@@ -42,8 +42,6 @@ post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/xaos ${STAGEDIR}${PREFIX}/bin/xaos
 	${INSTALL_DATA} ${WRKSRC}/src/ui/images/xaosbig.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/xaos.png
-
-post-install-DOCS-on:
 	${INSTALL_MAN} ${WRKSRC}/doc/xaos.6 \
 		${STAGEDIR}${MANPREFIX}/share/man/man6/xaos.6
 
diff --git a/graphics/xaos/pkg-plist b/graphics/xaos/pkg-plist
index 422fe3b31233..92cfbb77ee0c 100644
--- a/graphics/xaos/pkg-plist
+++ b/graphics/xaos/pkg-plist
@@ -253,5 +253,5 @@ bin/xaos
 %%EXAMPLES%%%%EXAMPLESDIR%%/ZsKovacs/pavaszem2.xpf
 %%EXAMPLES%%%%EXAMPLESDIR%%/ZsKovacs/pepita.xpf
 %%EXAMPLES%%%%EXAMPLESDIR%%/ZsKovacs/zsigapro.xpf
-%%DOCS%%share/man/man6/xaos.6.gz
+share/man/man6/xaos.6.gz
 share/pixmaps/xaos.png


More information about the dev-commits-ports-all mailing list