2006-03-23 21:54:27 +01:00
|
|
|
# New ports collection makefile for: libsrs_alt
|
|
|
|
# Date created: 22 March 2006
|
|
|
|
# Whom: Simon Dick <simond@irrelevant.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libsrs_alt
|
2009-04-07 22:57:48 +02:00
|
|
|
DISTVERSION= 1.0
|
2006-03-23 21:54:27 +01:00
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://srs.mirtol.com/
|
|
|
|
|
|
|
|
MAINTAINER= simond@irrelevant.org
|
|
|
|
COMMENT= Sender Rewriting Scheme C Implementation
|
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
2006-03-23 21:54:27 +01:00
|
|
|
USE_BZIP2= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-03-23 21:54:27 +01:00
|
|
|
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>
|