Makefile revision 844
147N/A#
147N/A# CDDL HEADER START
147N/A#
147N/A# The contents of this file are subject to the terms of the
147N/A# Common Development and Distribution License (the "License").
147N/A# You may not use this file except in compliance with the License.
147N/A#
147N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147N/A# or http://www.opensolaris.org/os/licensing.
147N/A# See the License for the specific language governing permissions
147N/A# and limitations under the License.
147N/A#
147N/A# When distributing Covered Code, include this CDDL HEADER in each
147N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147N/A# If applicable, add the following below this CDDL HEADER, with the
147N/A# fields enclosed by brackets "[]" replaced with your own identifying
147N/A# information: Portions Copyright [yyyy] [name of copyright owner]
147N/A#
147N/A# CDDL HEADER END
147N/A#
806N/A
147N/A#
147N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
147N/A#
147N/A
147N/Ainclude ../../make-rules/shared-macros.mk
147N/A
147N/ACOMPONENT_NAME= slrn
147N/ACOMPONENT_VERSION= 0.9.9
844N/ACOMPONENT_SUBVERSION= p1
844N/AHUMAN_VERSION= $(COMPONENT_VERSION)$(COMPONENT_SUBVERSION)
147N/ACOMPONENT_PROJECT_URL= http://slrn.sourceforge.net/
1273N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
147N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
147N/ACOMPONENT_ARCHIVE_HASH= \
147N/A sha256:3a896f42b78c32252878fd291b21d6482d466921b68ab97f7d8cbadf4a76b533
147N/ACOMPONENT_ARCHIVE_URL= ftp://space.mit.edu/pub/davis/slrn/$(COMPONENT_ARCHIVE)
147N/AIPS_COMPONENT_VERSION= $(COMPONENT_VERSION).1
147N/A
147N/Ainclude ../../make-rules/prep.mk
206N/Ainclude ../../make-rules/configure.mk
206N/Ainclude ../../make-rules/ips.mk
206N/A
206N/ACOMPONENT_PRE_CONFIGURE_ACTION = $(CLONEY) $(SOURCE_DIR) $(@D)
806N/ACONFIGURE_SCRIPT = $(@D)/configure
806N/A
806N/A# slrn configure test for 'mkdir -p' functionality doesn't like Solaris
806N/A# implementation (GNU mkdir will understand --version option).
806N/APATH=/usr/gnu/bin:/usr/bin
147N/A
147N/ACONFIGURE_OPTIONS += --sysconfdir=/etc
147N/ACONFIGURE_OPTIONS += --with-server-file=/etc/nntpserver
806N/ACONFIGURE_OPTIONS += --with-slrnpull=/var/spool/slrnpull
206N/ACONFIGURE_OPTIONS += --enable-spool
147N/ACONFIGURE_OPTIONS += --with-ssl
147N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
147N/A
147N/A# common targets
147N/Abuild: $(BUILD_32)
147N/A
147N/Ainstall: $(INSTALL_32)
147N/A
181N/Atest: $(NO_TESTS)
147N/A
181N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
147N/A
147N/Ainclude ../../make-rules/depend.mk
147N/A