Marcel Telka
2024-02-12 d58918535e5e1f942a7b3e97c2e95f3a7588fdfb
gnome-doc-utils: modernize Makefile

3 files modified
24 ■■■■■ changed files
components/developer/gnome-doc-utils/Makefile 16 ●●●●● patch | view | raw | blame | history
components/developer/gnome-doc-utils/manifests/sample-manifest.p5m 2 ●●● patch | view | raw | blame | history
components/developer/gnome-doc-utils/pkg5 6 ●●●●● patch | view | raw | blame | history
components/developer/gnome-doc-utils/Makefile
@@ -16,7 +16,7 @@
COMPONENT_NAME=         gnome-doc-utils
COMPONENT_VERSION=      0.20.10
COMPONENT_REVISION=     4
COMPONENT_REVISION=     5
COMPONENT_SUMMARY=      Documentation utilities for GNOME
COMPONENT_PROJECT_URL=  https://www.gnome.org
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
@@ -30,21 +30,19 @@
TEST_TARGET= $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
PKG_MACROS += PYVER=$(PYTHON_VERSION)
PATH=$(PATH.gnu)
# Missing files in build dir for xml2po without this.
COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
CONFIGURE_OPTIONS+= --sysconfdir=$(ETCDIR)
CONFIGURE_ENV+=  PERL=$(PERL)
CONFIGURE_ENV+=  PYTHON=$(PYTHON)
CONFIGURE_ENV+=  am_cv_python_pythondir="$(PYTHON.$(PYTHON_VERSION).VENDOR_PACKAGES.32)"
COMPONENT_BUILD_ARGS += V=1
# Move Python modules from site-packages directory to vendor-packages directory
COMPONENT_POST_INSTALL_ACTION += \
    $(MV) $(PROTO_DIR)/$(PYTHON_DIR)/site-packages $(PROTO_DIR)/$(PYTHON_LIB) ;
PYTHON_SCRIPTS += usr/bin/xml2po
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += runtime/python
REQUIRED_PACKAGES += shell/bash
components/developer/gnome-doc-utils/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2022 <contributor>
# Copyright 2024 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
components/developer/gnome-doc-utils/pkg5
@@ -1,13 +1,11 @@
{
    "dependencies": [
        "SUNWcs",
        "runtime/python-39",
        "shell/bash",
        "shell/ksh93",
        "system/library"
        "shell/ksh93"
    ],
    "fmris": [
        "developer/gnome/gnome-doc-utils"
    ],
    "name": "gnome-doc-utils"
}
}