aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2011-02-12 17:36:43 +0800
committerdhn <dhn@FreeBSD.org>2011-02-12 17:36:43 +0800
commit4eadd0d4af2ce1789dc8b59eac157df553601e9d (patch)
treee5a07f68f087cf0aa85b4b4d07b35406de1514fd /mail
parent3f9adbab3bfd07ce55af16d33152be10832d41ba (diff)
downloadfreebsd-ports-gnome-4eadd0d4af2ce1789dc8b59eac157df553601e9d.tar.gz
freebsd-ports-gnome-4eadd0d4af2ce1789dc8b59eac157df553601e9d.tar.zst
freebsd-ports-gnome-4eadd0d4af2ce1789dc8b59eac157df553601e9d.zip
- Pet portlint(1)
- Update MASTER_SITES - Remove MD5 - Add LICENSE - Mark MAKE_JOBS_SAFE PR: ports/154642 Submitted by: Jason E. Hale <bsdkaffee@gmail.com>
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