Changeset View
Changeset View
Standalone View
Standalone View
sysutils/ssd_report/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= ssd_report | |||||
DISTVERSION= 0.2 | |||||
CATEGORIES= sysutils | |||||
MAINTAINER= dteske@FreeBSD.org | |||||
COMMENT= SSD health report | |||||
LICENSE= BSD2CLAUSE | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
FLAVORS= smart smartmontools | |||||
FLAVOR?= ${FLAVORS:[1]} | |||||
.if ${FLAVOR} == smart | |||||
RUN_DEPENDS= smart:sysutils/smart | |||||
.else | |||||
RUN_DEPENDS= smartctl:sysutils/smartmontools | |||||
.endif | |||||
mat: Use helpers:
```
smart_RUN_DEPENDS= smart:...
...
``` | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= FrauBSD | |||||
NO_ARCH= yes | |||||
NO_BUILD= yes | |||||
PLIST_FILES= sbin/ssd_report | |||||
PORTDOCS= README.md | |||||
OPTIONS_DEFINE= DOCS | |||||
.include <bsd.port.options.mk> | |||||
matUnsubmitted Done Inline ActionsWhy? mat: Why? | |||||
do-install: | |||||
@${MKDIR} ${STAGEDIR}${PREFIX}/sbin | |||||
matUnsubmitted Done Inline ActionsThis should not be required. mat: This should not be required. | |||||
${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> |
Use helpers: