16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
|
21 |
|
22 # |
21 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
22 # |
24 # |
|
25 BUILD_BITS= 64 |
23 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
24 |
27 |
25 COMPONENT_NAME= help2man |
28 COMPONENT_NAME= help2man |
26 COMPONENT_VERSION= 1.47.3 |
29 COMPONENT_VERSION= 1.47.3 |
27 COMPONENT_PROJECT_URL= http://www.gnu.org/software/help2man/ |
|
28 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
30 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:c232af6475ef65bee02770862a362f4c4c2e6c9967d39e987eb94cadcfc13856 |
32 sha256:c232af6475ef65bee02770862a362f4c4c2e6c9967d39e987eb94cadcfc13856 |
32 COMPONENT_ARCHIVE_URL= http://mirror.team-cymru.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
33 COMPONENT_ARCHIVE_URL= http://mirror.team-cymru.org/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/help2man |
|
34 |
34 |
35 TPNO= 27415 |
35 TPNO= 27415 |
36 |
36 |
37 include $(WS_MAKE_RULES)/prep.mk |
37 TEST_TARGET= $(NO_TESTS) |
38 include $(WS_MAKE_RULES)/configure.mk |
38 include $(WS_MAKE_RULES)/gnu-component.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
|
40 |
39 |
41 CONFIGURE_ENV += PERL=$(PERL.5.22) |
40 CONFIGURE_ENV += PERL=$(PERL.5.22) |
42 |
41 |
43 # Needed to successfully create the message files. |
42 # Needed to successfully create the message files. |
44 COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
43 COMPONENT_PRE_CONFIGURE_ACTION += ($(CLONEY) $(SOURCE_DIR) $(@D)); |
45 |
44 |
46 CC += $(CC_BITS) |
|
47 |
|
48 CONFIGURE_OPTIONS += --bindir=$(USRBINDIR) |
|
49 |
|
50 # Needed to get all the localized files. |
45 # Needed to get all the localized files. |
51 COMPONENT_INSTALL_TARGETS = install install_l10n |
46 COMPONENT_INSTALL_TARGETS += install_l10n |
52 |
|
53 ASLR_MODE = $(ASLR_ENABLE) |
|
54 |
|
55 configure: $(CONFIGURE_64) |
|
56 |
|
57 build: $(BUILD_64) |
|
58 |
|
59 install: $(INSTALL_64) |
|
60 |
|
61 test: $(NO_TESTS) |
|
62 |
|
63 system-test: $(NO_TESTS) |
|
64 |
47 |
65 REQUIRED_PACKAGES += runtime/perl-522 |
48 REQUIRED_PACKAGES += runtime/perl-522 |