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