1 # Created by: Mikhail Teterin
7 MASTER_SITES= http://virtual-estates.net/skem/
9 MAINTAINER= mi@aldan.algebra.com
10 COMMENT= Cache earlier sendmail's verdicts for the relays
12 USES= tar:bzip2 uidfix
14 PLIST_FILES= sbin/skem \
17 OPTIONS_DEFINE= SKEM_MILTER421 SKEM_NO_CLEANUP SKEM_NO_LOGWATCHER SKEM_NETINET6 SKEM_NETINET
18 SKEM_MILTER421_DESC= Sendmail was built with -D_FFR_MILTER_421
19 SKEM_NO_CLEANUP_DESC= Omit the auto-cleanup module
20 SKEM_NO_LOGWATCHER_DESC= Omit the log-watching module
21 SKEM_NETINET6_DESC= Support IPv6 addresses (not tested)
22 SKEM_NETINET_DESC= Support IPv4 addresses
24 OPTIONS_DEFAULT= SKEM_NETINET
26 .include <bsd.port.options.mk>
28 .if ${ARCH} == "powerpc"
29 BROKEN= Does not compile on powerpc
32 .if ${OSVERSION} >= 700011
33 EXTRA_PATCHES= files/timet.patch
36 .if defined(PTHREAD_LIBS)
37 MAKE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
39 .if defined(PTHREAD_CFLAGS)
40 MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
43 .for o in ${PORT_OPTIONS:MSKEM_*}
44 . if ${PORT_OPTIONS:M$o}
49 .include <bsd.port.mk>