pkgsrc/sysutils/smartmontools/Makefile

27 lines
758 B
Makefile

# $NetBSD: Makefile,v 1.6 2005/04/11 21:47:29 tv Exp $
DISTNAME= smartmontools-5.32
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
MAINTAINER= shattered@users.sourceforge.net
HOMEPAGE= http://smartmontools.sourceforge.net/
COMMENT= Control and monitor storage systems using SMART
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_GNU_TOOLS+= make
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
EGDIR= ${PREFIX}/share/examples/smartmontools
CONF_FILES= ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf
RCD_SCRIPTS= smartd
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/smartmontools
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
INSTALLATION_DIRS= ${EGDIR}
.include "../../mk/bsd.pkg.mk"