Makefile revision 1239
###############################################################################
#
# xload 1.x Makefile
#
# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#
# Package name used in tarballs
MODULE_NAME=xload
# pkg(5) name we deliver the files in (override default)
MODULE_PKGNAME=diagnostic/xload
MODULE_PKGNAME_SET=yes
# Package classification (override default)
MODULE_PKGCLASS=Applications/System Utilities
MODULE_PKGCLASS_SET=yes
# Version number (used in path names)
MODULE_VERSION=1.1.0
# Checksums for upstream tarball
TARBALL_MD5 = 5f6e8c54da51ad0e751abf54980b0ef1
TARBALL_SHA1 = dcad93d769b0614466f1e48fed5dd956349cfcfb
# Patches to apply to source after unpacking, in order
SOURCE_PATCHES = 7117061.patch,-p1
# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=*.man
MODULE_STABILITY=Committed
# Specify which cpp to use instead of depending on builder's $PATH
MODULE_CONFIG_OPTS = --with-cpp=/usr/lib/cpp
MODULE_ADD_INSTALL_TARGETS=install_po
# Compatibility links from /usr/X11/bin to /usr/bin
MODULE_X11_BINCOMPAT_LINKS = xload
include ../Makefile.inc
install_po:
mkdir -p $(PROTODIR)$(X11_LC_MESSAGES_DIR)
cp -f xload.po $(PROTODIR)$(X11_LC_MESSAGES_DIR)