astro/mepo: install manpage

Inspired by:	Alpine, Arch, NixPkgs
This commit is contained in:
Jan Beich 2023-01-23 23:36:44 +00:00
parent ded326a4be
commit 574f4db8b8
2 changed files with 6 additions and 1 deletions

View File

@ -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})

View File

@ -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