aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mahogany/Makefile
blob: 13707f0232078bf4b74220a72215fe84a388e51c (plain) (blame)
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
# New ports collection makefile for:    mahogany
# Date created:     11 November 2000
# Whom:         Stephen Kiernan <sk-ports@vegamuse.org>
#
# $FreeBSD$
#

PORTNAME=       mahogany
PORTVERSION=        0.65
CATEGORIES=     mail
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mahogany

MAINTAINER=     ports@freebsd.org
COMMENT=        An X11 mail and news client

LIB_DEPENDS+=       wx_gtk-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk-devel

USE_X_PREFIX=       yes
GNU_CONFIGURE=      yes
USE_GMAKE=      yes
USE_REINPLACE=      yes
ALL_TARGET=     all locales
INSTALL_TARGET=     install_bin install_locale

MAN1=           M.1 mahogany.1

CONFIGURE_ARGS=     --with-python=none
CONFIGURE_ENV=      OSTYPE=${OPSYS} CFLAGS="${CFLAGS}"

post-patch:
    @${REINPLACE_CMD} -e 's|-DOPENSSL_NO_KRB5||' -e 's|-O2|${CFLAGS}|' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|$$(DATADIR)/locale|$$(DESTDIR)/share/locale|' ${WRKSRC}/locale/Makefile

.include <bsd.port.mk>