components/meld/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Tue, 19 Jul 2016 10:41:45 -0700
changeset 6430 74bc7531ae5a
parent 5682 94c0ca64c022
child 6607 32e8bf76f9f7
permissions -rw-r--r--
24298430 Update meld to version 3.16.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    21
227
1e1ccdc6b1e6 7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    24
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    25
BUILD_BITS= 64
227
1e1ccdc6b1e6 7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
1e1ccdc6b1e6 7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    27
1e1ccdc6b1e6 7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		meld
6430
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    29
COMPONENT_VERSION=	3.16.1
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    30
COMPONENT_PROJECT_URL=	http://meldmerge.org/
3957
a5f5c603e464 20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents: 3914
diff changeset
    31
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
    32
COMPONENT_ARCHIVE_HASH=	\
6430
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    33
    sha256:1bec697aa1ababa315ca8241ade65dc68ea87f0d316632f590975afcf967cfab
3957
a5f5c603e464 20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents: 3914
diff changeset
    34
COMPONENT_ARCHIVE_URL=	http://ftp.gnome.org/pub/gnome/sources/meld/1.8/$(COMPONENT_ARCHIVE)
6430
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    35
COMPONENT_ARCHIVE_URL=	https://download.gnome.org/sources/$(COMPONENT_NAME)/3.16/$(COMPONENT_ARCHIVE)
227
1e1ccdc6b1e6 7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    36
6430
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    37
TPNO=			30088
1998
0dfe74929e1c 19078571 meld version 1.4.0 needs a TPNO in due course
Rich Burridge <rich.burridge@oracle.com>
parents: 1480
diff changeset
    38
6430
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    39
# We just need to build one version.
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    40
PYTHON_VERSIONS =       2.7
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    41
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    42
BUILD_STYLE= setup.py
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    43
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    44
include $(WS_MAKE_RULES)/common.mk
227
1e1ccdc6b1e6 7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    45
6430
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    46
# Needed to find GNU xgettext.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4984
diff changeset
    47
PATH =			$(GNUBIN):$(USRBINDIR)
3957
a5f5c603e464 20704082 meld should be updated to version 1.8.6
Rich Burridge <rich.burridge@oracle.com>
parents: 3914
diff changeset
    48
3914
0919f4d30271 20657358 migrate meld from Python 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    49
PKG_MACROS +=		PYVER=$(PYTHON_VERSION)
0919f4d30271 20657358 migrate meld from Python 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    50
6430
74bc7531ae5a 24298430 Update meld to version 3.16.1
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    51
PYTHON_DATA =		/usr
227
1e1ccdc6b1e6 7040420 migrate meld to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff changeset
    52
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    53
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    54
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1998
diff changeset
    55
REQUIRED_PACKAGES += developer/gnome/gettext
3914
0919f4d30271 20657358 migrate meld from Python 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    56
REQUIRED_PACKAGES += library/python/pygtk2-27
0919f4d30271 20657358 migrate meld from Python 2.6 to 2.7
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
    57
REQUIRED_PACKAGES += runtime/python-27
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 1998
diff changeset
    58
REQUIRED_PACKAGES += text/gnu-gettext