Makefile revision 153
d943f5870debf69f3186f2666221abefc22a2d6drbb# CDDL HEADER START
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# The contents of this file are subject to the terms of the
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# Common Development and Distribution License (the "License").
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# You may not use this file except in compliance with the License.
d943f5870debf69f3186f2666221abefc22a2d6drbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d943f5870debf69f3186f2666221abefc22a2d6drbb# See the License for the specific language governing permissions
d943f5870debf69f3186f2666221abefc22a2d6drbb# and limitations under the License.
d943f5870debf69f3186f2666221abefc22a2d6drbb# When distributing Covered Code, include this CDDL HEADER in each
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# If applicable, add the following below this CDDL HEADER, with the
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# fields enclosed by brackets "[]" replaced with your own identifying
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# information: Portions Copyright [yyyy] [name of copyright owner]
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# CDDL HEADER END
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbCOMPONENT_ARCHIVE_HASH= sha1:6f1ecb5846cffb644826a02bd9153fe5d6387a9b
8ddfe3a457c91c8e7d48134398fb178b091366d7rbbCOMPONENT_ARCHIVE_URL= http://gd.tuwien.ac.at/publishing/tex/tex-utils/psutils/$(COMPONENT_ARCHIVE)
6988b3c9a24f46e053cd8de93b010199fa470254jim#COMPONENT_ARCHIVE_URL= ftp://ftp.knackered.org/pub/psutils/psutils.tar.gz
6988b3c9a24f46e053cd8de93b010199fa470254jim# Official ftp sources are currently unavailable, so I'm using mirror I found.
8ddfe3a457c91c8e7d48134398fb178b091366d7rbb# I made sure that the tarball is equal to the one present in SFW
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# Can't use 'p17' since that is not accepted by pkg. And homepage
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# http://knackered.knackered.org/angus/psutils/ states that development version
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# is pre-2.0
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# to stay compatible with nevada settings, letter is default paper size
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingCOMPONENT_BUILD_ENV += INCLUDEDIR=$(PROTO_DIR)/usr/share/psutils
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# slightly hacky, since COMPONENT_BUILD_TARGETS are just arguments passed to
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingCOMPONENT_INSTALL_ENV += BINDIR=$(PROTO_DIR)/usr/bin
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingCOMPONENT_INSTALL_ENV += INCLUDEDIR=$(PROTO_DIR)/usr/share/psutils
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingCOMPONENT_INSTALL_ENV += MANDIR=$(PROTO_DIR)/usr/share/man/man1
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingCOMPONENT_INSTALL_ENV += INSTALL="$(INSTALL) -m 0555"
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingCOMPONENT_INSTALL_ENV += INSTALLMAN="$(INSTALL) -m 0444"
ff36db79584271642c39863d1a7a6ce0923b58e4fielding# slightly hacky, since COMPONENT_BUILD_TARGETS are just arguments passed to
ff36db79584271642c39863d1a7a6ce0923b58e4fieldingCOMPONENT_INSTALL_TARGETS = -e -f Makefile.unix install