Makefile revision 7419
325N/A#
325N/A# CDDL HEADER START
325N/A#
325N/A# The contents of this file are subject to the terms of the
325N/A# Common Development and Distribution License (the "License").
325N/A# You may not use this file except in compliance with the License.
325N/A#
325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
325N/A# or http://www.opensolaris.org/os/licensing.
325N/A# See the License for the specific language governing permissions
325N/A# and limitations under the License.
325N/A#
325N/A# When distributing Covered Code, include this CDDL HEADER in each
325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
325N/A# If applicable, add the following below this CDDL HEADER, with the
325N/A# fields enclosed by brackets "[]" replaced with your own identifying
325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
325N/A#
325N/A# CDDL HEADER END
325N/A#
325N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
325N/A#
325N/A
325N/ABUILD_BITS= 64
325N/Ainclude ../../../make-rules/shared-macros.mk
325N/A
325N/ACOMPONENT_NAME= xdg-utils
325N/ACOMPONENT_VERSION= 1.1.1
325N/ACOMPONENT_PROJECT_URL= https://www.freedesktop.org/wiki/Software/xdg-utils/
325N/ACOMPONENT_ARCHIVE_HASH= \
325N/A sha256:b0dd63a2576e0bb16f1aa78d6ddf7d6784784a098d4df17161cd6a17c7bc4125
325N/ACOMPONENT_ARCHIVE_URL= http://portland.freedesktop.org/download/$(COMPONENT_ARCHIVE)
325N/ACOMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc
325N/ACOMPONENT_BUGDB= gnome/interop
325N/A
325N/ATPNO= 32590
325N/A
325N/A# Tests require a window system to be up and running
325N/ATEST_TARGET = $(SKIP_TEST)
325N/A
325N/Ainclude $(WS_MAKE_RULES)/common.mk
325N/A
325N/A# Replaces patches/0001-xdg-utils-01-bash.patch
325N/ACOMPONENT_POST_UNPACK_ACTION += \
325N/A $(GSED) -i -e 's,^\#!/bin/sh$$,\#!/usr/bin/bash,' $(@D)/scripts/*.in
325N/A
325N/A# Cannot find desc/*.xml during build if tree isn't cloned
325N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
325N/A
325N/A# Use GNU awk & sed
325N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
325N/ACOMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
325N/A
325N/A# docbook-dtds, xsltproc, & xmlto are used to generate files during the build
325N/AREQUIRED_PACKAGES += data/docbook/docbook-dtds
325N/AREQUIRED_PACKAGES += developer/documentation-tool/xmlto
325N/AREQUIRED_PACKAGES += file/gnu-coreutils
325N/AREQUIRED_PACKAGES += gnome/config/gconf
325N/AREQUIRED_PACKAGES += gnome/zenity
325N/AREQUIRED_PACKAGES += library/gnome/gvfs
325N/AREQUIRED_PACKAGES += library/libxslt
325N/AREQUIRED_PACKAGES += shell/bash
325N/AREQUIRED_PACKAGES += system/library/dbus
325N/AREQUIRED_PACKAGES += text/gawk
325N/AREQUIRED_PACKAGES += text/gnu-grep
325N/AREQUIRED_PACKAGES += text/gnu-sed
325N/AREQUIRED_PACKAGES += x11/x11-server-utilities
325N/A