rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / openindiana / release / Makefile
blob7717a164c452510eca43f7e7ea3fe8f38037985d
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016-2017 Aurelien Larcher
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= release
18 COMPONENT_VERSION= 0.$(PKG_SOLARIS_VERSION)
19 COMPONENT_REVISION= 20
20 COMPONENT_SUMMARY= OpenIndiana Release Files
21 COMPONENT_PROJECT_URL= https://www.openindiana.org/
22 COMPONENT_FMRI= release
23 COMPONENT_CLASSIFICATION= System/Core
24 COMPONENT_LICENSE= CDDLv1.0
25 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
27 include $(WS_MAKE_RULES)/ips.mk
29 RELEASE_DATE=$(shell LC_ALL=C date +'%d %B %Y')
31 download:
33 prep:
35 build:
37 install:
38 [ -d $(PROTO_DIR) ] || mkdir -p $(PROTO_DIR)
39 mkdir -p $(PROTO_DIR)$(ETCDIR) && \
40 cat files/release | \
41 sed -e 's|\%\%DATE\%\%|$(RELEASE_DATE)|' \
42 -e 's|\%\%DISTRIBUTION_NAME\%\%|$(DISTRIBUTION_NAME)|' \
43 -e 's|\%\%DISTRIBUTION_VERSION\%\%|$(DISTRIBUTION_VERSION)|' > $(PROTO_DIR)$(ETCDIR)/release
45 clean:
46 $(RM) -r $(BUILD_DIR) $(PROTO_DIR)