diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-01-23 23:36:44 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-01-23 23:51:42 +0000 |
commit | 574f4db8b8e6751e3836e2f42330545e70735ad5 (patch) | |
tree | 6aaea8a4459acc1e9348f80139f95d39ea77e346 | |
parent | ded326a4be6d267606a18e3bd6d1b5fba6eae55d (diff) | |
download | ports-574f4db8b8e6751e3836e2f42330545e70735ad5.tar.gz ports-574f4db8b8e6751e3836e2f42330545e70735ad5.zip |
astro/mepo: install manpage
Inspired by: Alpine, Arch, NixPkgs
-rw-r--r-- | astro/mepo/Makefile | 6 | ||||
-rw-r--r-- | astro/mepo/pkg-plist | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/astro/mepo/Makefile b/astro/mepo/Makefile index b35f28c11a8a..e273a2e96d36 100644 --- a/astro/mepo/Makefile +++ b/astro/mepo/Makefile @@ -1,6 +1,6 @@ PORTNAME= mepo DISTVERSION= 1.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= astro geography wayland MASTER_SITES= https://git.sr.ht/~mil/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ @@ -41,6 +41,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 |