Changeset View
Changeset View
Standalone View
Standalone View
head/sysutils/smartmontools/Makefile
# Created by: Eduard Martinescu | # Created by: Eduard Martinescu | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= smartmontools | PORTNAME= smartmontools | ||||
PORTVERSION= 7.0 | PORTVERSION= 7.1 | ||||
PORTREVISION= 2 | |||||
CATEGORIES= sysutils | CATEGORIES= sysutils | ||||
MASTER_SITES= SF | MASTER_SITES= SF | ||||
MAINTAINER= samm@FreeBSD.org | MAINTAINER= samm@FreeBSD.org | ||||
COMMENT= S.M.A.R.T. disk monitoring tools | COMMENT= S.M.A.R.T. disk monitoring tools | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
USES= alias compiler:c++11-lib gmake shebangfix | USES= alias compiler:c++11-lib shebangfix | ||||
USE_RC_SUBR= smartd | |||||
CONFLICTS= smartmontools-devel-[0-9]* | |||||
OPTIONS_DEFINE= DOCS | |||||
SHEBANG_FILES= examplescripts/Example5 | SHEBANG_FILES= examplescripts/Example5 | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --disable-dependency-tracking \ | CONFIGURE_ARGS= --disable-dependency-tracking \ | ||||
--enable-sample \ | --enable-sample \ | ||||
--with-gnupg=no \ | |||||
--with-initscriptdir=${PREFIX}/etc/rc.d \ | |||||
--with-nvme-devicescan=yes \ | --with-nvme-devicescan=yes \ | ||||
--with-initscriptdir=${PREFIX}/etc/rc.d | --with-update-smart-drivedb=no | ||||
SUB_FILES= pkg-message smart | SUB_FILES= pkg-message smart | ||||
USE_RC_SUBR= smartd | |||||
PORTDOCS= * | PORTDOCS= * | ||||
OPTIONS_DEFINE= DOCS | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in | ||||
post-install: | post-install: | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily | @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily | ||||
${INSTALL_SCRIPT} ${WRKDIR}/smart \ | ${INSTALL_SCRIPT} ${WRKDIR}/smart \ | ||||
${STAGEDIR}${PREFIX}/etc/periodic/daily | ${STAGEDIR}${PREFIX}/etc/periodic/daily | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |