diff --git a/mail/Makefile b/mail/Makefile index 2a6344c531bf..932b79bb08b2 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -528,6 +528,7 @@ SUBDIR += sylpheed-claws-etpan_privacy SUBDIR += sylpheed-claws-fetchinfo SUBDIR += sylpheed-claws-mailmbox + SUBDIR += sylpheed-claws-newmail SUBDIR += sylpheed-claws-perl SUBDIR += sylpheed-claws-smime SUBDIR += sylpheed2 diff --git a/mail/claws-mail-newmail/Makefile b/mail/claws-mail-newmail/Makefile new file mode 100644 index 000000000000..9e383a7b99d2 --- /dev/null +++ b/mail/claws-mail-newmail/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: sylpheed-claws-newmail +# Date created: 7 April 2006 +# Whom: Pawel Pekala +# +# $FreeBSD$ +# + +PORTNAME= newmail +PORTVERSION= 0.0.3 +CATEGORIES= mail +MASTER_SITES= http://claws.sylpheed.org/downloads/plugins/ +PKGNAMEPREFIX= sylpheed-claws- + +MAINTAINER= c0rn@o2.pl +COMMENT= Message header summary logging plugin for sylpheed-claws + +BUILD_DEPENDS= sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws +RUN_DEPENDS= sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_AUTOTOOLS= autoconf:259 + +PLIST_FILES=lib/sylpheed-claws/plugins/newmail.a \ + lib/sylpheed-claws/plugins/newmail.la \ + lib/sylpheed-claws/plugins/newmail.so + +.include diff --git a/mail/claws-mail-newmail/distinfo b/mail/claws-mail-newmail/distinfo new file mode 100644 index 000000000000..a9f8fc2a4a9a --- /dev/null +++ b/mail/claws-mail-newmail/distinfo @@ -0,0 +1,3 @@ +MD5 (newmail-0.0.3.tar.gz) = 47127ccef56a0b218aab3a4d8c2eacb8 +SHA256 (newmail-0.0.3.tar.gz) = 0f2671675bdf924d0f2d316fc3fad8d9db641b96a5638f9008504f4239f720f3 +SIZE (newmail-0.0.3.tar.gz) = 316825 diff --git a/mail/claws-mail-newmail/files/patch-configure.ac b/mail/claws-mail-newmail/files/patch-configure.ac new file mode 100644 index 000000000000..939008b8425c --- /dev/null +++ b/mail/claws-mail-newmail/files/patch-configure.ac @@ -0,0 +1,15 @@ +--- configure.ac.orig Fri Apr 7 16:17:27 2006 ++++ configure.ac Fri Apr 7 16:19:51 2006 +@@ -45,7 +45,11 @@ + + dnl check for sylpheed-claws + PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 1.9.100.93) +-SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws ) ++if test -z $prefix ; then ++ SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws ) ++else ++ SYLPHEED_CLAWS_PLUGINDIR=${prefix}/lib/sylpheed-claws/plugins ++fi + AC_SUBST(SYLPHEED_CLAWS_CFLAGS) + AC_SUBST(SYLPHEED_CLAWS_LIBS) + AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR) diff --git a/mail/claws-mail-newmail/pkg-descr b/mail/claws-mail-newmail/pkg-descr new file mode 100644 index 000000000000..743cb6f838d7 --- /dev/null +++ b/mail/claws-mail-newmail/pkg-descr @@ -0,0 +1,2 @@ +This plugin writes a msg header summary to a log file (Default: ~/Mail/NewLog) +on arrival of new mail *after* sorting. diff --git a/mail/sylpheed-claws-newmail/Makefile b/mail/sylpheed-claws-newmail/Makefile new file mode 100644 index 000000000000..9e383a7b99d2 --- /dev/null +++ b/mail/sylpheed-claws-newmail/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: sylpheed-claws-newmail +# Date created: 7 April 2006 +# Whom: Pawel Pekala +# +# $FreeBSD$ +# + +PORTNAME= newmail +PORTVERSION= 0.0.3 +CATEGORIES= mail +MASTER_SITES= http://claws.sylpheed.org/downloads/plugins/ +PKGNAMEPREFIX= sylpheed-claws- + +MAINTAINER= c0rn@o2.pl +COMMENT= Message header summary logging plugin for sylpheed-claws + +BUILD_DEPENDS= sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws +RUN_DEPENDS= sylpheed-claws>=2.0:${PORTSDIR}/mail/sylpheed-claws + +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_AUTOTOOLS= autoconf:259 + +PLIST_FILES=lib/sylpheed-claws/plugins/newmail.a \ + lib/sylpheed-claws/plugins/newmail.la \ + lib/sylpheed-claws/plugins/newmail.so + +.include diff --git a/mail/sylpheed-claws-newmail/distinfo b/mail/sylpheed-claws-newmail/distinfo new file mode 100644 index 000000000000..a9f8fc2a4a9a --- /dev/null +++ b/mail/sylpheed-claws-newmail/distinfo @@ -0,0 +1,3 @@ +MD5 (newmail-0.0.3.tar.gz) = 47127ccef56a0b218aab3a4d8c2eacb8 +SHA256 (newmail-0.0.3.tar.gz) = 0f2671675bdf924d0f2d316fc3fad8d9db641b96a5638f9008504f4239f720f3 +SIZE (newmail-0.0.3.tar.gz) = 316825 diff --git a/mail/sylpheed-claws-newmail/files/patch-configure.ac b/mail/sylpheed-claws-newmail/files/patch-configure.ac new file mode 100644 index 000000000000..939008b8425c --- /dev/null +++ b/mail/sylpheed-claws-newmail/files/patch-configure.ac @@ -0,0 +1,15 @@ +--- configure.ac.orig Fri Apr 7 16:17:27 2006 ++++ configure.ac Fri Apr 7 16:19:51 2006 +@@ -45,7 +45,11 @@ + + dnl check for sylpheed-claws + PKG_CHECK_MODULES(SYLPHEED_CLAWS, sylpheed-claws >= 1.9.100.93) +-SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws ) ++if test -z $prefix ; then ++ SYLPHEED_CLAWS_PLUGINDIR=$( $PKG_CONFIG --variable=plugindir sylpheed-claws ) ++else ++ SYLPHEED_CLAWS_PLUGINDIR=${prefix}/lib/sylpheed-claws/plugins ++fi + AC_SUBST(SYLPHEED_CLAWS_CFLAGS) + AC_SUBST(SYLPHEED_CLAWS_LIBS) + AC_SUBST(SYLPHEED_CLAWS_PLUGINDIR) diff --git a/mail/sylpheed-claws-newmail/pkg-descr b/mail/sylpheed-claws-newmail/pkg-descr new file mode 100644 index 000000000000..743cb6f838d7 --- /dev/null +++ b/mail/sylpheed-claws-newmail/pkg-descr @@ -0,0 +1,2 @@ +This plugin writes a msg header summary to a log file (Default: ~/Mail/NewLog) +on arrival of new mail *after* sorting.