Files
ports/sysutils/logwatch/Makefile
T
Michael Grimm 01c5d9fe39 sysutils/logwatch: Update 7.13 => 7.14
Commit log:
https://sourceforge.net/p/logwatch/git/ci/93cb38bb54f0ca12f4e792d9167993c9213e2c66/log/

- Remove no longer needed files/pkg-message.in and
  files/patch-scripts_services_postfix.
- Optimize post-install-DOCS-on.

PR:	292655
2026-01-22 21:25:57 +03:00

44 lines
1.1 KiB
Makefile

PORTNAME= logwatch
DISTVERSION= 7.14
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${DISTVERSION}
MAINTAINER= trashcan@ellael.org
COMMENT= Log file analysis program
WWW= https://www.logwatch.org
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= scripts/logwatch.pl
MAKE_ENV+= SITE_PERL_REL=${SITE_PERL_REL}
NO_ARCH= yes
NO_BUILD= yes
PORTDOCS= HOWTO-Customize-LogWatch README
OPTIONS_DEFINE= DATEMANIP DOCS
DATEMANIP_DESC= Install Date::Manip perl module for all valid --range parameters
DATEMANIP_RUN_DEPENDS= p5-Date-Manip>=0:devel/p5-Date-Manip
pre-configure:
${REINPLACE_CMD} -E \
-e "s,/usr/share/logwatch,${LOCALBASE}," \
-e "s,/etc/logwatch,${ETCDIR}," \
-e "s,.BaseDir/lib,${LIBEXECDIR}," \
-e "s,BaseDir/scripts/([^/]*)/,BaseDir/libexec/${PORTNAME}/defaults/\1/," \
-e "s,ConfigDir/scripts/([^/]*)/,BaseDir/libexec/${PORTNAME}/\1/," \
${WRKSRC}/scripts/logwatch.pl
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>