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