aboutsummaryrefslogblamecommitdiff
path: root/mail/libsrs_alt/Makefile
blob: 4fdf361f40d49c6400803efa595a504c2f1ea825 (plain) (tree)


































                                                                                   
# 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_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>