aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/smartmontools-devel/Makefile
blob: 189dc559c37e24eaf01e183be9e577c05d7cfac9 (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
# New ports collection makefile for:   smartmontools
# Date created:        12 October 2003
# Whom:                Eduard Martinescu
#
# $FreeBSD$
#

PORTNAME=   smartmontools
PORTVERSION=    5.37
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= pav@FreeBSD.org
COMMENT=    S.M.A.R.T. disk monitoring tools

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --mandir=${PREFIX}/man --enable-sample
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

SUB_FILES=  pkg-message
USE_RC_SUBR=    smartd

MAN5=       smartd.conf.5
MAN8=       smartd.8 smartctl.8

post-patch:
    @${REINPLACE_CMD} -e 's| install-initdDATA | |' ${WRKSRC}/Makefile.in

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>