2000-11-17 21:43:34 +01:00
|
|
|
# New ports collection makefile for: mahogany
|
|
|
|
# Date created: 11 November 2000
|
|
|
|
# Whom: Stephen Kiernan <sk-ports@vegamuse.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2007-01-02 18:59:24 +01:00
|
|
|
PORTNAME= mahogany
|
|
|
|
PORTVERSION= 0.67
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 6
|
2007-01-02 18:59:24 +01:00
|
|
|
CATEGORIES= mail
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Mahogany/${PORTVERSION}
|
2007-01-02 18:59:24 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= An X11 mail and news client
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_WX= 2.6+
|
2006-12-01 08:39:02 +01:00
|
|
|
WX_CONF_ARGS= absolute
|
2007-01-02 18:59:24 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --without-dspam --with-python=none
|
|
|
|
ALL_TARGET= all locales
|
|
|
|
INSTALL_TARGET= install_bin install_locale
|
2000-11-17 21:43:34 +01:00
|
|
|
|
2007-01-02 18:59:24 +01:00
|
|
|
OPTIONS= NLS "Enable Native Language Support" on
|
2000-11-17 21:43:34 +01:00
|
|
|
|
2007-01-02 18:59:24 +01:00
|
|
|
MAN1= M.1 mahogany.1
|
2000-11-17 21:43:34 +01:00
|
|
|
|
2004-07-12 00:06:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-10-01 11:44:46 +02:00
|
|
|
.if ${OSVERSION} >= 700042
|
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile with GCC 4.2
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2007-01-02 18:59:24 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2004-07-12 00:06:19 +02:00
|
|
|
.endif
|
|
|
|
|
2003-11-03 00:43:43 +01:00
|
|
|
post-patch:
|
2007-01-02 18:59:24 +01:00
|
|
|
@${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
|
2000-11-17 21:43:34 +01:00
|
|
|
|
2004-07-12 00:06:19 +02:00
|
|
|
.include <bsd.port.post.mk>
|