2000-11-17 20:43:34 +00:00
|
|
|
# New ports collection makefile for: mahogany
|
|
|
|
# Date created: 11 November 2000
|
|
|
|
# Whom: Stephen Kiernan <sk-ports@vegamuse.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2007-01-02 17:59:24 +00:00
|
|
|
PORTNAME= mahogany
|
|
|
|
PORTVERSION= 0.67
|
|
|
|
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+
|
2006-12-01 07:39:02 +00:00
|
|
|
WX_CONF_ARGS= absolute
|
2007-01-02 17:59:24 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --without-dspam --with-python=none
|
|
|
|
ALL_TARGET= all locales
|
|
|
|
INSTALL_TARGET= install_bin install_locale
|
2000-11-17 20:43:34 +00:00
|
|
|
|
2007-01-02 17:59:24 +00:00
|
|
|
OPTIONS= NLS "Enable Native Language Support" on
|
2000-11-17 20:43:34 +00:00
|
|
|
|
2007-01-02 17:59:24 +00:00
|
|
|
MAN1= M.1 mahogany.1
|
2000-11-17 20:43:34 +00:00
|
|
|
|
2004-07-11 22:06:19 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-01-02 17:59:24 +00:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2004-07-11 22:06:19 +00:00
|
|
|
.endif
|
|
|
|
|
2003-11-02 23:43:43 +00:00
|
|
|
post-patch:
|
2007-01-02 17:59:24 +00: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 20:43:34 +00:00
|
|
|
|
2004-07-11 22:06:19 +00:00
|
|
|
.include <bsd.port.post.mk>
|