Makefile revision 1003
1149N/A###############################################################################
1124N/A#
1124N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
1124N/A#
1124N/A# Permission is hereby granted, free of charge, to any person obtaining a
1124N/A# copy of this software and associated documentation files (the "Software"),
1124N/A# to deal in the Software without restriction, including without limitation
1124N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1124N/A# and/or sell copies of the Software, and to permit persons to whom the
1097N/A# Software is furnished to do so, subject to the following conditions:
1124N/A#
1124N/A# The above copyright notice and this permission notice (including the next
1124N/A# paragraph) shall be included in all copies or substantial portions of the
1124N/A# Software.
1124N/A#
1124N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1124N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1124N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1124N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1124N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1124N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1124N/A# DEALINGS IN THE SOFTWARE.
1124N/A#
1265N/A
1333N/AMODULE_NAME=rasterfile
1366N/A
1357N/A# pkg(5) name we deliver the files in (override default)
1371N/AMODULE_PKGNAME=x11/header/rasterfile
1403N/AMODULE_PKGNAME_SET=yes
1405N/A# Package classification (override default)
1411N/AMODULE_PKGCLASS=Development/X11
1411N/AMODULE_PKGCLASS_SET=yes
1419N/A
1428N/A# Package metadata
MODULE_LICENSE = Oracle
MODULE_LICENSE_SET = yes
# No upstream sources for these files, since they're Solaris-specific
MODULE_VERSION=NONE
SOURCE_TARBALL_NAME=NONE
SOURCE_TARBALL_NAME_SET=yes
CONFIGURE_TARGETS =
CONFIGURE_TARGETS_SET=yes
BUILD_TARGETS =
BUILD_TARGETS_SET=yes
INSTALL_TARGETS = install_files
INSTALL_TARGETS_SET=yes
### Include common rulesets
include ../Makefile.inc
DESTDIR=$(PROTODIR)
INCDIR=$(DESTDIR)/usr/include/pixrect
MANDIR=$(DESTDIR)/usr/share/man/man4
install_files:
mkdir -p $(INCDIR) $(MANDIR)
cp -pf rasterfile.h $(INCDIR)
cp -pf rasterfile.4 $(MANDIR)