Makefile revision 3996
3919N/A#
3919N/A# CDDL HEADER START
3919N/A#
3919N/A# The contents of this file are subject to the terms of the
3919N/A# Common Development and Distribution License (the "License").
3919N/A# You may not use this file except in compliance with the License.
3919N/A#
3919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3919N/A# or http://www.opensolaris.org/os/licensing.
3919N/A# See the License for the specific language governing permissions
3919N/A# and limitations under the License.
3919N/A#
3919N/A# When distributing Covered Code, include this CDDL HEADER in each
3919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3919N/A# If applicable, add the following below this CDDL HEADER, with the
3919N/A# fields enclosed by brackets "[]" replaced with your own identifying
3919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3919N/A#
3919N/A# CDDL HEADER END
3919N/A#
3996N/A# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
3919N/A#
3919N/Ainclude ../../make-rules/shared-macros.mk
3919N/A
3919N/ACOMPONENT_NAME= mailman
3919N/ACOMPONENT_VERSION= 2.1.18-1
3919N/AIPS_COMPONENT_VERSION= 2.1.18.1
3919N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3919N/ACOMPONENT_PROJECT_URL= http://www.list.org/
3919N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
3919N/ACOMPONENT_ARCHIVE_HASH= sha256:ce70ed8b58d719cab80758f39a7258c0a28f8e8e859facdaa8c29add620a5c2c
3919N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
3919N/ACOMPONENT_BUGDB= utility/mailman
3919N/A
3919N/ATPNO= 18736
3919N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3919N/A
3919N/ACONFIGURE_ENV += MAILMAN_USER=mailman
3919N/ACONFIGURE_ENV += MAILMAN_GROUP=mailman
3919N/A
3920N/ACONFIGURE_OPTIONS += --prefix=/usr/lib/mailman
3920N/ACONFIGURE_OPTIONS += --with-var-prefix=/var/mailman
3920N/ACONFIGURE_OPTIONS += --with-mail-gid=other
3920N/ACONFIGURE_OPTIONS += --with-cgi-gid=webservd
3920N/ACONFIGURE_OPTIONS += --with-python=/usr/bin/python2.7
3920N/ACONFIGURE_OPTIONS += --without-permcheck
3920N/ACONFIGURE_OPTIONS += --with-mailhost=localhost
3920N/ACONFIGURE_OPTIONS += --with-urlhost=localhost
3920N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3919N/A
3919N/AASLR_MODE = $(ASLR_ENABLE)
3919N/A
3922N/A# Copy generated file to proto area. Then py-compile several files that are
3922N/A# used as modules in a devious way.
3922N/ACOMPONENT_POST_INSTALL_ACTION= \
3922N/A ($(CP) $(BUILD_DIR_64)/Mailman/Defaults.py \
3922N/A $(PROTOUSRLIBDIR)/mailman/Mailman/ ; \
3922N/A $(PYTHON.2.7) -m py_compile $(PROTOUSRLIBDIR)/mailman/*/paths.py \
3922N/A $(PROTOUSRLIBDIR)/mailman/Mailman/Defaults.py)
3922N/A
3922N/Aconfigure: $(CONFIGURE_64)
3922N/A
3919N/Abuild: $(BUILD_64)
3919N/A
3919N/Ainstall: $(INSTALL_64)
3919N/A
3919N/Atest: $(NO_TESTS)
3919N/A
3919N/A
3919N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
3919N/A
3996N/AREQUIRED_PACKAGES += library/python/dnspython-27
3996N/AREQUIRED_PACKAGES += runtime/python-27
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/network