landry b08dbb8c01 sysutils/smartmontools: update to 7.2
from MAINTAINER Martin Ziemer
2021-06-15 15:02:30 +00:00

37 lines
918 B
Makefile

# $OpenBSD: Makefile,v 1.45 2021/06/15 15:02:30 landry Exp $
COMMENT= control and monitor storage systems using SMART
# XXX at update time check whether C++11 is actually needed
DISTNAME= smartmontools-7.2
CATEGORIES= sysutils
HOMEPAGE= https://www.smartmontools.org/
MAINTAINER = Martin Ziemer <horrad@horrad.de>
# GPLv2+
PERMIT_PACKAGE= Yes
WANTLIB= c m ${COMPILER_LIBCXX} util
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
SEPARATE_BUILD= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --docdir=${PREFIX}/share/doc/smartmontools \
--with-exampledir=${PREFIX}/share/examples/smartmontools \
--with-libcap-ng=no \
--without-drivedbdir \
--without-gnupg
CONFIGURE_ARGS+= --without-cxx11-option
post-install:
${INSTALL_SCRIPT} ${WRKBUILD}/smartd_warning.sh \
${PREFIX}/share/examples/smartmontools
.include <bsd.port.mk>