Makefile revision 3922
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#
3919N/A# Copyright (c) 2014, 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
3919N/Ainclude ../../make-rules/prep.mk
3919N/Ainclude ../../make-rules/configure.mk
3919N/Ainclude ../../make-rules/ips.mk
3919N/A
3919N/ACONFIGURE_ENV += MAILMAN_USER=mailman
3919N/ACONFIGURE_ENV += MAILMAN_GROUP=mailman
3919N/A
3919N/ACONFIGURE_OPTIONS += --prefix=/usr/lib/mailman
3919N/ACONFIGURE_OPTIONS += --with-var-prefix=/var/mailman
3919N/ACONFIGURE_OPTIONS += --with-mail-gid=other
3919N/ACONFIGURE_OPTIONS += --with-cgi-gid=webservd
3919N/ACONFIGURE_OPTIONS += --with-python=/usr/bin/python2.7
3919N/ACONFIGURE_OPTIONS += --without-permcheck
3919N/ACONFIGURE_OPTIONS += --with-mailhost=localhost
3919N/ACONFIGURE_OPTIONS += --with-urlhost=localhost
3919N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3919N/A
3919N/AASLR_MODE = $(ASLR_ENABLE)
3919N/A
3919N/A# Copy generated file to proto area. Then py-compile several files that are
3919N/A# used as modules in a devious way.
3919N/ACOMPONENT_POST_INSTALL_ACTION= \
3919N/A ($(CP) $(BUILD_DIR_64)/Mailman/Defaults.py \
3919N/A $(PROTOUSRLIBDIR)/mailman/Mailman/ ; \
3919N/A $(PYTHON.2.7) -m py_compile $(PROTOUSRLIBDIR)/mailman/*/paths.py \
3919N/A $(PROTOUSRLIBDIR)/mailman/Mailman/Defaults.py)
3919N/A
3919N/Aconfigure: $(CONFIGURE_64)
3919N/A
3919N/Abuild: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
PKG_PROTO_DIRS += $(COMPONENT_DIR)/files
include ../../make-rules/depend.mk