summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/smartmontools/Makefile')
-rw-r--r--sysutils/smartmontools/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index 7cdd2f08a275..85d841432579 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -1,6 +1,5 @@
PORTNAME= smartmontools
-DISTVERSION= 7.4
-PORTREVISION= 2
+DISTVERSION= 7.5
CATEGORIES= sysutils
MASTER_SITES= SF
@@ -11,26 +10,30 @@ WWW= https://www.smartmontools.org
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lib cpe shebangfix
+USES= compiler:c++11-lib cpe
+
USE_RC_SUBR= smartd
-SHEBANG_FILES= examplescripts/Example5
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
+PORTDOCS= *
+SUB_FILES= pkg-message smart
+
CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-sample \
--with-gnupg=yes \
--with-initscriptdir=${PREFIX}/etc/rc.d \
--with-nvme-devicescan=yes
-SUB_FILES= pkg-message smart
-
-PORTDOCS= *
-
OPTIONS_DEFINE= DOCS
post-patch:
- @${REINPLACE_CMD} -e 's| install-initdDATA| |' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's| install-initdDATA| |g' \
+ ${PATCH_WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|install-drivedbinstDATA install-examplesDATA|install-drivedbinstDATA|g' \
+ ${PATCH_WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|install-examplesSCRIPTS install-man|install-man|g' \
+ ${PATCH_WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily