summaryrefslogtreecommitdiff
path: root/mail/mutt-current/Makefile
blob: 9fee274a49eda8d6a61a1c818143ac904fe9b814 (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
50
51
52
53
54
# $NetBSD: Makefile,v 1.5 2000/08/18 22:46:38 hubertf Exp $

IGNORE=		"Stable mutt avaiable in mail/mutt"

DISTNAME=	mutt-1.1.10i
WRKSRC=		${WRKDIR}/mutt-1.1.10
CATEGORIES=	mail
MASTER_SITES=	ftp://ftp.mutt.org/pub/mutt/ \
		ftp://ftp.mutt.org/pub/mutt/devel/ \
		ftp://ftp.gbnet.net/pub/mutt-international/ \
		ftp://ftp.gbnet.net/pub/mutt-international/devel/ \
		ftp://ftp.funet.fi/pub/unix/mail/mutt/ \
		ftp://ftp.funet.fi/pub/unix/mail/mutt/devel/
DISTFILES=	mutt-1.1.10i.tar.gz charmaps-0.0.tar.gz

MAINTAINER=	pooka@netbsd.org
HOMEPAGE=	http://www.mutt.org/

BUILD_DEPENDS+=	${LOCALBASE}/bin/autoconf:../../devel/autoconf
BUILD_DEPENDS+=	${LOCALBASE}/bin/automake:../../devel/automake

EXTRACT_ONLY=	mutt-1.1.10i.tar.gz

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS+= --with-curses=${LOCALBASE} --with-exec-shell=/bin/ksh \
		 --with-docdir=${PREFIX}/share/doc/mutt \
		 --enable-pop --enable-imap
LDFLAGS+=	-s

RESTRICTED=	"Contains PGP code"
NO_SRC_ON_FTP=	${RESTRICTED}
NO_SRC_ON_CDROM=	${RESTRICTED}

.include "../../mk/bsd.prefs.mk"

.if !(defined(MUTT_INTERNATIONAL) && ${MUTT_INTERNATIONAL} == YES)
IGNORE=		"Contains PGP code"
.endif

.if ${OPSYS} == "SunOS"
PLIST_SUBST+=	LOCALEBASE=lib
.else
PLIST_SUBST+=	LOCALEBASE=share
.endif

.if ${OPSYS} == "NetBSD"
DEPENDS+=	ncurses>=4.2:../../devel/ncurses
.endif

post-extract:
	(cd ${WRKSRC} ; ${GTAR} -zxpf ${DISTDIR}/charmaps-0.0.tar.gz)

.include "../../mk/bsd.pkg.mk"