1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/sysutils/bkt/Makefile
2024-03-23 10:41:46 +01:00

37 lines
785 B
Makefile

PORTNAME= bkt
DISTVERSION= 0.8.0
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Subprocess caching utility
WWW= https://github.com/dimo414/bkt
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= dimo414
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT= MANPAGES
OPTIONS_SUB= yes
MANPAGES_DESC= Build and install auto-generated manpages
MANPAGES_BUILD_DEPENDS= help2man:misc/help2man
post-build-MANPAGES-on:
help2man -s 1 -Nn "${COMMENT}" \
${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/${PORTNAME} \
-o ${WRKSRC}/${PORTNAME}.1
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bkt
post-install-MANPAGES-on:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>