freebsd-ports/sysutils/smartmontools/Makefile
Wesley Shields eed1fb4787 - Fix questionable correctness of autodetect procedure and switch to using
kern.disks in place of ls /dev/da*[0-9].

PR:		ports/135213
Submitted by:	Dmitry Morozovsky <marck@freebsd.org> (maintainer)
2009-06-03 18:12:30 +00:00

38 lines
851 B
Makefile

# New ports collection makefile for: smartmontools
# Date created: 12 October 2003
# Whom: Eduard Martinescu
#
# $FreeBSD$
#
PORTNAME= smartmontools
PORTVERSION= 5.38
PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= marck@FreeBSD.org
COMMENT= S.M.A.R.T. disk monitoring tools
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample
SUB_FILES= pkg-message smart
USE_RC_SUBR= smartd
MAN5= smartd.conf.5
MAN8= smartd.8 smartctl.8
CFLAGS:= ${CFLAGS:S/-O2/-O/}
post-patch:
@${REINPLACE_CMD} -e 's| install-initdDATA | |' ${WRKSRC}/Makefile.in
post-install:
${MKDIR} ${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/smart ${PREFIX}/etc/periodic/daily/smart
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>