2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/perl-integrate-module Mail::SpamAssassin
17 BUILD_STYLE
= makemaker
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_PERL_MODULE
= Mail
::SpamAssassin
23 COMPONENT_REVISION
= 1
24 COMPONENT_SUMMARY
= Mail
::SpamAssassin
- Spam detector and markup engine
25 COMPONENT_CPAN_AUTHOR
= SIDNEY
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:5c6bb222e18405f1a276816d04e1ffc5cc90785e1265714b4506c2b541d6d5e5
28 COMPONENT_LICENSE
= Apache-2.0
29 COMPONENT_LICENSE_FILE
= LICENSE
31 include $(WS_MAKE_RULES
)/common.mk
33 # see the PACKAGING file
34 CONFIGURE_OPTIONS
+= INSTALLDIRS
=vendor
35 CONFIGURE_OPTIONS
+= CONTACT_ADDRESS
=postmaster@example.com
36 CONFIGURE_OPTIONS
+= SYSCONFDIR
=/etc
37 CONFIGURE_OPTIONS
+= DATADIR
=/usr
/share
/spamassassin
38 CONFIGURE_OPTIONS
+= LOCALSTATEDIR
=/var
/spamassassin
39 CONFIGURE_OPTIONS
+= ENABLE_SSL
=yes
40 CONFIGURE_OPTIONS
+= CONFIGURE
="\$$(PERL_BIN) spamc/configure.pl LDFLAGS=-L$(OPENSSL_LIBDIR) CFLAGS=-I$(OPENSSL_INCDIR)"
41 CONFIGURE_OPTIONS
+= < /dev
/null
43 # install spamassassin
44 COMPONENT_POST_INSTALL_ACTION
+= \
45 $(MKDIR
) $(PROTO_DIR
)/lib
/svc
/method
; \
46 $(CP
) $(COMPONENT_DIR
)/files
/spamassassin
$(PROTO_DIR
)/lib
/svc
/method
;
47 # install spamassassin.xml
48 COMPONENT_POST_INSTALL_ACTION
+= \
49 $(MKDIR
) $(PROTO_DIR
)/lib
/svc
/manifest
/network
; \
50 $(CP
) $(COMPONENT_DIR
)/files
/spamassassin.xml
$(PROTO_DIR
)/lib
/svc
/manifest
/network
;
52 # Auto-generated dependencies
53 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/archive-zip
54 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/bsd-resource
55 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/dbd-sqlite
56 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/dbi
57 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/email-address-xs
58 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/encode-detect
59 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/geo-ip
60 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/html-parser
61 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/io-socket-ssl
62 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/io-string
63 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/ip-country
64 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/ip-country-db_file
65 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/lwp-protocol-https
66 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/mail-dkim
67 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/mail-dmarc
68 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/mail-spf
69 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/net-cidr-lite
70 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/net-dns
71 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/net-libidn
72 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/net-libidn2
73 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/net-patricia
74 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/netaddr-ip
75 PERL_REQUIRED_PACKAGES
+= library
/perl-5
/razor2-client-agent
76 PERL_REQUIRED_PACKAGES
+= runtime
/perl
77 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
78 REQUIRED_PACKAGES
+= SUNWcs
79 REQUIRED_PACKAGES
+= library
/zlib
80 REQUIRED_PACKAGES
+= shell/ksh93
81 REQUIRED_PACKAGES
+= system
/library
82 TEST_REQUIRED_PACKAGES.perl
+= library
/perl-5
/devel-cycle
83 TEST_REQUIRED_PACKAGES.perl
+= library
/perl-5
/net-dns
84 TEST_REQUIRED_PACKAGES.perl
+= library
/perl-5
/perl-critic
85 TEST_REQUIRED_PACKAGES.perl
+= library
/perl-5
/perl-critic-policy-perlsecret
86 TEST_REQUIRED_PACKAGES.perl
+= library
/perl-5
/text-diff