aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2011-02-12 17:38:43 +0800
committerdhn <dhn@FreeBSD.org>2011-02-12 17:38:43 +0800
commit254d2a2bef8adaf8f49312ae7e02328c8dbe46a7 (patch)
tree284644bb06fa8b59f268f3a2a406bd0587db8836
parent4eadd0d4af2ce1789dc8b59eac157df553601e9d (diff)
downloadfreebsd-ports-gnome-254d2a2bef8adaf8f49312ae7e02328c8dbe46a7.tar.gz
freebsd-ports-gnome-254d2a2bef8adaf8f49312ae7e02328c8dbe46a7.tar.zst
freebsd-ports-gnome-254d2a2bef8adaf8f49312ae7e02328c8dbe46a7.zip
- Update MASTER_SITES
- Remove MD5 - Add LICENSE - Mark MAKE_JOBS_SAFE PR: ports/154643 Submitted by: Jason E. Hale <bsdkaffee@gmail.com>
-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