aboutsummaryrefslogtreecommitdiff
path: root/mail/elmo-devel
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2011-02-12 09:38:43 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2011-02-12 09:38:43 +0000
commita728c8d831d7446602af81bd7ad35ee79f999700 (patch)
tree66398044598b3faf3e9174357220e814ad4a6c01 /mail/elmo-devel
parentb46a839227851d4780c88eeda62a52481a2f8424 (diff)
downloadports-a728c8d831d7446602af81bd7ad35ee79f999700.tar.gz
ports-a728c8d831d7446602af81bd7ad35ee79f999700.zip
Notes
Diffstat (limited to 'mail/elmo-devel')
-rw-r--r--mail/elmo-devel/Makefile16
-rw-r--r--mail/elmo-devel/distinfo1
2 files changed, 11 insertions, 6 deletions
diff --git a/mail/elmo-devel/Makefile b/mail/elmo-devel/Makefile
index e4aec77b50b0..d3a530a33762 100644
--- a/mail/elmo-devel/Makefile
+++ b/mail/elmo-devel/Makefile
@@ -7,9 +7,9 @@
PORTNAME= elmo
PORTVERSION= 1.3.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20devel/${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMESUFFIX= -devel
MAINTAINER= dhn@FreeBSD.org
@@ -22,10 +22,14 @@ USE_ICONV= yes
USE_OPENSSL= yes
USE_PERL5_RUN= yes
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
+MAKE_JOBS_SAFE= yes
MAN1= elmo.1 elmoconf.pl.1
@@ -39,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}
@@ -51,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-devel/distinfo b/mail/elmo-devel/distinfo
index 3705872eb1c4..d6e78046e999 100644
--- a/mail/elmo-devel/distinfo
+++ b/mail/elmo-devel/distinfo
@@ -1,3 +1,2 @@
-MD5 (elmo-1.3.2.tar.gz) = bc3836a276b092fde8555e42532d4bc8
SHA256 (elmo-1.3.2.tar.gz) = 96fa20b171e3c24262b3af150e89141a2a59883075b5e6a0f9a40ff60830fcbd
SIZE (elmo-1.3.2.tar.gz) = 536768