author | Rich Burridge <rich.burridge@oracle.com> |
Mon, 02 Mar 2015 12:23:58 -0800 | |
changeset 3880 | 408b5915875e |
parent 3817 | 30b42c38bbc4 |
child 3917 | 87d7f448290b |
permissions | -rw-r--r-- |
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
1 |
# |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
3 |
# |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
7 |
# |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
12 |
# |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
18 |
# |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
20 |
# |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
21 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
22 |
# |
3717
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
23 |
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
24 |
# |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
25 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
27 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= tmux |
3717
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
29 |
COMPONENT_VERSION= 1.9 |
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
30 |
COMPONENT_MICRO_VERSION= a |
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
31 |
IPS_COMPONENT_VERSION= 1.9.1 |
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)$(COMPONENT_MICRO_VERSION) |
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_PROJECT_URL= http://tmux.sourceforge.net |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
3717
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
36 |
sha256:c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5 |
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tmux/files/tmux/$(COMPONENT_NAME)-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_BUGDB= utility/tmux |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
39 |
|
3717
b16a04ab5d50
19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents:
2225
diff
changeset
|
40 |
TPNO= 20510 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1787
diff
changeset
|
41 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3717
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3717
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3717
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/ips.mk |
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
45 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
46 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
47 |
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
48 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
49 |
# nroff does not work with -mandoc using groff |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
50 |
MANDIR_PREFORMATED= $(PROTO_DIR)/usr/share/man/cat1 |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
51 |
COMPONENT_POST_INSTALL_ACTION += \ |
1787
e27e5d7811bf
17605535 tmux manpage is corrupt.
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
1476
diff
changeset
|
52 |
/usr/bin/gnroff -c -Tascii -mandoc $(SOURCE_DIR)/tmux.1>tmux.1.mod ; \ |
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
53 |
mkdir -p $(MANDIR_PREFORMATED) ; \ |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
54 |
$(MV) tmux.1.mod $(MANDIR_PREFORMATED)/tmux.1 |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
55 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
56 |
# Enable ASLR for this component |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
57 |
ASLR_MODE = $(ASLR_ENABLE) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
58 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
59 |
# common targets |
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
60 |
configure: $(CONFIGURE_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
61 |
|
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
62 |
build: $(BUILD_64) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
63 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
64 |
install: $(INSTALL_64) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
65 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
66 |
test: $(NO_TESTS) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
67 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
68 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3717
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/libevent |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3717
diff
changeset
|
70 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3717
diff
changeset
|
71 |
REQUIRED_PACKAGES += system/library |