d47954dae8
Reviewed by: imp (mentor), swills Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D22627
36 lines
719 B
Makefile
36 lines
719 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ssd_report
|
|
DISTVERSION= 0.4
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= dteske@FreeBSD.org
|
|
COMMENT= SSD health report
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
FLAVORS= smart smartmontools
|
|
|
|
smart_RUN_DEPENDS= smart:sysutils/smart
|
|
smartmontools_RUN_DEPENDS= smartctl:sysutils/smartmontools
|
|
smartmontools_PKGNAMESUFFIX= -smartmontools
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= FrauBSD
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= sbin/ssd_report
|
|
PORTDOCS= README.md
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ssd_report ${STAGEDIR}${PREFIX}/sbin
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|