From dc41b47a7af69a085db87c7f8026ab3bae305e45 Mon Sep 17 00:00:00 2001
From: alex <alex@FreeBSD.org>
Date: Wed, 31 Oct 2001 19:45:42 +0000
Subject: - Update to 0.6.4. - depend on gpgme.4

PR:		31430
Submitted by:	Oliver Lehmann <lehmann@ans-netz.de> (MAINTAINER)
---
 mail/sylpheed2-devel/Makefile | 13 ++++++++++---
 mail/sylpheed2-devel/distinfo |  2 +-
 2 files changed, 11 insertions(+), 4 deletions(-)

(limited to 'mail/sylpheed2-devel')

diff --git a/mail/sylpheed2-devel/Makefile b/mail/sylpheed2-devel/Makefile
index 27780bfc6937..a49a79b03fd5 100644
--- a/mail/sylpheed2-devel/Makefile
+++ b/mail/sylpheed2-devel/Makefile
@@ -6,22 +6,26 @@
 #
 
 PORTNAME=	sylpheed
-PORTVERSION=	0.6.3
+PORTVERSION=	0.6.4
 CATEGORIES=	mail ipv6
 MASTER_SITES=	http://sylpheed.good-day.net/sylpheed/
 
 MAINTAINER=	lehmann@ans-netz.de
 
 USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_AUTOMAKE=	yes
 USE_X_PREFIX=	yes
 USE_IMLIB=	yes
 USE_LIBTOOL=	yes
+
+CONFIGURE_SCRIPT=	autogen.sh
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--disable-compface --disable-gdk-pixbuf --enable-ipv6
+CONFIGURE_ARGS=	--disable-compface --disable-gdk-pixbuf --enable-ipv6 --prefix=${PREFIX} --with-included-gettext
 
 .if defined(WITH_GPGME)
-LIB_DEPENDS+=	gpgme.3:${PORTSDIR}/security/gpgme
+LIB_DEPENDS+=	gpgme.4:${PORTSDIR}/security/gpgme
 RUN_DEPENDS+=	gpg:${PORTSDIR}/security/gnupg
 CONFIGURE_ARGS+=--enable-gpgme
 .endif
@@ -47,6 +51,9 @@ pre-extract:
 .endif
 	@${ECHO_MSG}
 
+pre-configure:
+	${PERL} -pi -e "s|AM_PROG_INSTALL|AC_PROG_INSTALL|g" ${WRKSRC}/aclocal.m4
+	${RM} -f ${WRKSRC}/ac/gpgme.m4
 
 post-install:
 .if !defined(NOPORTDOCS)
diff --git a/mail/sylpheed2-devel/distinfo b/mail/sylpheed2-devel/distinfo
index 1d160a997268..48d5dc070765 100644
--- a/mail/sylpheed2-devel/distinfo
+++ b/mail/sylpheed2-devel/distinfo
@@ -1 +1 @@
-MD5 (sylpheed-0.6.3.tar.bz2) = 538225dec1ef6d896e4bd950fc085d3e
+MD5 (sylpheed-0.6.4.tar.bz2) = 517ed25347565e776526364566163c10
-- 
cgit