blob: cc099b51c84a786862ea76b7cb9f65af2297e69c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Stephen Kiernan <sk-ports@vegamuse.org>
# $FreeBSD$
PORTNAME= mahogany
PORTVERSION= 0.67
PORTREVISION= 7
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/Mahogany/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= 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_DEFINE= NLS
MAN1= M.1 mahogany.1
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
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.mk>
|