1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/sysutils/smartmontools/Makefile
Xin LI 05d6bc7bcc Update to 5.39.
This version is long awaited and the important improvements related to
FreeBSD are:

 - USB device type autodetection for some devices
   http://sourceforge.net/apps/trac/smartmontools/wiki/Supported_USB-Devices
 - Support for HighPoint RocketRAID controllers
 - Support RAID controllers using /dev/pass devices
 - Support CHECK_POWER_MODE and WRITE_LOG
 - Fix CCISS file descriptor leak
 - New device type detection algorithm on FreeBSD, not based on filename
 - Support for the adaX (ATA on CAM bus) devices on FreeBSD 8.0 and higher

PR:		ports/141371
Submitted by:	Alex Samorukov <samm os2 kiev ua>
Approved by:	marck (maintainer)
2009-12-23 18:55:52 +00:00

41 lines
890 B
Makefile

# New ports collection makefile for: smartmontools
# Date created: 12 October 2003
# Whom: Eduard Martinescu
#
# $FreeBSD$
#
PORTNAME= smartmontools
PORTVERSION= 5.39
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= marck@FreeBSD.org
COMMENT= S.M.A.R.T. disk monitoring tools
CONFLICTS= smartmontools-devel-[0-9]*
USE_GMAKE= yes
# hack to prevent gmake failure on 6.xx
GMAKE= make
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>