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