1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/sysutils/scterc/Makefile
2021-04-08 02:19:01 +03:00

31 lines
651 B
Makefile

PORTNAME= scterc
PORTVERSION= 0.0.1
CATEGORIES= sysutils
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Configure SCT ERC for hard disks on system startup
RUN_DEPENDS= smartctl:sysutils/smartmontools
USE_GITHUB= yes
GH_ACCOUNT= AMDmi3
GH_PROJECT= ${PORTNAME}-rc.d
NO_BUILD= yes
SUB_FILES= pkg-message
PLIST_FILES= etc/rc.d/scterc
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/scterc.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scterc.sh ${STAGEDIR}${PREFIX}/etc/rc.d/scterc
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>