d7c341a8a9
directory instead of $(sysconfdir) for packages that use GNU automake. Also modify patch-aa to avoid installing the provided init.d script in a simpler way.
28 lines
781 B
Makefile
28 lines
781 B
Makefile
# $NetBSD: Makefile,v 1.4 2005/01/02 20:29:16 jlam Exp $
|
|
|
|
DISTNAME= smartmontools-5.32
|
|
PKGREVISION= 1
|
|
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_BUILDLINK3= yes
|
|
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"
|