aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libspf2/Makefile
blob: e793141e8ac2eef49d474422056c4a1993b9699e (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
# Created by: snowchyld
# $FreeBSD$

PORTNAME=   libspf2
PORTVERSION=    1.2.10
PORTREVISION=   1
CATEGORIES= mail
MASTER_SITES=   http://www.libspf2.org/spf/ \
        LOCAL/sunpoet

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Sender Rewriting Scheme 2 C Implementation

LICENSE=    BSD LGPL21 LGPL3
LICENSE_COMB=   dual

CONFLICTS=  ${PORTNAME}-1.0.* p5-Mail-SPF-Query-[0-9]*

GNU_CONFIGURE=  yes
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e '/__VA_ARGS__/ s|format, ||g' ${WRKSRC}/src/include/spf_log.h

.include <bsd.port.mk>