Rework completely.

- disable useless static plugins
- remove unnecessary pseudo flavors
- build pgp and aspell support by default
- install tools and scripts
- shorter DESCRs for plugins

Should be ready now, but more testing is welcome.

Input from Brad, Ulrich (maintainer), espie@ and steven@.

ok steven@
This commit is contained in:
deanna 2007-04-11 20:48:43 +00:00
parent ade319269c
commit 23aae3076d
14 changed files with 154 additions and 276 deletions

View File

@ -1,23 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/03/23 17:38:22 deanna Exp $
# $OpenBSD: Makefile,v 1.2 2007/04/11 20:48:43 deanna Exp $
COMMENT-main= "mail and news client"
COMMENT-docs= "documentation"
COMMENT-bogofilter= "bogofilter plugin"
COMMENT-clamav= "clamav plugin"
COMMENT-dillo= "dillo plugin"
COMMENT-pgp= "several pgp plugins"
COMMENT-spamassassin= "spamassassin plugin"
V= 2.8.1
DISTNAME= claws-mail-$V
PKGNAME= claws-mail
PKGNAME-main= ${DISTNAME}
FULLPKGNAME-docs= ${PKGNAME}-docs-$V
FULLPKGNAME-bogofilter= ${PKGNAME}-bogofilter-$V
FULLPKGNAME-clamav= ${PKGNAME}-clamav-$V
FULLPKGNAME-dillo= ${PKGNAME}-dillo-$V
FULLPKGNAME-pgp= ${PKGNAME}-pgp-$V
FULLPKGNAME-spamassassin= ${PKGNAME}-spamassassin-$V
DISTNAME= claws-mail-${V}
PKGNAME-main= ${DISTNAME}p0
FULLPKGNAME-docs= claws-mail-docs-${V}p0
FULLPKGNAME-bogofilter= claws-mail-bogofilter-${V}p0
FULLPKGNAME-clamav= claws-mail-clamav-${V}p0
FULLPKGNAME-dillo= claws-mail-dillo-${V}p0
FULLPKGNAME-spamassassin= claws-mail-spamassassin-${V}p0
CATEGORIES= mail news
@ -36,31 +33,28 @@ EXTRACT_SUFX= .tar.bz2
DIST_SUBDIR= claws
MULTI_PACKAGES= -main -docs
PSEUDO_FLAVORS= no_bogofilter no_clamav no_dillo no_pgp \
no_spamassassin
FLAVORS= aspell compface jpilot ldap gnomeprint # gnome
MULTI_PACKAGES= -main -docs -bogofilter -clamav -dillo \
-spamassassin
FLAVORS= jpilot gnomeprint compface ldap
FLAVOR?=
SHARED_ONLY= Yes
RUN_DEPENDS-docs= ::${BUILD_PKGPATH}
RUN_DEPENDS-bogofilter= ::${BUILD_PKGPATH} \
:bogofilter-*:mail/bogofilter
::mail/bogofilter
RUN_DEPENDS-clamav= ::${BUILD_PKGPATH}
RUN_DEPENDS-dillo= ::${BUILD_PKGPATH} \
::www/dillo
RUN_DEPENDS-pgp= ::${BUILD_PKGPATH}
RUN_DEPENDS-spamassassin= ::mail/claws-mail \
:p5-Mail-SpamAssassin-*:mail/p5-Mail-SpamAssassin
RUN_DEPENDS-spamassassin=::${BUILD_PKGPATH} \
::mail/p5-Mail-SpamAssassin
WANTLIB= X11 Xau Xdmcp Xrender crypto expat fontconfig \
freetype m ssl z
WANTLIB-main= ${WANTLIB} ICE SM c pthread
WANTLIB-main= ${WANTLIB} ICE SM c pthread stdc++
WANTLIB-docs=
WANTLIB-clamav= ${WANTLIB} bz2 gmp
MODULES= devel/gettext
LIB_DEPENDS= atk-1.0::devel/atk \
cairo::graphics/cairo \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
@ -73,91 +67,37 @@ LIB_DEPENDS= atk-1.0::devel/atk \
LIB_DEPENDS-main= ${LIB_DEPENDS} \
gthread-2.0::devel/glib2 \
startup-notification-1::devel/startup-notification
LIB_DEPENDS-docs=
startup-notification-1::devel/startup-notification \
aspell::textproc/aspell/core \
gpgme::security/gpgme \
gpg-error::security/libgpg-error
LIB_DEPENDS-docs=
PKG_ARCH-docs= *
LIB_DEPENDS-clamav= ${LIB_DEPENDS} \
clamav::security/clamav \
curl::net/curl
MODULES= devel/gettext
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-aspell \
--enable-bogofilter-plugin \
--enable-clamav-plugin \
--enable-dillo-viewer-plugin \
--enable-pgpcore-plugin \
--enable-pgpmime-plugin \
--enable-pgpinline-plugin \
--enable-spamassassin-plugin
CONFIGURE_ENV+= OPENSSL_CFLAGS="-I/usr/include/openssl" \
OPENSSL_LIBS="-lssl -lcrypto" \
CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
.if !empty(FLAVOR:L:Mno_bogofilter)
CONFIGURE_ARGS+= --disable-bogofilter-plugin
.else
MULTI_PACKAGES+= -bogofilter
CONFIGURE_ARGS+= --enable-bogofilter-plugin
LIB_DEPENDS-bogofilter= ${LIB_DEPENDS}
.endif
.if !empty(FLAVOR:L:Mno_clamav)
CONFIGURE_ARGS+= --disable-clamav-plugin
.else
MULTI_PACKAGES+= -clamav
CONFIGURE_ARGS+= --enable-clamav-plugin
WANTLIB-clamav= ${WANTLIB} bz2 gmp
LIB_DEPENDS-clamav= ${LIB_DEPENDS} \
clamav::security/clamav \
curl::net/curl
.endif
.if !empty(FLAVOR:L:Mno_dillo)
CONFIGURE_ARGS+= --disable-dillo-viewer-plugin
.else
MULTI_PACKAGES+= -dillo
CONFIGURE_ARGS+= --enable-dillo-viewer-plugin
WANTLIB-dillo= ${WANTLIB}
LIB_DEPENDS-dillo= ${LIB_DEPENDS}
.endif
.if !empty(FLAVOR:L:Mno_pgp)
CONFIGURE_ARGS+= --disable-pgpcore-plugin \
--disable-pgpmime-plugin \
--disable-pgpinline-plugin
.else
MULTI_PACKAGES+= -pgp
CONFIGURE_ARGS+= --enable-pgpcore-plugin \
--enable-pgpmime-plugin \
--enable-pgpinline-plugin
LIB_DEPENDS-main+= gpgme::security/gpgme \
gpg-error::security/libgpg-error
WANTLIB-pgp= ${WANTLIB}
LIB_DEPENDS-pgp= ${LIB_DEPENDS} \
gpgme::security/gpgme \
gpg-error::security/libgpg-error
.endif
.if !empty(FLAVOR:L:Mno_spamassassin)
CONFIGURE_ARGS+= --disable-spamassassin-plugin
.else
MULTI_PACKAGES+= -spamassassin
CONFIGURE_ARGS+= --enable-spamassassin-plugin
WANTLIB-spamassassin= ${WANTLIB}
LIB_DEPENDS-spamassassin=${LIB_DEPENDS}
.endif
.if ${FLAVOR:L:Maspell}
CONFIGURE_ARGS+= --enable-aspell
WANTLIB-main+= stdc++
LIB_DEPENDS-main+= aspell::textproc/aspell/core
.else
CONFIGURE_ARGS+= --disable-aspell
.endif
.if ${FLAVOR:L:Mcompface}
PERMIT_PACKAGE_CDROM= "No Fee"
PERMIT_DISTFILES_CDROM= "No Fee"
CONFIGURE_ARGS+= --enable-compface
LIB_DEPENDS-main+= compface.>=1::mail/faces
.else
CONFIGURE_ARGS+= --disable-compface
.endif
# needs some work
.if ${FLAVOR:L:Mjpilot}
CONFIGURE_ARGS+= --enable-jpilot
LIB_DEPENDS-main+= pisock::comms/pilot-link
@ -166,14 +106,6 @@ RUN_DEPENDS-main+= ::comms/jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if ${FLAVOR:L:Mldap}
CONFIGURE_ARGS+= --enable-ldap
WANTLIB-main+=
LIB_DEPENDS-main+=
.else
CONFIGURE_ARGS+= --disable-ldap
.endif
.if ${FLAVOR:L:Mgnomeprint}
CONFIGURE_ARGS+= --enable-gnomeprint
WANTLIB-main+= art_lgpl_2 xml2
@ -184,7 +116,48 @@ LIB_DEPENDS-main+= gnomecanvas-2::x11/gnome/libgnomecanvas \
CONFIGURE_ARGS+= --disable-gnomeprint
.endif
# gnome
.if ${FLAVOR:L:Mcompface}
PERMIT_PACKAGE_CDROM= "No Fee"
PERMIT_DISTFILES_CDROM= "No Fee"
CONFIGURE_ARGS+= --enable-compface
LIB_DEPENDS-main+= compface.>=1::mail/faces
.else
CONFIGURE_ARGS+= --disable-compface
.endif
.if ${FLAVOR:L:Mldap}
CONFIGURE_ARGS+= --enable-ldap
WANTLIB-main+= asn1 com_err gssapi krb5
LIB_DEPENDS-main+= lber,ldap:openldap-client-*:databases/openldap
.else
CONFIGURE_ARGS+= --disable-ldap
.endif
TOOLS= OOo2claws-mail.pl \
acroread2claws-mail.pl \
calypso_convert.pl \
convert_mbox.pl \
eud2gc.py \
filter_conv.pl filter_conv_new.pl \
fix_date.sh \
freshmeat_search.pl \
gif2xface.pl \
google_msgid.pl google_search.pl \
kmail2claws-mail.pl kmail2claws-mail_v2.pl \
kmail-mailbox2claws-mail.pl \
multiwebsearch.pl \
nautilus2claws-mail.sh \
outlook2claws-mail.pl \
sylprint.pl sylprint.rc \
tb2claws-mail tbird2claws.py \
textviewer.pl textviewer.sh \
thunderbird-filters-convertor.pl \
update-po \
uudec uuooffice \
vcard2xml.py \
README README.sylprint \
kdeservicemenu/install.sh kdeservicemenu/claws-mail-kdeservicemenu.pl \
kdeservicemenu/README
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
@ -195,5 +168,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/claws-mail-64x64.png ${PREFIX}/share/icons/hicolor/64x64/apps/claws-mail.png
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/128x128/apps
${INSTALL_DATA} ${WRKSRC}/claws-mail-128x128.png ${PREFIX}/share/icons/hicolor/128x128/apps/claws-mail.png
${INSTALL_DATA_DIR} ${PREFIX}/share/claws-mail/tools/kdeservicemenu
.for i in ${TOOLS}
${INSTALL_DATA} ${WRKSRC}/tools/${i} \
${PREFIX}/share/claws-mail/tools/${i}
.endfor
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (claws/claws-mail-2.8.1.tar.bz2) = b68983f2edac97cc094c527536d49a09
RMD160 (claws/claws-mail-2.8.1.tar.bz2) = aa84a6e7496cbfdf2b9cd2c28a2ee8b0de758a60
SHA1 (claws/claws-mail-2.8.1.tar.bz2) = 10b9297361a892690af2da0e5297473537c1ff7f
SHA256 (claws/claws-mail-2.8.1.tar.bz2) = 8aa4f942ed95f53fe707c2b571c284c97e588a260f10042b2cc7c27174eb0552
MD5 (claws/claws-mail-2.8.1.tar.bz2) = tomD8u2sl8wJTFJ1NtSaCQ==
RMD160 (claws/claws-mail-2.8.1.tar.bz2) = qoSm50lsv98rnNLCii7osN51imA=
SHA1 (claws/claws-mail-2.8.1.tar.bz2) = ELkpc2GokmkK8toOUpdHNTfB/38=
SHA256 (claws/claws-mail-2.8.1.tar.bz2) = iqT5Qu2V9T/nB8K1ccKEyX5YiiYPEAQrLMfCcXTrBVI=
SIZE (claws/claws-mail-2.8.1.tar.bz2) = 5354557

View File

@ -1,22 +1 @@
Claws Mail is an email client (and news reader), based on GTK+, featuring
Quick response
Graceful, and sophisticated interface
Easy configuration, intuitive operation
Abundant features
Extensibility
The appearance and interface are designed to be familiar to new users
coming from other popular email clients, as well as experienced users.
Almost all commands are accessible with the keyboard.
The messages are managed in the standard MH format, which features fast
access and data security. You'll be able to import your emails from almost
any other email client, and export them just as easily.
Lots of extra functionality, like an RSS aggregator, calendar, or
laptop LED handling, are provided by extra plugins.
Claws Mail is distributed under the GPL.
Plugin for bogofilter support.
Claws Mail plugin for bogofilter support.

View File

@ -1,22 +1 @@
Claws Mail is an email client (and news reader), based on GTK+, featuring
Quick response
Graceful, and sophisticated interface
Easy configuration, intuitive operation
Abundant features
Extensibility
The appearance and interface are designed to be familiar to new users
coming from other popular email clients, as well as experienced users.
Almost all commands are accessible with the keyboard.
The messages are managed in the standard MH format, which features fast
access and data security. You'll be able to import your emails from almost
any other email client, and export them just as easily.
Lots of extra functionality, like an RSS aggregator, calendar, or
laptop LED handling, are provided by extra plugins.
Claws Mail is distributed under the GPL.
Plugin for clamav support.
Claws Mail plugin for clamav support.

View File

@ -1,22 +1 @@
Claws Mail is an email client (and news reader), based on GTK+, featuring
Quick response
Graceful, and sophisticated interface
Easy configuration, intuitive operation
Abundant features
Extensibility
The appearance and interface are designed to be familiar to new users
coming from other popular email clients, as well as experienced users.
Almost all commands are accessible with the keyboard.
The messages are managed in the standard MH format, which features fast
access and data security. You'll be able to import your emails from almost
any other email client, and export them just as easily.
Lots of extra functionality, like an RSS aggregator, calendar, or
laptop LED handling, are provided by extra plugins.
Claws Mail is distributed under the GPL.
Plugin to utilize dillo for html rendering.
Claws Mail plugin to utilize dillo for html rendering.

View File

@ -1,23 +1,2 @@
Claws Mail is an email client (and news reader), based on GTK+, featuring
Quick response
Graceful, and sophisticated interface
Easy configuration, intuitive operation
Abundant features
Extensibility
The appearance and interface are designed to be familiar to new users
coming from other popular email clients, as well as experienced users.
Almost all commands are accessible with the keyboard.
The messages are managed in the standard MH format, which features fast
access and data security. You'll be able to import your emails from almost
any other email client, and export them just as easily.
Lots of extra functionality, like an RSS aggregator, calendar, or
laptop LED handling, are provided by extra plugins.
Claws Mail is distributed under the GPL.
Documentation in additional formats (html, ps, pdf).
Claws Mail documentation in additional formats (html, ps, pdf).

View File

@ -1,22 +0,0 @@
Claws Mail is an email client (and news reader), based on GTK+, featuring
Quick response
Graceful, and sophisticated interface
Easy configuration, intuitive operation
Abundant features
Extensibility
The appearance and interface are designed to be familiar to new users
coming from other popular email clients, as well as experienced users.
Almost all commands are accessible with the keyboard.
The messages are managed in the standard MH format, which features fast
access and data security. You'll be able to import your emails from almost
any other email client, and export them just as easily.
Lots of extra functionality, like an RSS aggregator, calendar, or
laptop LED handling, are provided by extra plugins.
Claws Mail is distributed under the GPL.
Plugins for openpgp support.

View File

@ -1,22 +1 @@
Claws Mail is an email client (and news reader), based on GTK+, featuring
Quick response
Graceful, and sophisticated interface
Easy configuration, intuitive operation
Abundant features
Extensibility
The appearance and interface are designed to be familiar to new users
coming from other popular email clients, as well as experienced users.
Almost all commands are accessible with the keyboard.
The messages are managed in the standard MH format, which features fast
access and data security. You'll be able to import your emails from almost
any other email client, and export them just as easily.
Lots of extra functionality, like an RSS aggregator, calendar, or
laptop LED handling, are provided by extra plugins.
Claws Mail is distributed under the GPL.
Plugin for spamassassin support.
Claws Mail plugin for spamassassin support.

View File

@ -1,4 +1,3 @@
@comment $OpenBSD: PLIST-bogofilter,v 1.1.1.1 2007/03/23 17:38:22 deanna Exp $
lib/claws-mail/plugins/bogofilter.a
@comment $OpenBSD: PLIST-bogofilter,v 1.2 2007/04/11 20:48:43 deanna Exp $
lib/claws-mail/plugins/bogofilter.la
lib/claws-mail/plugins/bogofilter.so

View File

@ -1,4 +1,3 @@
@comment $OpenBSD: PLIST-clamav,v 1.1.1.1 2007/03/23 17:38:22 deanna Exp $
lib/claws-mail/plugins/clamav_plugin.a
@comment $OpenBSD: PLIST-clamav,v 1.2 2007/04/11 20:48:43 deanna Exp $
lib/claws-mail/plugins/clamav_plugin.la
lib/claws-mail/plugins/clamav_plugin.so

View File

@ -1,4 +1,3 @@
@comment $OpenBSD: PLIST-dillo,v 1.1.1.1 2007/03/23 17:38:22 deanna Exp $
lib/claws-mail/plugins/dillo_viewer.a
@comment $OpenBSD: PLIST-dillo,v 1.2 2007/04/11 20:48:43 deanna Exp $
lib/claws-mail/plugins/dillo_viewer.la
lib/claws-mail/plugins/dillo_viewer.so

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2007/03/23 17:38:22 deanna Exp $
@comment $OpenBSD: PLIST-main,v 1.2 2007/04/11 20:48:43 deanna Exp $
bin/claws-mail
@comment bin/sylpheed-claws
include/claws-mail/
@ -148,6 +148,16 @@ include/claws-mail/noticeview.h
include/claws-mail/partial_download.h
include/claws-mail/pine.h
include/claws-mail/plugins/
include/claws-mail/plugins/pgpcore/
include/claws-mail/plugins/pgpcore/passphrase.h
include/claws-mail/plugins/pgpcore/pgp_viewer.h
include/claws-mail/plugins/pgpcore/prefs_gpg.h
include/claws-mail/plugins/pgpcore/select-keys.h
include/claws-mail/plugins/pgpcore/sgpgme.h
include/claws-mail/plugins/pgpinline/
include/claws-mail/plugins/pgpinline/pgpinline.h
include/claws-mail/plugins/pgpmime/
include/claws-mail/plugins/pgpmime/pgpmime.h
include/claws-mail/pop.h
include/claws-mail/prefs_account.h
include/claws-mail/prefs_actions.h
@ -203,7 +213,14 @@ include/claws-mail/vcard.h
include/claws-mail/wizard.h
lib/claws-mail/
lib/claws-mail/plugins/
lib/claws-mail/plugins/trayicon.a
lib/claws-mail/plugins/pgpcore.la
lib/claws-mail/plugins/pgpcore.so
lib/claws-mail/plugins/pgpinline.deps
lib/claws-mail/plugins/pgpinline.la
lib/claws-mail/plugins/pgpinline.so
lib/claws-mail/plugins/pgpmime.deps
lib/claws-mail/plugins/pgpmime.la
lib/claws-mail/plugins/pgpmime.so
lib/claws-mail/plugins/trayicon.la
lib/claws-mail/plugins/trayicon.so
lib/pkgconfig/
@ -211,6 +228,43 @@ lib/pkgconfig/claws-mail.pc
@man man/man1/claws-mail.1
share/applications/
share/applications/claws-mail.desktop
share/claws-mail/
share/claws-mail/tools/
share/claws-mail/tools/OOo2claws-mail.pl
share/claws-mail/tools/README
share/claws-mail/tools/README.sylprint
share/claws-mail/tools/acroread2claws-mail.pl
share/claws-mail/tools/calypso_convert.pl
share/claws-mail/tools/convert_mbox.pl
share/claws-mail/tools/eud2gc.py
share/claws-mail/tools/filter_conv.pl
share/claws-mail/tools/filter_conv_new.pl
share/claws-mail/tools/fix_date.sh
share/claws-mail/tools/freshmeat_search.pl
share/claws-mail/tools/gif2xface.pl
share/claws-mail/tools/google_msgid.pl
share/claws-mail/tools/google_search.pl
share/claws-mail/tools/kdeservicemenu/
share/claws-mail/tools/kdeservicemenu/README
share/claws-mail/tools/kdeservicemenu/claws-mail-kdeservicemenu.pl
share/claws-mail/tools/kdeservicemenu/install.sh
share/claws-mail/tools/kmail-mailbox2claws-mail.pl
share/claws-mail/tools/kmail2claws-mail.pl
share/claws-mail/tools/kmail2claws-mail_v2.pl
share/claws-mail/tools/multiwebsearch.pl
share/claws-mail/tools/nautilus2claws-mail.sh
share/claws-mail/tools/outlook2claws-mail.pl
share/claws-mail/tools/sylprint.pl
share/claws-mail/tools/sylprint.rc
share/claws-mail/tools/tb2claws-mail
share/claws-mail/tools/tbird2claws.py
share/claws-mail/tools/textviewer.pl
share/claws-mail/tools/textviewer.sh
share/claws-mail/tools/thunderbird-filters-convertor.pl
share/claws-mail/tools/update-po
share/claws-mail/tools/uudec
share/claws-mail/tools/uuooffice
share/claws-mail/tools/vcard2xml.py
share/icons/
share/icons/hicolor/
share/icons/hicolor/128x128/
@ -248,4 +302,3 @@ share/locale/sr/LC_MESSAGES/claws-mail.mo
share/locale/sv/LC_MESSAGES/claws-mail.mo
share/locale/zh_CN/LC_MESSAGES/claws-mail.mo
share/locale/zh_TW/LC_MESSAGES/claws-mail.mo

View File

@ -1,22 +0,0 @@
@comment $OpenBSD: PLIST-pgp,v 1.1.1.1 2007/03/23 17:38:22 deanna Exp $
include/claws-mail/plugins/pgpcore/
include/claws-mail/plugins/pgpcore/passphrase.h
include/claws-mail/plugins/pgpcore/pgp_viewer.h
include/claws-mail/plugins/pgpcore/prefs_gpg.h
include/claws-mail/plugins/pgpcore/select-keys.h
include/claws-mail/plugins/pgpcore/sgpgme.h
include/claws-mail/plugins/pgpinline/
include/claws-mail/plugins/pgpinline/pgpinline.h
include/claws-mail/plugins/pgpmime/
include/claws-mail/plugins/pgpmime/pgpmime.h
lib/claws-mail/plugins/pgpcore.a
lib/claws-mail/plugins/pgpcore.la
lib/claws-mail/plugins/pgpinline.a
lib/claws-mail/plugins/pgpinline.deps
lib/claws-mail/plugins/pgpinline.la
lib/claws-mail/plugins/pgpmime.a
lib/claws-mail/plugins/pgpmime.deps
lib/claws-mail/plugins/pgpmime.la
lib/claws-mail/plugins/pgpcore.so
lib/claws-mail/plugins/pgpinline.so
lib/claws-mail/plugins/pgpmime.so

View File

@ -1,4 +1,3 @@
@comment $OpenBSD: PLIST-spamassassin,v 1.1.1.1 2007/03/23 17:38:22 deanna Exp $
lib/claws-mail/plugins/spamassassin.a
@comment $OpenBSD: PLIST-spamassassin,v 1.2 2007/04/11 20:48:43 deanna Exp $
lib/claws-mail/plugins/spamassassin.la
lib/claws-mail/plugins/spamassassin.so