diff options
author | miwi <miwi@FreeBSD.org> | 2010-12-29 15:24:16 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-12-29 15:24:16 +0800 |
commit | 950e381e56bfd1d5bd26e3d147d6c60fd6d2f257 (patch) | |
tree | cb8d72bbb2ae044b87f391338664bc6406c690c9 /mail | |
parent | aaf5612550975834629803c8036b4d764855bab7 (diff) | |
download | freebsd-ports-gnome-950e381e56bfd1d5bd26e3d147d6c60fd6d2f257.tar.gz freebsd-ports-gnome-950e381e56bfd1d5bd26e3d147d6c60fd6d2f257.tar.zst freebsd-ports-gnome-950e381e56bfd1d5bd26e3d147d6c60fd6d2f257.zip |
- Add LICENSE
- Due to popular demand on ports@ add a knob to disable manual building and installing which can
add a lot of build dependencies.
- Bump PORTREVISION
PR: 153352
Submitted by: "Pawel Pekala" <c0rn@o2.pl> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/claws-mail/Makefile | 20 | ||||
-rw-r--r-- | mail/claws-mail/pkg-plist | 52 |
2 files changed, 41 insertions, 31 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile index baf993a49a80..8a8d6a11cbc0 100644 --- a/mail/claws-mail/Makefile +++ b/mail/claws-mail/Makefile @@ -7,13 +7,13 @@ PORTNAME= claws-mail PORTVERSION= 3.7.8 +PORTREVISION= 1 CATEGORIES= mail news ipv6 MASTER_SITES= SF/sylpheed-claws/Claws%20Mail/${PORTVERSION} MAINTAINER= c0rn@o2.pl COMMENT= A lightweight and very featureful GTK+ based e-mail and news client -BUILD_DEPENDS= ${LOCALBASE}/bin/docbook2html:${PORTSDIR}/textproc/docbook-utils LIB_DEPENDS= etpan:${PORTSDIR}/mail/libetpan \ cairo:${PORTSDIR}/graphics/cairo \ expat:${PORTSDIR}/textproc/expat2 \ @@ -26,6 +26,8 @@ RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support CONFLICTS= sylpheed-claws +LICENSE= GPLv3 + USE_BZIP2= yes USE_GETTEXT= yes USE_GMAKE= yes @@ -40,16 +42,14 @@ MAKE_JOBS_SAFE= yes MAN1= claws-mail.1 -CONFIGURE_ARGS= \ - --with-libiconv-prefix=${LOCALBASE} \ - --with-manualdir=${DOCSDIR}/manual \ +CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -OPTIONS= ALL "Enable all options except GNUTLS." off \ +OPTIONS= ALL "Enable all options." off \ ENCHANT "Enable spell checking support." on \ BOGOFILTER "Enable bogofilter support." off \ COMPFACE "Enable X-Face support." on \ @@ -59,6 +59,7 @@ OPTIONS= ALL "Enable all options except GNUTLS." off \ IPV6 "Enable ipv6 support." on \ JPILOT "Enable JPilot support." off \ LDAP "Enable LDAP support." off \ + MANUAL "Build and install manual files" on \ SA_PLUG "Enable SpamAssassin support." off \ STARTUP "Enable startup notification support." on \ THEMES "Install additional themes." on @@ -99,6 +100,14 @@ CONFIGURE_ARGS+= --enable-ldap .else CONFIGURE_ARGS+= --disable-ldap .endif +.if defined(WITH_MANUAL) || defined(WITH_ALL) +BUILD_DEPENDS= ${LOCALBASE}/bin/docbook2html:${PORTSDIR}/textproc/docbook-utils +CONFIGURE_ARGS+= --enable-manual --with-manualdir=${DOCSDIR}/manual +PLIST_SUB+= MANUAL="" +.else +CONFIGURE_ARGS+= --disable-manual +PLIST_SUB+= MANUAL="@comment " +.endif .if defined(WITH_SA_PLUG) || defined(WITH_ALL) RUN_DEPENDS+= spamd:${PORTSDIR}/mail/p5-Mail-SpamAssassin CONFIGURE_ARGS+= --enable-spamassassin-plugin @@ -162,6 +171,7 @@ post-patch: post-install: .if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} .for i in NEWS RELEASE_NOTES README TODO @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor diff --git a/mail/claws-mail/pkg-plist b/mail/claws-mail/pkg-plist index 67d8a6aa62aa..b0cc887fc040 100644 --- a/mail/claws-mail/pkg-plist +++ b/mail/claws-mail/pkg-plist @@ -277,26 +277,26 @@ share/applications/claws-mail.desktop %%PORTDOCS%%%%DOCSDIR%%/README.tools %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES %%PORTDOCS%%%%DOCSDIR%%/TODO -%%DOCSDIR%%/manual/de/claws-mail-manual.html -%%DOCSDIR%%/manual/de/claws-mail-manual.pdf -%%DOCSDIR%%/manual/de/claws-mail-manual.ps -%%DOCSDIR%%/manual/de/claws-mail-manual.txt -%%DOCSDIR%%/manual/en/claws-mail-manual.html -%%DOCSDIR%%/manual/en/claws-mail-manual.pdf -%%DOCSDIR%%/manual/en/claws-mail-manual.ps -%%DOCSDIR%%/manual/en/claws-mail-manual.txt -%%DOCSDIR%%/manual/es/claws-mail-manual.html -%%DOCSDIR%%/manual/es/claws-mail-manual.pdf -%%DOCSDIR%%/manual/es/claws-mail-manual.ps -%%DOCSDIR%%/manual/es/claws-mail-manual.txt -%%DOCSDIR%%/manual/fr/claws-mail-manual.html -%%DOCSDIR%%/manual/fr/claws-mail-manual.pdf -%%DOCSDIR%%/manual/fr/claws-mail-manual.ps -%%DOCSDIR%%/manual/fr/claws-mail-manual.txt -%%DOCSDIR%%/manual/pl/claws-mail-manual.html -%%DOCSDIR%%/manual/pl/claws-mail-manual.pdf -%%DOCSDIR%%/manual/pl/claws-mail-manual.ps -%%DOCSDIR%%/manual/pl/claws-mail-manual.txt +%%MANUAL%%%%DOCSDIR%%/manual/de/claws-mail-manual.html +%%MANUAL%%%%DOCSDIR%%/manual/de/claws-mail-manual.pdf +%%MANUAL%%%%DOCSDIR%%/manual/de/claws-mail-manual.ps +%%MANUAL%%%%DOCSDIR%%/manual/de/claws-mail-manual.txt +%%MANUAL%%%%DOCSDIR%%/manual/en/claws-mail-manual.html +%%MANUAL%%%%DOCSDIR%%/manual/en/claws-mail-manual.pdf +%%MANUAL%%%%DOCSDIR%%/manual/en/claws-mail-manual.ps +%%MANUAL%%%%DOCSDIR%%/manual/en/claws-mail-manual.txt +%%MANUAL%%%%DOCSDIR%%/manual/es/claws-mail-manual.html +%%MANUAL%%%%DOCSDIR%%/manual/es/claws-mail-manual.pdf +%%MANUAL%%%%DOCSDIR%%/manual/es/claws-mail-manual.ps +%%MANUAL%%%%DOCSDIR%%/manual/es/claws-mail-manual.txt +%%MANUAL%%%%DOCSDIR%%/manual/fr/claws-mail-manual.html +%%MANUAL%%%%DOCSDIR%%/manual/fr/claws-mail-manual.pdf +%%MANUAL%%%%DOCSDIR%%/manual/fr/claws-mail-manual.ps +%%MANUAL%%%%DOCSDIR%%/manual/fr/claws-mail-manual.txt +%%MANUAL%%%%DOCSDIR%%/manual/pl/claws-mail-manual.html +%%MANUAL%%%%DOCSDIR%%/manual/pl/claws-mail-manual.pdf +%%MANUAL%%%%DOCSDIR%%/manual/pl/claws-mail-manual.ps +%%MANUAL%%%%DOCSDIR%%/manual/pl/claws-mail-manual.txt share/icons/hicolor/128x128/apps/claws-mail-128x128.png share/icons/hicolor/48x48/apps/claws-mail.png share/icons/hicolor/64x64/apps/claws-mail-64x64.png @@ -325,12 +325,12 @@ share/pixmaps/claws-mail-128x128.png share/pixmaps/claws-mail-64x64.png share/pixmaps/claws-mail.png @dirrm %%DATADIR%% -@dirrm %%DOCSDIR%%/manual/pl -@dirrm %%DOCSDIR%%/manual/fr -@dirrm %%DOCSDIR%%/manual/es -@dirrm %%DOCSDIR%%/manual/en -@dirrm %%DOCSDIR%%/manual/de -@dirrm %%DOCSDIR%%/manual +%%MANUAL%%@dirrm %%DOCSDIR%%/manual/pl +%%MANUAL%%@dirrm %%DOCSDIR%%/manual/fr +%%MANUAL%%@dirrm %%DOCSDIR%%/manual/es +%%MANUAL%%@dirrm %%DOCSDIR%%/manual/en +%%MANUAL%%@dirrm %%DOCSDIR%%/manual/de +%%MANUAL%%@dirrm %%DOCSDIR%%/manual @dirrmtry %%DOCSDIR%% @dirrmtry share/applications @dirrmtry lib/claws-mail/plugins |