aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2011-02-12 09:36:43 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2011-02-12 09:36:43 +0000
commitb46a839227851d4780c88eeda62a52481a2f8424 (patch)
treec930538d9c0b96cd3cbc223c286e9095c02fc4b9 /mail
parentde593ca400d1f03a7011249da9001af86296792b (diff)
downloadports-b46a839227851d4780c88eeda62a52481a2f8424.tar.gz
ports-b46a839227851d4780c88eeda62a52481a2f8424.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/elmo/Makefile23
-rw-r--r--mail/elmo/distinfo1
2 files changed, 16 insertions, 8 deletions
diff --git a/mail/elmo/Makefile b/mail/elmo/Makefile
index cfd664b3fe52..bb79e46a7d08 100644
--- a/mail/elmo/Makefile
+++ b/mail/elmo/Makefile
@@ -7,21 +7,28 @@
PORTNAME= elmo
PORTVERSION= 1.3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20devel/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= dhn@FreeBSD.org
COMMENT= Receive, filter, read, compose and send mail at the text console
-CONFLICTS= elmo-devel-*
+CONFLICTS= elmo-devel-[0-9]*
GNU_CONFIGURE= yes
USE_ICONV= yes
USE_OPENSSL= yes
USE_PERL5_RUN= yes
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+MAKE_JOBS_SAFE= yes
MAN1= elmo.1 elmoconf.pl.1
@@ -36,8 +43,8 @@ USE_GETTEXT= yes
.include <bsd.port.pre.mk>
-.if exists(${LOCALBASE}/lib/libgpgme03.so) || defined(WITH_GPGME)
-LIB_DEPENDS+= gpgme03:${PORTSDIR}/security/gpgme03
+.if exists(${LOCALBASE}/lib/libgpgme.so) || defined(WITH_GPGME)
+LIB_DEPENDS+= gpgme.18:${PORTSDIR}/security/gpgme
.else
pre-everything::
@${ECHO_CMD}
@@ -48,6 +55,8 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e "s|/usr/bin/env perl|${PERL} -w|" \
${WRKSRC}/src/elmoconf.pl
+ @${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' -e 's|== "|= "|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|gpgme4|gpgme|g' ${WRKSRC}/src/pgp.c
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/mail/elmo/distinfo b/mail/elmo/distinfo
index 26c7435b1b14..7e9f66086396 100644
--- a/mail/elmo/distinfo
+++ b/mail/elmo/distinfo
@@ -1,3 +1,2 @@
-MD5 (elmo-1.3.0.tar.gz) = 432d502e188f35e061a5fcc73427650f
SHA256 (elmo-1.3.0.tar.gz) = 6a4033ac4db0316fc3cbb5b36a1422ecaaae844cd0c668240037f3a6cf68d36b
SIZE (elmo-1.3.0.tar.gz) = 513705