1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/sysutils/smartmontools/Makefile
Alexander Logvinov 32a0ad1ce2 - Fix command 13 in ata_command_interface()
PR:		ports/137177
Submitted by:	marck (maintainer)
Approved by:	tabthorpe (mentor)
2009-08-31 13:45:57 +00:00

38 lines
795 B
Makefile

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