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