thunderbird: update to 128.2.0
[oi-userland.git] / components / print / a2ps / Makefile
bloba3e8c26c5f5404f9914cdb89eb1db5f6fd2ea637
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
26 BUILD_BITS= 64_and_32
27 USE_DEFAULT_TEST_TRANSFORMS= yes
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= a2ps
31 COMPONENT_VERSION= 4.14
32 COMPONENT_REVISION= 4
33 COMPONENT_SUMMARY= GNU a2ps - 'Anything to PostScript' converter and pretty printer
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_PROJECT_URL= https://www.gnu.org/software/a2ps/
36 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
37 COMPONENT_ARCHIVE_HASH= sha256:f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4
38 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/a2ps/$(COMPONENT_ARCHIVE)
39 COMPONENT_FMRI= print/filter/a2ps
40 COMPONENT_CLASSIFICATION= System/Printing
41 COMPONENT_LICENSE= GPLv3
43 include $(WS_MAKE_RULES)/common.mk
45 # don't use LD_Z_IGNORE: causes linker problems
46 LD_Z_IGNORE=
48 CONFIGURE_OPTIONS += --enable-shared
49 CONFIGURE_OPTIONS += --disable-static
50 CONFIGURE_OPTIONS += --sysconfdir=/etc/gnu
51 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
52 CONFIGURE_OPTIONS += --with-medium=a4
54 # because viewpathing isn't quite right in this version of a2ps
55 COMPONENT_PREP_ACTION = \
56 (cd $(@D) ; ln -s $(SOURCE_DIR)/auxdir/mkinstalldirs)
58 COMPONENT_POST_CONFIGURE_ACTION = \
59 (cd $(@D)/contrib ; \
60 ln -s $(SOURCE_DIR)/contrib/shell.m4) ; \
61 (cd $(@D)/doc ; \
62 ln -s $(SOURCE_DIR)/doc/make-authors.pl ; \
63 ln -s $(SOURCE_DIR)/doc/translators.txt) ; \
64 (cd $(@D)/sheets ; \
65 for sheet in $(SOURCE_DIR)/sheets/*.ssh ; do \
66 ln -s $$sheet ; \
67 done)
69 # Enable ASLR for this component
70 ASLR_MODE= $(ASLR_ENABLE)
72 # Build dependency manually added
73 REQUIRED_PACKAGES += developer/gperf
74 REQUIRED_PACKAGES += editor/gnu-emacs
76 # Auto-generated dependencies
77 REQUIRED_PACKAGES += runtime/perl
78 REQUIRED_PACKAGES += shell/ksh93
79 REQUIRED_PACKAGES += system/library
80 REQUIRED_PACKAGES += system/library/math