Makefile revision 919
c40265eba0c99708887d68e67901924065ba2514Brian Wellington###############################################################################
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
2f4ffd7f5594c0464f2a872aee5ef102f6f7b10fMark Andrews# xload 1.x Makefile
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Use is subject to license terms.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# copy of this software and associated documentation files (the "Software"),
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# to deal in the Software without restriction, including without limitation
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# the rights to use, copy, modify, merge, publish, distribute, sublicense,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and/or sell copies of the Software, and to permit persons to whom the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Software is furnished to do so, subject to the following conditions:
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# The above copyright notice and this permission notice (including the next
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# paragraph) shall be included in all copies or substantial portions of the
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Software.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
2f4ffd7f5594c0464f2a872aee5ef102f6f7b10fMark Andrews# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# DEALINGS IN THE SOFTWARE.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Package name used in tarballs
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_NAME=xload
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Version number (used in path names)
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_VERSION=1.0.2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Checksums for upstream tarball
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonTARBALL_MD5 = b41ed6b4bcfc9897366c27a94d2bf150
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonTARBALL_SHA1 = cbbbf23531e0d781b556f5864cc3b83874f786d2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Patches to apply to source after unpacking, in order
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonSOURCE_PATCHES = patch.xload
bca7f81db58d4803fb6d8d352132445cf61eb1acMark Andrews
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson# Man pages to apply Sun footer to & attributes to list
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonSUNTOUCHED_MANPAGES=*.man
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark AndrewsSUN_PACKAGE=SUNWxwplt
4d9f3f00d93fcb8743b1105e8cf82e862be220d1Mark AndrewsMODULE_STABILITY=Committed
d0aebc5a55b6145297d94f8aee939852357c59fcMark Andrews
43efd9fa56b03e3e285fb58859efc9348c7f4a9fMark Andrews# Specify which cpp to use instead of depending on builder's $PATH
43efd9fa56b03e3e285fb58859efc9348c7f4a9fMark AndrewsMODULE_CONFIG_OPTS = --with-cpp=/usr/lib/cpp
d0aebc5a55b6145297d94f8aee939852357c59fcMark Andrews
508f61f8d699c46f962b682f388e54b446a7194dMark AndrewsMODULE_ADD_INSTALL_TARGETS=install_po
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtoninclude ../Makefile.inc
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtoninstall_po:
c40265eba0c99708887d68e67901924065ba2514Brian Wellington mkdir -p $(PROTODIR)$(X11_LC_MESSAGES_DIR)
c40265eba0c99708887d68e67901924065ba2514Brian Wellington cp -f xload.po $(PROTODIR)$(X11_LC_MESSAGES_DIR)
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington