freebsd-ports/sysutils/smartmontools/Makefile
Alexander Logvinov 6eaf7a345f - Add a patch that makes shure the data buffers used to read smart
attributes and logs do not straddle page boundaries

PR:		ports/138540
Submitted by:	Brad Huntting <huntting AT glarp.com>
Approved by:	tabthorpe, glarkin (mentors, implicit), marck (maintainer)
2009-09-11 13:41:59 +00:00

37 lines
814 B
Makefile

# New ports collection makefile for: smartmontools
# Date created: 12 October 2003
# Whom: Eduard Martinescu
#
# $FreeBSD$
#
PORTNAME= smartmontools
PORTVERSION= 5.38
PORTREVISION= 8
CATEGORIES= sysutils
MASTER_SITES= SF
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/} -Wno-write-strings
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>