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