Makefile revision 3817
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# CDDL HEADER START
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# The contents of this file are subject to the terms of the
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# Common Development and Distribution License (the "License").
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# You may not use this file except in compliance with the License.
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# See the License for the specific language governing permissions
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# and limitations under the License.
3a2f2adf5679aa383a2cab09f739d59233cada95Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# CDDL HEADER END
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo SirainenCOMPONENT_PROJECT_URL= http://www.gnu.org/software/enscript
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen sha256:45299a4db47c9c08c3649d4f62b211ae79ef5143360c264a40371a728f6ad99b
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo SirainenCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# Ruby enscript support
29543188462c9348f365ec29115d777ffe4769d3Timo Sirainen sha256:29c87c4cd5d36b221fd50ad0b2e35a2cc0e1422519bb7f41d400c61db117cff7
29543188462c9348f365ec29115d777ffe4769d3Timo SirainenCOMPONENT_ARCHIVE_URL_1= http://neugierig.org/software/ruby/ruby-enscript.tar.gz
917498e6f84969d2b93410c1e479735abe8e0ed7Timo Sirainen# PHP enscript support
29543188462c9348f365ec29115d777ffe4769d3Timo Sirainen sha256:64d5b1ed1044202cda1ddcd591a966d1faff58d60156c4368d485f0405d7a9ee
29543188462c9348f365ec29115d777ffe4769d3Timo SirainenCOMPONENT_ARCHIVE_URL_2= http://home.raxnet.net/downloads/viewcvs/php.st
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# Get just the ruby enscript support file out of the downloaded tarball, and
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# move ruby.st and php.st into the correct directory for "gmake install".
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen /usr/bin/tar xvf $(COMPONENT_ARCHIVE_1) ruby.st ; \
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen $(MV) php.st ruby.st $(SOURCE_DIR)/states/hl ;
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# There are patches that change a Makefile.am and configure.in
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo SirainenCOMPONENT_PREP_ACTION +=(cd $(@D); autoreconf -fiv);
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# Needed so that enscript can find the enscript.cfg file.
e0aff4c7e3336ec4b5edbcfc3a72e1e118603ee2Timo Sirainen# common targets