5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294Timo Sirainen###############################################################################
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen#
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# rgb - X11 color name mapping list data and utility
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Permission is hereby granted, free of charge, to any person obtaining a
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# copy of this software and associated documentation files (the "Software"),
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# to deal in the Software without restriction, including without limitation
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# the rights to use, copy, modify, merge, publish, distribute, sublicense,
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# and/or sell copies of the Software, and to permit persons to whom the
b215a8a123623782554a83f3025ef4e771bd8f01Timo Sirainen# Software is furnished to do so, subject to the following conditions:
b215a8a123623782554a83f3025ef4e771bd8f01Timo Sirainen#
a8284e999d091cd29210fa75ecdc8076376a7345Timo Sirainen# The above copyright notice and this permission notice (including the next
a8284e999d091cd29210fa75ecdc8076376a7345Timo Sirainen# paragraph) shall be included in all copies or substantial portions of the
a8284e999d091cd29210fa75ecdc8076376a7345Timo Sirainen# Software.
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# DEALINGS IN THE SOFTWARE.
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen#
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen# Package name used in tarballs
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo SirainenMODULE_NAME=rgb
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen# pkg(5) name we deliver the files in (override default)
7bafda1813454621e03615e83d55bccfa7cc56bdTimo SirainenMODULE_PKGNAME=x11/x11-server-utilities
7bafda1813454621e03615e83d55bccfa7cc56bdTimo SirainenMODULE_PKGNAME_SET=yes
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen# Package metadata
7bafda1813454621e03615e83d55bccfa7cc56bdTimo SirainenMODULE_DESC = the X11 rgb color name mapping list data and utility
cab0827de053c8b58c6528eb430c089576a49ca9Timo Sirainen
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen# Version number (used in path names)
7bafda1813454621e03615e83d55bccfa7cc56bdTimo SirainenMODULE_VERSION=1.0.6
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen# Checksums for upstream tarball
7bafda1813454621e03615e83d55bccfa7cc56bdTimo SirainenTARBALL_MD5 = eab5bbd7642e5c784429307ec210d198
d09e4ee15faa7b6f1804b78f15d8778030401b4cTimo SirainenTARBALL_SHA1 = 542fade81a74f8a6beaea8cb517bdf1033fc6b71
98348e3f27a2f59c2f02cd67974004b4cd595c8cTimo SirainenTARBALL_SHA256 = bbca7c6aa59939b9f6a0fb9fff15dfd62176420ffd4ae30c8d92a6a125fbe6b0
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen
93a7d1ee4b518b5c85f9721dc6539e4dab6aae00Timo Sirainen# Man pages to apply Sun footer to & attributes to list
f7f25f9e1a38678d0e97d2e609beac16285fac6bTimo SirainenSUNTOUCHED_MANPAGES=man/*.man
7bafda1813454621e03615e83d55bccfa7cc56bdTimo SirainenMODULE_STABILITY=Committed
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen# Compatibility links from /usr/X11/bin to /usr/bin
7bafda1813454621e03615e83d55bccfa7cc56bdTimo SirainenMODULE_X11_BINCOMPAT_LINKS = showrgb
7bafda1813454621e03615e83d55bccfa7cc56bdTimo Sirainen
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Siraineninclude ../Makefile.inc
9f0f2de10e4ea0c99052bf4b2bef8179f2536228Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen# Additional compatibility links for the well-known rgb.txt data file
a64adf62fa33f2463a86f990217b0c9078531a40Timo SirainenX11_RGBCOMPAT_LINKS = $(PROTODIR)/usr/X11/lib/X11/rgb.txt
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo Siraineninstall_X11_compat_links: $(X11_RGBCOMPAT_LINKS)
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen$(X11_RGBCOMPAT_LINKS):
a64adf62fa33f2463a86f990217b0c9078531a40Timo Sirainen mkdir -p $(@D)
7744586e3e0fd60158abfbb03a233d3bd8d6c48bTimo Sirainen ln -s ../../../share/X11/rgb.txt $@
4f7987384f306ea93b0258623a4cdd69601f2d0eTimo Sirainen