Makefile revision 6636
200N/A#
200N/A# CDDL HEADER START
200N/A#
200N/A# The contents of this file are subject to the terms of the
200N/A# Common Development and Distribution License (the "License").
200N/A# You may not use this file except in compliance with the License.
200N/A#
200N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
200N/A# or http://www.opensolaris.org/os/licensing.
200N/A# See the License for the specific language governing permissions
200N/A# and limitations under the License.
200N/A#
200N/A# When distributing Covered Code, include this CDDL HEADER in each
200N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
200N/A# If applicable, add the following below this CDDL HEADER, with the
200N/A# fields enclosed by brackets "[]" replaced with your own identifying
200N/A# information: Portions Copyright [yyyy] [name of copyright owner]
200N/A#
200N/A# CDDL HEADER END
200N/A#
200N/A
200N/A#
5680N/A# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
200N/A#
5680N/ABUILD_BITS= 64
200N/Ainclude ../../make-rules/shared-macros.mk
200N/A
200N/ACOMPONENT_NAME= enscript
200N/ACOMPONENT_VERSION= 1.6.6
618N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb
844N/A
200N/A# Ruby enscript support
200N/ACOMPONENT_ARCHIVE_1= ruby-enscript.tar.gz
844N/ACOMPONENT_ARCHIVE_HASH_1= \
844N/A sha256:29c87c4cd5d36b221fd50ad0b2e35a2cc0e1422519bb7f41d400c61db117cff7
200N/ACOMPONENT_ARCHIVE_URL_1= http://neugierig.org/software/ruby/ruby-enscript.tar.gz
200N/A
844N/A# PHP enscript support
844N/ACOMPONENT_ARCHIVE_2= php.st
200N/ACOMPONENT_ARCHIVE_HASH_2= \
200N/A sha256:3224ca9e1a9707f5a1dba2688a639c13494a805642f102279b3431214801814c
844N/ACOMPONENT_ARCHIVE_URL_2= http://ez.lbm-services.de/content/download/1631/7197/file/php.st
844N/A
200N/ATPNO= 29959
200N/A
844N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
844N/A
200N/A# Get just the ruby enscript support file out of the downloaded tarball, and
200N/A# move ruby.st and php.st into the correct directory for "gmake install".
844N/ACOMPONENT_PREP_ACTION = \
844N/A /usr/bin/tar xvf $(COMPONENT_ARCHIVE_1) ruby.st ; \
200N/A $(MV) php.st ruby.st $(SOURCE_DIR)/states/hl ;
200N/A
1258N/A# There are patches that change a Makefile.am and configure.in
1258N/A# This version of enscript needs an older automake to reconfigure. When
2899N/A# we upgrade enscript, we can use the newer version.
2899N/ACOMPONENT_PREP_ACTION +=(cd $(@D); ACLOCAL=aclocal-1.11 AUTOMAKE=automake-1.11 \
5680N/A autoreconf -fiv);
5680N/A
5680N/A# Needed so that enscript can find the enscript.cfg file.
200N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
206N/A
200N/ACONFIGURE_OPTIONS += --with-media=Letter
206N/A
206N/A# Needed so that the StatesBinary parameter in /etc/enscript.cfg
200N/A# will be /usr/bin/states on sparc.
5680N/ACONFIGURE_OPTIONS += --bindir=/usr/bin
200N/A
200N/ACOMPONENT_POST_INSTALL_ACTION = \
200N/A $(LN) $(PROTOUSRBINDIR)/enscript \
200N/A $(PROTOUSRBINDIR)/nenscript
200N/A
200N/A# Adjust '#!/usr/bin/perl'
200N/APERL_SCRIPTS = \
200N/A $(PROTOUSRBINDIR)/diffpp \
200N/A $(PROTOUSRBINDIR)/sliceprint
200N/A
200N/AREQUIRED_PACKAGES += $(PERL_PKG)
200N/AREQUIRED_PACKAGES += shell/ksh93
200N/AREQUIRED_PACKAGES += system/library/math
200N/A