#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2015 Alexander Pyhalov
#

set name=pkg.fmri value=pkg:/x11/server/xserver-common@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="X server common files"
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'

file files/RtDesktopConfiguration.html path=usr/lib/help/profiles/locale/C/RtDesktopConfiguration.html
file files/X11States.html path=usr/lib/help/auths/locale/C/X11States.html
file files/x11-init path=lib/svc/method/x11-init mode=0555
file files/x11-server path=lib/svc/method/x11-server mode=0555
file files/x11-init.xml path=lib/svc/manifest/application/x11/x11-init.xml 
file files/x11-server.xml path=lib/svc/manifest/application/x11/x11-server.xml 
file files/Xnest.1 path=usr/share/man/man1/Xnest.1 
file files/Xserver path=usr/bin/Xserver
file files/xserver-common.auth_attr path=etc/security/auth_attr.d/xserver-common
file files/xserver-common.prof_attr path=etc/security/prof_attr.d/xserver-common
file srcs/os/solaris/mdb/README path=usr/demo/Xserver/mdb/README

file path=usr/demo/Xserver/mdb/list_Xserver_clients mode=0555
file path=usr/demo/Xserver/mdb/list_Xserver_devicegrab_client mode=0555
file path=usr/demo/Xserver/mdb/list_Xserver_servergrab_client mode=0555
file path=usr/lib/mdb/proc/$(MACH64)/Xserver.so
file path=usr/lib/$(MACH64)/xorg/protocol.txt
file path=usr/share/man/man1/Xserver.1

link path=usr/X11/bin/X target=../../bin/X pkg.linted.userland.action002.0=true
link path=usr/X11/bin/Xserver target=../../bin/Xserver pkg.linted.userland.action002.0=true
link path=usr/bin/X target=Xserver pkg.linted.userland.action002.0=true