1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/sysutils/smartmontools/Makefile
Ruslan Makhmatkhanov efc617a7bb - update to 6.0
- trim Makefile header while here

changelog:
http://sourceforge.net/apps/trac/smartmontools/browser/tags/RELEASE_6_0/smartmontools/NEWS

PR:	172697
Submitted by:	Jeremy Chadwick <jdc at koitsu dot org>
Approved by:	Alex Samorukov <samm at os2.kiev dot ua> (maintainer)
Feature safe:	yes
2012-10-18 12:01:02 +00:00

48 lines
963 B
Makefile

# Create by: Eduard Martinescu
# $FreeBSD$
PORTNAME= smartmontools
PORTVERSION= 6.0
CATEGORIES= sysutils
MASTER_SITES= SF
MAINTAINER= samm@os2.kiev.ua
COMMENT= S.M.A.R.T. disk monitoring tools
LICENSE= GPLv2
CONFLICTS= smartmontools-devel-[0-9]*
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-drivedb --enable-sample \
--with-initscriptdir=${PREFIX}/etc/rc.d
SUB_FILES= pkg-message smart
USE_RC_SUBR= smartd
MAN5= smartd.conf.5
MAN8= smartd.8 smartctl.8
PORTDOCS= *
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+= --without-docdir --without-exampledir
.else
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
.endif
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>