git: 11a5a9d072a9 - main - graphics/librsvg2-rust: Always install manpage for rsvg-convert
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Apr 2025 05:00:57 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=11a5a9d072a950f3ca6cfc0bfa5a34e8dc897dd8
commit 11a5a9d072a950f3ca6cfc0bfa5a34e8dc897dd8
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-04-01 04:50:34 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-04-01 04:50:44 +0000
graphics/librsvg2-rust: Always install manpage for rsvg-convert
Fixes plist issue when DOCS are disabled
Reported by: vvd
Approved by: portmgr (build fix)
---
graphics/librsvg2-rust/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/graphics/librsvg2-rust/Makefile b/graphics/librsvg2-rust/Makefile
index ecc7ebbdbc29..fc85c996fde5 100644
--- a/graphics/librsvg2-rust/Makefile
+++ b/graphics/librsvg2-rust/Makefile
@@ -47,4 +47,7 @@ OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= gi-docgen:textproc/py-gi-docgen
DOCS_MESON_ENABLED= docs
+post-install-DOCS-off:
+ ${LOCALBASE}/bin/rst2man --no-datestamp ${WRKSRC}/rsvg-convert.rst --output=${STAGEDIR}${PREFIX}/share/man/man1/rsvg-convert.1
+
.include <bsd.port.mk>