Makefile revision 1003
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher###############################################################################
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher#
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher#
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# Permission is hereby granted, free of charge, to any person obtaining a
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# copy of this software and associated documentation files (the "Software"),
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# to deal in the Software without restriction, including without limitation
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# the rights to use, copy, modify, merge, publish, distribute, sublicense,
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# and/or sell copies of the Software, and to permit persons to whom the
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# Software is furnished to do so, subject to the following conditions:
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher#
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# The above copyright notice and this permission notice (including the next
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# paragraph) shall be included in all copies or substantial portions of the
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# Software.
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher#
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# DEALINGS IN THE SOFTWARE.
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher#
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen GallagherMODULE_NAME=rasterfile
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# pkg(5) name we deliver the files in (override default)
291a6c8af9759e41cec6f332cb72606ca90768c3Pavel BřezinaMODULE_PKGNAME=x11/header/rasterfile
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen GallagherMODULE_PKGNAME_SET=yes
65e8f538ad35ba7d86cd9e60a3d86aec34537027Stephen Gallagher# Package classification (override default)
MODULE_PKGCLASS=Development/X11
MODULE_PKGCLASS_SET=yes
# 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)