blob: e42874f9d2f73a2dfde548d87e7d6f8947352f80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: Matthew Seaman
# $FreeBSD$
PORTNAME= sa-utils
PORTVERSION= 0.02
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= matthew@FreeBSD.org
COMMENT= SpamAssassin nightly periodic maintenance
RUN_DEPENDS= sa-update:${PORTSDIR}/mail/p5-Mail-SpamAssassin
OPTIONS_DEFINE= SACOMPILE
SACOMPILE_DESC= Enable sa-compile support
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}
NO_STAGE= yes
.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} ${PREFIX}/${PERIODIC_DAILY}/
${INSTALL_SCRIPT} ${WRKDIR}/sa-utils \
${PREFIX}/${PERIODIC_DAILY}/sa-utils
.include <bsd.port.mk>
|