From e538dab1e271bca87a9bef3f7ff39031b9aa1f8a Mon Sep 17 00:00:00 2001 From: Greg Larkin Date: Sat, 9 May 2009 23:34:44 +0000 Subject: [PATCH] Import your Mbox or Maildir files into GMail. WWW: http://marklyon.org/gmail/old/default.htm --- mail/Makefile | 1 + mail/gml/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ mail/gml/distinfo | 3 +++ mail/gml/pkg-descr | 3 +++ 4 files changed, 47 insertions(+) create mode 100644 mail/gml/Makefile create mode 100644 mail/gml/distinfo create mode 100644 mail/gml/pkg-descr diff --git a/mail/Makefile b/mail/Makefile index f1dcfdd14e96..f9ec7f2510af 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -163,6 +163,7 @@ SUBDIR += gmime2-sharp SUBDIR += gmime24 SUBDIR += gmime24-sharp + SUBDIR += gml SUBDIR += gnarwl SUBDIR += gnubiff SUBDIR += gnome-gmail-notifier diff --git a/mail/gml/Makefile b/mail/gml/Makefile new file mode 100644 index 000000000000..bf9cfa67aa8e --- /dev/null +++ b/mail/gml/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: gml +# Date created: 23 March 2009 +# Whom: Alexander Logvinov +# +# $FreeBSD$ +# + +PORTNAME= gml +PORTVERSION= 0.4 +CATEGORIES= mail +MASTER_SITES= http://marklyon.org/gmail/old/ \ + LOCAL/glarkin +DISTNAME= ${PORTNAME} +EXTRACT_SUFX= .tar + +MAINTAINER= ports@logvinov.com +COMMENT= Mbox & Maildir to Gmail loader + +USE_PYTHON_RUN= yes +NO_WRKSUBDIR= yes +NO_BUILD= yes +USE_DOS2UNIX= yes +PLIST_FILES= bin/${PORTNAME} + +PORTDOCS= README + +post-patch: + @${REINPLACE_CMD} -e 's|.exe||g' \ + -e 's|"c:\\mail\\Inbox.*"|/home/user/Inbox|g' ${WRKDIR}/* + +do-install: + @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME} +.if !defined(NOPORTDOCS) + @${INSTALL} -d ${DOCSDIR} +.for i in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/mail/gml/distinfo b/mail/gml/distinfo new file mode 100644 index 000000000000..7a0e43211d8a --- /dev/null +++ b/mail/gml/distinfo @@ -0,0 +1,3 @@ +MD5 (gml.tar) = 88f23933db1abf2db37424a1983757e7 +SHA256 (gml.tar) = 028b65de5ce14235a89bbd423a2af7a34cae72b9247d15a587ebb583d1617a0c +SIZE (gml.tar) = 30720 diff --git a/mail/gml/pkg-descr b/mail/gml/pkg-descr new file mode 100644 index 000000000000..6ae42c9c8b0b --- /dev/null +++ b/mail/gml/pkg-descr @@ -0,0 +1,3 @@ +Import your Mbox or Maildir files into GMail. + +WWW: http://marklyon.org/gmail/old/default.htm