blob: cfcfa0f210e1de42a8662cc3c2d8354a045d3d35 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Eduard Martinescu
PORTNAME= smartmontools
DISTVERSION= 7.3
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= samm@FreeBSD.org
COMMENT= S.M.A.R.T. disk monitoring tools
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lib cpe shebangfix
USE_RC_SUBR= smartd
SHEBANG_FILES= examplescripts/Example5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-sample \
--with-gnupg=no \
--with-initscriptdir=${PREFIX}/etc/rc.d \
--with-nvme-devicescan=yes
SUB_FILES= pkg-message smart
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/smart \
${STAGEDIR}${PREFIX}/etc/periodic/daily
${MV} ${STAGEDIR}${DATADIR}/drivedb.h \
${STAGEDIR}${DATADIR}/drivedb.h.sample
.include <bsd.port.mk>
|