Files
ports/sysutils/smart/Makefile
Joseph Mingrone d3a1e2e0c7 sysutils/smart: Update to 0.3.0
Upstream changes:
- Reclaim the -d option from debug
- Change field separator from spaces to tab
- Add textual descriptions of attribute IDs for ATA, NVMe, and SCSI
- Add a manual page
- Fixes
   * libxo structure for attribute and attributes
   * simplify LIBXO ifdef sprawl
   * display of threshold values
   * display of long values
2021-10-11 08:08:13 -03:00

28 lines
575 B
Makefile

PORTNAME= smart
DISTVERSION= 0.3.0
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>