mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
17d94f684c
Changelog: - Allow a comma-separated list of attributes - Code refactor + update code comments
28 lines
575 B
Makefile
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>
|