mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-28 10:08:24 +00:00
8a502cb2d4
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
26 lines
545 B
Makefile
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>
|