blob: 06457c83003b186d3cf746cb58e89483e3d7b505 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
PORTNAME= smart
DISTVERSION= 0.0.11
CATEGORIES= sysutils
MAINTAINER= jrm@FreeBSD.org
COMMENT= Output disk SMART values
LICENSE= ISCL
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>
|