diff options
author | nia <nia@pkgsrc.org> | 2021-07-13 08:44:11 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-07-13 08:44:11 +0000 |
commit | 36106925b87a58c9523f94d4e55935bb4fb0c7be (patch) | |
tree | fbef81f755bda621be42026403134e616728c7ac /mail/claws-mail | |
parent | 9d5694318b07a771474e1cc91402c8c879b1023f (diff) | |
download | pkgsrc-36106925b87a58c9523f94d4e55935bb4fb0c7be.tar.gz |
claws-mail: split options into options.mk, improve COMMENT
Diffstat (limited to 'mail/claws-mail')
-rw-r--r-- | mail/claws-mail/Makefile | 33 | ||||
-rw-r--r-- | mail/claws-mail/options.mk | 28 |
2 files changed, 31 insertions, 30 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile index 61ece8e7a7a..0dcbbecb5e7 100644 --- a/mail/claws-mail/Makefile +++ b/mail/claws-mail/Makefile @@ -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 -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 @@ FACES_IS_INSTALLED!= ${PKG_INFO} -e faces || ${ECHO} 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 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 --git a/mail/claws-mail/options.mk b/mail/claws-mail/options.mk new file mode 100644 index 00000000000..05aaa45142b --- /dev/null +++ b/mail/claws-mail/options.mk @@ -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 |