git: d674ffac146c - 2023Q1 - astro/mepo: install manpage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 00:07:03 UTC
The branch 2023Q1 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=d674ffac146cfba7d207d85acfb5f395b18d9854 commit d674ffac146cfba7d207d85acfb5f395b18d9854 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-01-23 23:36:44 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-01-24 00:06:46 +0000 astro/mepo: install manpage Inspired by: Alpine, Arch, NixPkgs (cherry picked from commit 574f4db8b8e6751e3836e2f42330545e70735ad5) --- astro/mepo/Makefile | 5 +++++ astro/mepo/pkg-plist | 1 + 2 files changed, 6 insertions(+) diff --git a/astro/mepo/Makefile b/astro/mepo/Makefile index 8ed9ce1947ec..220ebb807866 100644 --- a/astro/mepo/Makefile +++ b/astro/mepo/Makefile @@ -1,5 +1,6 @@ PORTNAME= mepo DISTVERSION= 1.1 +PORTREVISION= 1 CATEGORIES= astro geography wayland MASTER_SITES= https://git.sr.ht/~mil/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ @@ -37,6 +38,10 @@ post-patch: do-build: @(cd ${WRKSRC} && ${MAKE_ENV} zig build ${CONFIGURE_ARGS}) +post-install: + @${STAGEDIR}${PREFIX}/bin/${PORTNAME} -docman \ + >${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME}.1 + do-test: @(cd ${WRKSRC} && ${TEST_ENV} zig build test ${CONFIGURE_ARGS}) diff --git a/astro/mepo/pkg-plist b/astro/mepo/pkg-plist index e3a75f57e892..9ffc92578841 100644 --- a/astro/mepo/pkg-plist +++ b/astro/mepo/pkg-plist @@ -21,4 +21,5 @@ bin/mepo_ui_menu_user_pin_updater.sh share/applications/mepo.desktop share/icons/hicolor/128x128/apps/mepo.png share/icons/hicolor/512x512/apps/mepo.png +share/man/man1/mepo.1.gz share/pixmaps/mepo.png