a19083df44
C++14 default language.
34 lines
1 KiB
Makefile
34 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.31 2018/07/18 00:06:23 joerg Exp $
|
|
|
|
DISTNAME= smartmontools-6.6
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://smartmontools.sourceforge.net/
|
|
COMMENT= Control and monitor storage systems using SMART
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
ONLY_FOR_PLATFORM= Darwin-*-* DragonFly-*-* FreeBSD-*-* Linux-*-*
|
|
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
|
|
|
|
USE_LANGUAGES= c c++03
|
|
USE_TOOLS+= gmake
|
|
GNU_CONFIGURE= yes
|
|
|
|
OWN_DIRS= ${PKG_SYSCONFDIR}/smartd_warning.d
|
|
|
|
EGDIR= ${PREFIX}/share/examples/smartmontools
|
|
CONF_FILES= ${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf
|
|
CONF_FILES_PERMS= ${EGDIR}/smartd_warning.sh \
|
|
${PKG_SYSCONFDIR}/smartd_warning.sh \
|
|
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
|
|
RCD_SCRIPTS= smartd
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/smartmontools
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
|
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|