freebsd-ports/mail/sa-utils/Makefile
Adam Weinberger 531cd7932f Move {mail,japanese}/p5-Mail-SpamAssassin to &/spamassassin, in the name of
improving accessibility.

I think people who want to just find the port/package and install it are
more likely to look for "spamassassin the program" than "spamassassin the
perl module collection."
2014-03-11 21:49:40 +00:00

42 lines
889 B
Makefile

# Created by: Matthew Seaman
# $FreeBSD$
PORTNAME= sa-utils
PORTVERSION= 0.02
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= matthew@FreeBSD.org
COMMENT= SpamAssassin nightly periodic maintenance
RUN_DEPENDS= sa-update:${PORTSDIR}/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
PLIST_DIRS= ${PERIODIC_DAILY} ${PERIODIC_DAILY:H}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSACOMPILE}
RUN_DEPENDS+= re2c>=0.12.0:${PORTSDIR}/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>