blob: 6f421a3b17a551d8368ffd406822ee164c53675c (
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
43
44
45
46
47
48
49
50
51
52
53
54
|
# Created by: Rashid N. Achilov <shelton@granch.ru>
# $FreeBSD$
PORTNAME= sccmilter
PORTVERSION= 0.95.7
PORTREVISION= 3
CATEGORIES= mail sysutils
MASTER_SITES= http://openoffice.mirahost.ru/fileZ/ports/ \
http://citycat4.land.ru/
MAINTAINER= ports@FreeBSD.org
COMMENT= Sendmail spam control and canceling filter, based on Milter API
.if !exists(/usr/lib/libmilter.a)
IGNORE= requires Sendmail 8.12; upgrade the base system
.endif
USES= tar:bzip2
USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=/var
WRKSRC= ${WRKDIR}/${PORTNAME}
MAN5= sccmilter.conf.5 scchosts.5 sccusers.5
MAN8= sccmilter.8
CPPFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --with-debug
.endif
NO_STAGE= yes
pre-configure:
@${ECHO_MSG} ""
@${ECHO_MSG} "For debugging information support you should specify"
@${ECHO_MSG} " WITH_DEBUG=yes (press Ctrl-C here and start make WITH_DEBUG=yes)"
@${ECHO_MSG} ""
@sleep 2
post-install:
${STRIP_CMD} ${PREFIX}/libexec/sccmilter
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in CHANGES FAQ README TODO
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|