freebsd-ports/mail/sa-utils/Makefile
Matthew Seaman fa0298b095 Update to 0.04.
Correctly apply the anticongestion sleep time.  Pointy hat to me for
copying too literally.

PR:		181556
Reported by:	asomers
2017-04-08 13:02:36 +00:00

40 lines
799 B
Makefile

# Created by: Matthew Seaman
# $FreeBSD$
PORTNAME= sa-utils
PORTVERSION= 0.04
CATEGORIES= mail
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= matthew@FreeBSD.org
COMMENT= SpamAssassin nightly periodic maintenance
RUN_DEPENDS= sa-update:mail/spamassassin
OPTIONS_DEFINE= SACOMPILE
SACOMPILE_DESC= Enable sa-compile support
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= sa-utils
PERIODIC_DAILY= etc/periodic/daily
PLIST_FILES= ${PERIODIC_DAILY}/sa-utils
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSACOMPILE}
RUN_DEPENDS+= re2c>=0.12.0:devel/re2c
SUB_LIST+= SACOMPILE=YES
.else
SUB_LIST+= SACOMPILE=NO
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DAILY}/
${INSTALL_SCRIPT} ${WRKDIR}/sa-utils \
${STAGEDIR}${PREFIX}/${PERIODIC_DAILY}/sa-utils
.include <bsd.port.mk>