pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/claws-mail claws-mail: split options into options...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1d4b7f54767
branches:  trunk
changeset: 455859:e1d4b7f54767
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jul 13 08:44:11 2021 +0000

description:
claws-mail: split options into options.mk, improve COMMENT

diffstat:

 mail/claws-mail/Makefile   |  33 +++------------------------------
 mail/claws-mail/options.mk |  28 ++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 30 deletions(-)

diffs (95 lines):

diff -r 39d5d463e092 -r e1d4b7f54767 mail/claws-mail/Makefile
--- a/mail/claws-mail/Makefile  Tue Jul 13 08:39:40 2021 +0000
+++ b/mail/claws-mail/Makefile  Tue Jul 13 08:44:11 2021 +0000
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.117 2021/05/24 19:52:36 wiz Exp $
+# $NetBSD: Makefile,v 1.118 2021/07/13 08:44:11 nia Exp $
 
 INSTALLATION_DIRS+=    ${EGDIR}
 INSTALLATION_DIRS+=    share/claws-mail
 
-PKGREVISION= 2
 .include "Makefile.common"
 
 PKGNAME=       claws-mail-${CLAWS_VERSION}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-COMMENT=       X based e-mail and netnews client
+COMMENT=       Email client and news reader based on GTK+
 
 CONFLICTS+=    sylpheed-claws-[0-9]*
 
@@ -34,33 +33,6 @@
 EGDIR=         ${PREFIX}/share/examples/claws-mail
 CONF_FILES=    ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.claws-mail
-PKG_SUPPORTED_OPTIONS= claws-mail-jpilot ldap inet6
-PKG_SUGGESTED_OPTIONS= inet6
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mclaws-mail-jpilot)
-CONFIGURE_ARGS+=       --enable-jpilot
-.  include "../../comms/pilot-link-libs/buildlink3.mk"
-.  include "../../comms/jpilot/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=       --disable-jpilot
-.endif
-
-.if !empty(PKG_OPTIONS:Mldap)
-CONFIGURE_ARGS+=       --enable-ldap
-.  include "../../databases/openldap-client/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=       --disable-ldap
-.endif
-
-.if !empty(PKG_OPTIONS:Minet6)
-CONFIGURE_ARGS+=       --enable-ipv6
-.else
-CONFIGURE_ARGS+=       --disable-ipv6
-.endif
-
 INSTALLATION_DIRS+=    share/applications
 
 post-install:
@@ -76,6 +48,7 @@
 PLIST_SRC+=    PLIST.shred
 .endif
 
+.include "options.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
diff -r 39d5d463e092 -r e1d4b7f54767 mail/claws-mail/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/claws-mail/options.mk        Tue Jul 13 08:44:11 2021 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: options.mk,v 1.1 2021/07/13 08:44:11 nia Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.claws-mail
+PKG_SUPPORTED_OPTIONS= claws-mail-jpilot ldap inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mclaws-mail-jpilot)
+CONFIGURE_ARGS+=       --enable-jpilot
+.  include "../../comms/pilot-link-libs/buildlink3.mk"
+.  include "../../comms/jpilot/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-jpilot
+.endif
+
+.if !empty(PKG_OPTIONS:Mldap)
+CONFIGURE_ARGS+=       --enable-ldap
+.  include "../../databases/openldap-client/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-ldap
+.endif
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --enable-ipv6
+.else
+CONFIGURE_ARGS+=       --disable-ipv6
+.endif



Home | Main Index | Thread Index | Old Index