summaryrefslogtreecommitdiff
path: root/mail/elmo/Makefile
blob: 9ebb7ab0cccd69aa54f4ad4e72a7d4a48fe16150 (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
36
37
38
39
40
41
# Created by: trevor
# $FreeBSD$

PORTNAME=	elmo
PORTVERSION=	1.3.2
PORTREVISION=	1
CATEGORIES=	mail
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Receive, filter, read, compose, and send mail at the text console

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

CONFLICTS=	elmo-devel-[0-9]*

GNU_CONFIGURE=	yes
USES=		iconv localbase ncurses shebangfix perl5 ssl
SHEBANG_FILES=	src/elmoconf.pl
USE_PERL5=	run

CFLAGS+=		-fcommon

EXPIRATION_DATE=	2020-09-30
DEPRECATED=		Unmaintained and dead upstream

OPTIONS_DEFINE=	GPGME NLS
OPTIONS_SUB=	yes

GPGME_DESC=		GnuPG support using GPGME
GPGME_LIB_DEPENDS=	libgpgme.so:security/gpgme
GPGME_CONFIGURE_ENV_OFF=ac_cv_header_gpgme_h=no
NLS_CONFIGURE_ON=	--with-libintl-prefix="${LOCALBASE}"
NLS_CONFIGURE_OFF=	--disable-nls
NLS_USES=		gettext

post-patch:
	@${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure

.include <bsd.port.mk>