blob: ed18252c52da6d101a1c43c86b5988c050c51253 (
plain)
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
|
# Created by: Axel Steiner <ast@treibsand.com>
# $FreeBSD$
PORTNAME= spmfilter-spamassassin
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.spmfilter.org/attachments/download/58/
MAINTAINER= ast@treibsand.com
COMMENT= Spamassassin plugin for spmfilter
BUILD_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
RUN_DEPENDS= spmfilter>=0.4:${PORTSDIR}/mail/spmfilter
USES= cmake
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
-DCMAKE_LIBRARY_PATH="${LOCALBASE}/lib"
USE_LDCONFIG= ${PREFIX}/lib/spmfilter
USE_PKGCONFIG= build
OPTIONS= DEBUG "Enable Debugging" off
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
CMAKE_ARGS+= -DENABLE_DEBUG=TRUE
.endif
MAN1= ${PORTNAME}.1 \
smf-spamq.1 \
smf-spamctl.1
MANCOMPRESSED= yes
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' \
${WRKSRC}/cmake/Modules/SMFMacros.cmake
.include <bsd.port.post.mk>
|