Makefile revision 844
2ronwalf#
2ronwalf# CDDL HEADER START
2ronwalf#
2ronwalf# The contents of this file are subject to the terms of the
2ronwalf# Common Development and Distribution License (the "License").
2ronwalf# You may not use this file except in compliance with the License.
2ronwalf#
2ronwalf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2ronwalf# or http://www.opensolaris.org/os/licensing.
2ronwalf# See the License for the specific language governing permissions
2ronwalf# and limitations under the License.
2ronwalf#
2ronwalf# When distributing Covered Code, include this CDDL HEADER in each
2ronwalf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2ronwalf# If applicable, add the following below this CDDL HEADER, with the
2ronwalf# fields enclosed by brackets "[]" replaced with your own identifying
2ronwalf# information: Portions Copyright [yyyy] [name of copyright owner]
2ronwalf#
2ronwalf# CDDL HEADER END
2ronwalf#
2ronwalf# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
2ronwalf#
2ronwalfinclude ../../../make-rules/shared-macros.mk
2ronwalf
2ronwalfCOMPONENT_NAME= mod_perl
2ronwalfCOMPONENT_VERSION= 2.0.4
2ronwalfCOMPONENT_PROJECT_URL= http://perl.apache.org/
2ronwalfCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2ronwalfCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2ronwalfCOMPONENT_ARCHIVE_HASH= \
2ronwalf sha256:7da2046aa65dbef64ff5b71400bed4b6b82441e6313c8ca4becb85fb4a89a0f0
2ronwalfCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)dist/$(COMPONENT_ARCHIVE)
2ronwalf
2ronwalfCONFIGURE_DEFAULT_DIRS=no
2ronwalf
2ronwalfinclude ../../../make-rules/prep.mk
2ronwalfinclude ../../../make-rules/justmake.mk
2ronwalfinclude ../../../make-rules/ips.mk
2ronwalf
2ronwalfAPACHE_USR_PREFIX=/usr/apache2/2.2
2ronwalfAP_PERL5LIB=$(APACHE_USR_PREFIX)/lib/perl
2ronwalfAP_PERL5BIN=$(APACHE_USR_PREFIX)/bin
2ronwalfPERLMAN=$(APACHE_USR_PREFIX)/man
2ronwalf
2ronwalfCOMPONENT_PRE_BUILD_ACTION= ( \
2ronwalf cd $(@D); $(PERL) Makefile.PL \
2ronwalf INSTALLDIRS=perl \
2ronwalf INSTALLSITELIB=$(AP_PERL5LIB) \
2ronwalf INSTALLARCHLIB=$(AP_PERL5LIB) \
2ronwalf INSTALLSITEARCH=$(AP_PERL5LIB) \
2ronwalf INSTALLPRIVLIB=$(AP_PERL5LIB) \
2ronwalf SITEARCHEXP=$(AP_PERL5LIB) \
2ronwalf SITELIBEXP=$(AP_PERL5LIB) \
2ronwalf INSTALLMAN1DIR=$(PERLMAN)/man1 \
2ronwalf INSTALLMAN3DIR=$(PERLMAN)/man3 \
2ronwalf INSTALLSCRIPT=$(AP_PERL5BIN) \
2ronwalf MP_APXS=$(APACHE_USR_PREFIX)/bin/apxs)
2ronwalf
2ronwalfCOMPONENT_TEST_TARGETS= test
2ronwalf
2ronwalfPATH=$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
2ronwalf
2ronwalfbuild: $(BUILD_32)
2ronwalf
2ronwalfinstall: $(INSTALL_32)
2ronwalf
2ronwalf# Won't start (maybe because of mod_dtrace.so on system).
2ronwalf#test: $(TEST_32)
2ronwalftest: $(NO_TESTS)
2ronwalf
2ronwalfBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2ronwalf
2ronwalfinclude ../../../make-rules/depend.mk
2ronwalf