335N/A###############################################################################
0N/A#
0N/A# xfs - X11 font server
0N/A#
335N/A# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# Permission is hereby granted, free of charge, to any person obtaining a
0N/A# copy of this software and associated documentation files (the "Software"),
0N/A# to deal in the Software without restriction, including without limitation
0N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
0N/A# and/or sell copies of the Software, and to permit persons to whom the
0N/A# Software is furnished to do so, subject to the following conditions:
0N/A#
0N/A# The above copyright notice and this permission notice (including the next
0N/A# paragraph) shall be included in all copies or substantial portions of the
0N/A# Software.
0N/A#
0N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1127N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
0N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
0N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
0N/A# DEALINGS IN THE SOFTWARE.
335N/A#
477N/A#
477N/A
0N/A# Package name used in tarballs
123N/AMODULE_NAME=xfs
0N/A
1127N/A# Version number (used in path names)
0N/AMODULE_VERSION=1.1.3
0N/A
0N/A# Checksums for upstream tarball
0N/ATARBALL_MD5 = 38a5cb2d9103b91b4497310393a88d6d
1108N/ATARBALL_SHA1 = 68b9c6032f4ac91334a9ad07b0c58a89841e83b1
1108N/ATARBALL_SHA256= 7bf44a32ad04dbbcf3b5eef2cbfe879459378b312cb795e0d2d25e665f7196b7
1108N/A
1108N/A# Patches to apply to source after unpacking, in order
1108N/ASOURCE_PATCHES += smf-manpage.patch
1108N/ASOURCE_PATCHES += config-warning.patch
1108N/A
1108N/A# Man pages to apply Sun footer to & attributes to list
1108N/ASUNTOUCHED_MANPAGES=man/xfs.man
1108N/AMODULE_STABILITY=Committed
1108N/A
1108N/A# pkg(5) name we deliver the files in (override default)
1108N/AMODULE_PKGNAME=x11/xfs
1108N/AMODULE_PKGNAME_SET=yes
1108N/A
1108N/A# Package metadata
1108N/AMODULE_DESC = the X Font Server (xfs)
1108N/A
1108N/A# Dates to show in Oracle copyright notice in pkg license file
1108N/A# Earliest & latest of the copyrights in the Oracle files in this pkg
1108N/AORACLE_COPYRIGHT_YEARS = 1994, 2010
1108N/A
1108N/A# ARC cases that covered this module
1108N/A# PSARC/2004/752 X Consolidation conversion to SMF
1108N/AMODULE_ARC_CASES = PSARC/2004/752
1108N/A# LSARC/2008/009 X11R7 font server and utilities
1108N/AMODULE_ARC_CASES += LSARC/2008/009
850N/A
962N/A# Additional command line options to GNU autoconf configure script
962N/AMODULE_CONFIG_OPTS= --sysconfdir=$(X11_DIR)/lib \
962N/A --enable-syslog --enable-inetd --disable-devel-docs \
962N/A --with-default-font-path='catalogue:/etc/X11/fontpath.d' \
962N/A --with-default-config-file='/etc/X11/fs/config,$(X11_X11LIB_DIR)/fs/config,/etc/openwin/fs/fontserver.cfg,/usr/openwin/lib/X11/fontserver.cfg'
850N/A
962N/A# Need to link with libfontenc in server private directory
962N/AMODULE_LDFLAGS=$(X11_SERVERLIBS_LDFLAGS)
962N/A
850N/A# Install Solaris SMF files & service admin script
962N/AMODULE_ADD_INSTALL_TARGETS = install_smf install_fsadmin
962N/A
850N/A# Compatibility links from /usr/X11/bin to /usr/bin
1108N/AMODULE_X11_BINCOMPAT_LINKS = xfs
1108N/A
1108N/Ainclude ../Makefile.inc
1108N/A
1108N/A# Make sure SMF manifest is valid before installing it
1129N/Acheck_smf: xfs.xml
1129N/A /usr/sbin/svccfg validate xfs.xml
1129N/A
1129N/AX11_SMF_MANIFEST_DIR=$(SMF_MANIFEST_DIR)/application/x11
1108N/A
1145N/Ainstall_smf: check_smf
1145N/A mkdir -p $(PROTODIR)$(X11_SMF_MANIFEST_DIR)
1145N/A $(INSTALL_SCRIPT) -m 0444 xfs.xml $(PROTODIR)$(X11_SMF_MANIFEST_DIR)
1145N/A
1145N/Ainstall_fsadmin:
1145N/A mkdir -p $(PROTODIR)$(X11_DIR)/sbin \
1145N/A $(PROTODIR)$(X11_MAN_DIR)/man1
1108N/A $(INSTALL_SCRIPT) -m 0755 fsadmin $(PROTODIR)$(X11_DIR)/sbin/fsadmin
1145N/A $(INSTALL_SCRIPT) -m 0444 fsadmin.1 $(PROTODIR)$(X11_MAN_DIR)/man1/
1108N/A
1145N/A# Special compatibility link from /usr/X11/bin/fsadmin to /usr/sbin/fsadmin
1108N/Ainstall: $(X11_BINCOMPAT_DIR)/fsadmin
1145N/A
1145N/A$(X11_BINCOMPAT_DIR)/fsadmin: $(X11_BINCOMPAT_DIR)
1145N/A @rm -f $@
1145N/A ln -s ../../sbin/fsadmin $@
1145N/A