1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/sysutils/smart/Makefile
Rene Ladan 8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00

26 lines
545 B
Makefile

# $FreeBSD$
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>