aboutsummaryrefslogtreecommitdiff
path: root/mail/libsrs_alt/Makefile
blob: 2da7d5d795f4e6610ff50a245f53be00008948dc (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
# New ports collection makefile for:   libsrs_alt
# Date created:        22 March 2006
# Whom:                Simon Dick <simond@irrelevant.org>
#
# $FreeBSD$
#

PORTNAME=		libsrs_alt
DISTVERSION=		1.0rc1a
CATEGORIES=		mail
MASTER_SITES=		http://srs.mirtol.com/

MAINTAINER=		simond@irrelevant.org
COMMENT=		Sender Rewriting Scheme C Implementation

USE_AUTOTOOLS=	libtool:15
USE_BZIP2=		yes
INSTALLS_SHLIB=		yes
SHLIB_MAJOR=		1
GNU_CONFIGURE=		yes

PLIST_SUB=		SHLIB_MAJOR="${SHLIB_MAJOR}"

OPTIONS=	COMPAT_BASE64	"Enable MTA Friendly base64 compatibility mode" Off

.include <bsd.port.pre.mk>

.if defined(WITH_COMPAT_BASE64)
CONFIGURE_ARGS+=	--with-base64compat
.endif

post-patch:
	@${REINPLACE_CMD} -E 's,^(test_LDFLAGS.*$$),\1 -lcompat,' \
		${WRKSRC}/Makefile.in

.include <bsd.port.post.mk>