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