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