1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/sysutils/smart/Makefile
Joseph Mingrone 17d94f684c
sysutils/smart: Update to 0.4.1
Changelog:
- Allow a comma-separated list of attributes
- Code refactor + update code comments
2021-11-06 14:07:13 -03:00

28 lines
575 B
Makefile

PORTNAME= smart
DISTVERSION= 0.4.1
CATEGORIES= sysutils
MAINTAINER= jrm@FreeBSD.org
COMMENT= Output disk SMART values
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= ctuffli
PLIST_FILES= sbin/atasmart \
sbin/nvmesmart \
sbin/scsismart \
sbin/smart
post-patch:
@${REINPLACE_CMD} -e "s|./${PORTNAME}|${PREFIX}/sbin/${PORTNAME}|" \
${WRKSRC}/[ans]*${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/[ans]*${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>