freebsd-ports/sysutils/smartmontools/Makefile
Dmitry Marakasov a511b7a8ae - Fix shebangs
Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
2015-07-31 14:50:56 +00:00

39 lines
802 B
Makefile

# Created by: Eduard Martinescu
# $FreeBSD$
PORTNAME= smartmontools
PORTVERSION= 6.4
PORTREVISION= 1
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]*
OPTIONS_DEFINE= DOCS
USES= alias gmake shebangfix
SHEBANG_FILES= examplescripts/Example5
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-sample \
--with-initscriptdir=${PREFIX}/etc/rc.d
SUB_FILES= pkg-message smart
USE_RC_SUBR= smartd
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/smart \
${STAGEDIR}${PREFIX}/etc/periodic/daily
.include <bsd.port.mk>