2013-01-27 06:55:20 +01:00
|
|
|
# Created by: trevor
|
2003-09-27 18:14:30 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= elmo
|
2004-10-14 17:33:10 +02:00
|
|
|
PORTVERSION= 1.3.2
|
2013-10-20 21:20:15 +02:00
|
|
|
PORTREVISION= 5
|
2003-09-27 18:14:30 +02:00
|
|
|
CATEGORIES= mail
|
2011-02-12 10:38:43 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2004-08-08 17:51:46 +02:00
|
|
|
PKGNAMESUFFIX= -devel
|
2003-09-27 18:14:30 +02:00
|
|
|
|
2009-03-06 19:14:36 +01:00
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= Receive, filter, read, compose, and send mail at the text console
|
2003-09-27 18:14:30 +02:00
|
|
|
|
2004-08-08 17:56:52 +02:00
|
|
|
CONFLICTS= elmo-[0-9]*
|
|
|
|
|
2003-09-27 18:14:30 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-09-15 10:15:41 +02:00
|
|
|
USES= iconv perl5
|
2004-08-07 09:40:19 +02:00
|
|
|
USE_OPENSSL= yes
|
2013-09-15 10:15:41 +02:00
|
|
|
USE_PERL5= run
|
2004-08-08 17:51:46 +02:00
|
|
|
|
2011-02-12 10:38:43 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2004-08-07 09:40:19 +02:00
|
|
|
|
2014-02-21 14:37:56 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-06-04 16:17:16 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2006-08-07 15:35:49 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2013-06-04 16:17:16 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2006-08-07 15:35:49 +02:00
|
|
|
.endif
|
|
|
|
|
2004-08-07 09:40:19 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2011-02-12 10:38:43 +01:00
|
|
|
.if exists(${LOCALBASE}/lib/libgpgme.so) || defined(WITH_GPGME)
|
2013-10-20 21:20:15 +02:00
|
|
|
LIB_DEPENDS+= libgpgme.so:${PORTSDIR}/security/gpgme
|
2004-08-07 09:40:19 +02:00
|
|
|
.else
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@${ECHO_CMD} "Define WITH_GPGME=yes to build with gpgme support."
|
|
|
|
@${ECHO_CMD}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2004-08-07 17:42:12 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \
|
2004-08-07 09:40:19 +02:00
|
|
|
${WRKSRC}/src/elmoconf.pl
|
2011-02-12 10:38:43 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' -e 's|== "|= "|g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' ${WRKSRC}/src/pgp.c
|
2004-08-07 09:40:19 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|