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