summaryrefslogtreecommitdiff
path: root/mail/libetpan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libetpan/Makefile')
-rw-r--r--mail/libetpan/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/mail/libetpan/Makefile b/mail/libetpan/Makefile
index ddbf1d54799..b010399eeca 100644
--- a/mail/libetpan/Makefile
+++ b/mail/libetpan/Makefile
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.40 2014/02/12 23:18:08 tron Exp $
+# $NetBSD: Makefile,v 1.41 2015/04/03 12:04:30 nros Exp $
-DISTNAME= libetpan-1.1
-PKGREVISION= 3
+DISTNAME= libetpan-1.6
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libetpan/}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=dinhviethoa/}
+EXTRACT_USING= bsdtar
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://libetpan.sourceforge.net/
+HOMEPAGE= http://etpan.org/libetpan.html
COMMENT= Really nice mail library
LICENSE= modified-bsd
@@ -15,6 +15,15 @@ USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= no
+USE_TOOLS+= autoconf automake
+
+pre-configure:
+ cd ${WRKSRC} && \
+ libtoolize --force --copy && \
+ aclocal -I m4 && \
+ autoheader && \
+ autoconf && \
+ automake --add-missing --foreign --force --copy
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure