blob: 0037518248dcb6ec6e09c854f431f1c3c97ef330 (
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
|
# Created by: Eduard Martinescu
# $FreeBSD$
PORTNAME= smartmontools
PORTVERSION= 6.3
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= samm@os2.kiev.ua
COMMENT= S.M.A.R.T. disk monitoring tools
LICENSE= GPLv2
CONFLICTS= smartmontools-devel-[0-9]*
OPTIONS_DEFINE= DOCS
DOCS_CONFIGURE_OFF= --without-docdir --without-exampledir
DOCS_CONFIGURE_ON= --with-docdir=${DOCSDIR}
USES= alias gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-drivedb --enable-sample \
--with-initscriptdir=${PREFIX}/etc/rc.d
SUB_FILES= pkg-message smart
USE_RC_SUBR= smartd
PORTDOCS= *
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
.include <bsd.port.mk>
|