Alan@649: ############################################################################### Alan@649: # Alan@1339: # dispswitch - utility for changing display configuration upon hotkey press Alan@649: # Alan@1422: # Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved. Alan@649: # Alan@649: # Permission is hereby granted, free of charge, to any person obtaining a Alan@919: # copy of this software and associated documentation files (the "Software"), Alan@919: # to deal in the Software without restriction, including without limitation Alan@919: # the rights to use, copy, modify, merge, publish, distribute, sublicense, Alan@919: # and/or sell copies of the Software, and to permit persons to whom the Alan@919: # Software is furnished to do so, subject to the following conditions: Alan@919: # Alan@919: # The above copyright notice and this permission notice (including the next Alan@919: # paragraph) shall be included in all copies or substantial portions of the Alan@919: # Software. Alan@919: # Alan@919: # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR Alan@919: # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, Alan@919: # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL Alan@919: # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER Alan@919: # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING Alan@919: # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER Alan@919: # DEALINGS IN THE SOFTWARE. Alan@649: # Alan@649: # Alan@649: Alan@649: # Package name used in tarballs Alan@649: MODULE_NAME=dispswitch Alan@649: Alan@1360: # Package metadata Alan@1360: ORACLE_TPNO = $(ORACLE_TPNO_xorg) Alan@1360: Alan@649: # No upstream sources, only local sources Alan@649: MODULE_VERSION=src Alan@1339: MODULE_LICENSE_DESC = portions of the xrandr utility Alan@649: SOURCE_TARBALL_NAME=NONE Alan@649: SOURCE_TARBALL_NAME_SET=yes Alan@649: ADDITIONAL_SOURCE_DIR=sun-src Alan@649: Alan@1339: # Dates to show in Oracle copyright notice in pkg license file Alan@1339: # Earliest & latest of the copyrights in the Oracle files in this pkg Alan@1339: ORACLE_COPYRIGHT_YEARS = 2008, 2010 Alan@1339: Alan@970: # pkg(5) name we deliver the files in (override default) Alan@977: MODULE_PKGNAME=x11/x11-server-utilities Alan@970: MODULE_PKGNAME_SET=yes Alan@970: Alan@970: # ARC cases that covered this module Alan@970: # LSARC/2008/519 disp_switch Alan@970: MODULE_ARC_CASES = LSARC/2008/519 Alan@970: Alan@649: # Man pages to apply Sun footer to & attributes to list Alan@649: SUNTOUCHED_MANPAGES= # None Alan@649: MODULE_STABILITY=Volatile Alan@649: Alan@1422: # No configure script to run, but need to make build dirs Alan@1422: CONFIGURE_TARGETS = $(BUILD_DIR) Alan@649: CONFIGURE_TARGETS_SET=yes Alan@649: Alan@649: # Since we don't have a configure script, pass configure flags to make Alan@1422: # and pass path to $(SOURCE_DIR) for makefiles & source files Alan@1422: REL_SOURCE_DIR = ../$(SOURCE_DIR) Alan@1422: MODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile Alan@1422: MODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX) Alan@649: Alan@970: # Compatibility links from /usr/X11/bin to /usr/bin Alan@970: MODULE_X11_BINCOMPAT_LINKS = dispswitch Alan@970: Alan@649: include ../Makefile.inc