freebsd-ports/mail/mahogany/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

55 lines
1.1 KiB
Makefile

# New ports collection makefile for: mahogany
# Date created: 11 November 2000
# Whom: Stephen Kiernan <sk-ports@vegamuse.org>
#
# $FreeBSD$
#
PORTNAME= mahogany
PORTVERSION= 0.67
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An X11 mail and news client
USE_BZIP2= yes
USE_GMAKE= yes
USE_WX= 2.6+
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-dspam --with-python=none
ALL_TARGET= all locales
INSTALL_TARGET= install_bin install_locale
OPTIONS= NLS "Enable Native Language Support" on
MAN1= M.1 mahogany.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|-DOPENSSL_NO_KRB5||; \
s|-O2|${CFLAGS}|; \
s|-Wno-pointer-sign||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|$$(DATADIR)/locale|$$(DESTDIR)/share/locale|' \
${WRKSRC}/locale/Makefile
.include <bsd.port.post.mk>