author | Rich Burridge <rich.burridge@oracle.com> |
Fri, 14 Apr 2017 13:54:40 -0700 | |
branch | s11u3-sru |
changeset 7869 | a80ad5071d35 |
parent 7811 | 9126e6f58cd8 |
permissions | -rw-r--r-- |
227
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
1 |
# |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
3 |
# |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
7 |
# |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
12 |
# |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
18 |
# |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
20 |
# |
7811
9126e6f58cd8
PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents:
4563
diff
changeset
|
21 |
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
227
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
22 |
# |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
23 |
|
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
24 |
include ../../make-rules/shared-macros.mk |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
25 |
|
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
26 |
COMPONENT_NAME= meld |
7869
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
27 |
COMPONENT_VERSION= 1.8.6 |
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
28 |
COMPONENT_PROJECT_URL= http://meldmerge.org/ |
227
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
7869
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
30 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
7869
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
32 |
sha256:af96682b8f4bf3ad4221c853b1516218d62a17ff43c38f4a83e7e8ac6736e8a5 |
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/gnome/sources/meld/1.8/$(COMPONENT_ARCHIVE) |
2434
6c9bb5cf5610
15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
34 |
COMPONENT_BUGDB= utility/meld |
227
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
35 |
|
7869
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
36 |
TPNO= 21932 |
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2434
diff
changeset
|
37 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3984
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/prep.mk |
4563
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
39 |
|
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
40 |
# pygtk2-27 is only available on S11.3 and later |
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
41 |
ifeq ($(BUILD_TYPE), evaluation) |
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
42 |
BUILD_32= |
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
43 |
INSTALL_32= |
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
44 |
PUBLISH_STAMP= |
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
45 |
endif |
5d3e1ffc1ae1
21344772 updates for evaluation packages
John Beck <John.Beck@Oracle.COM>
parents:
4237
diff
changeset
|
46 |
|
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3984
diff
changeset
|
47 |
include $(WS_MAKE_RULES)/justmake.mk |
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3984
diff
changeset
|
48 |
include $(WS_MAKE_RULES)/ips.mk |
227
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
49 |
|
7811
9126e6f58cd8
PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents:
4563
diff
changeset
|
50 |
# Needed to find GNU xgettext. |
9126e6f58cd8
PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents:
4563
diff
changeset
|
51 |
PATH = $(GNUBIN):$(USRBINDIR) |
3984
03ec35f09e5b
20663199 six Userland components need work for Python 2.6 -> 2.7 move
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
52 |
|
7869
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
53 |
PYTHON_VERSION = 2.7 |
a80ad5071d35
20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents:
7811
diff
changeset
|
54 |
|
3984
03ec35f09e5b
20663199 six Userland components need work for Python 2.6 -> 2.7 move
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
55 |
PKG_MACROS += PYVER=$(PYTHON_VERSION) |
03ec35f09e5b
20663199 six Userland components need work for Python 2.6 -> 2.7 move
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
56 |
|
227
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
57 |
# Meld has no configure however it honors DESTDIR which is necessary so |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
58 |
# we don't try to install into roots /usr but rather our proto areas usr |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
59 |
COMPONENT_INSTALL_ARGS += DESTDIR=$(PROTO_DIR) |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
60 |
|
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
61 |
# common targets |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
62 |
build: $(BUILD_32) |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
63 |
|
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
64 |
install: $(INSTALL_32) |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
65 |
|
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
66 |
test: $(NO_TESTS) |
1e1ccdc6b1e6
7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
67 |
|
4237
3517b6c3873e
20657358 migrate meld from Python 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents:
3999
diff
changeset
|
68 |
REQUIRED_PACKAGES += developer/gnome/gettext |
3517b6c3873e
20657358 migrate meld from Python 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents:
3999
diff
changeset
|
69 |
REQUIRED_PACKAGES += library/python/pygtk2-27 |
3996
20c0f21bbe1e
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3984
diff
changeset
|
70 |
REQUIRED_PACKAGES += runtime/python-27 |
4237
3517b6c3873e
20657358 migrate meld from Python 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents:
3999
diff
changeset
|
71 |
REQUIRED_PACKAGES += text/gnu-gettext |