Marcel Telka
2023-07-03 79897a26b99f84619b8846f7a58d97a63ea4c2d0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2022 Marcel Telka
#
 
BUILD_STYLE = pkg
 
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME =        perl
COMPONENT_VERSION =        $(PERL_VERSION)
COMPONENT_REVISION =        3
COMPONENT_SUMMARY =        Perl - Highly capable, feature-rich programming language
COMPONENT_PROJECT_URL =        https://www.perl.org/
COMPONENT_FMRI =        runtime/perl
COMPONENT_CLASSIFICATION =    Development/Perl
 
SINGLE_PERL_VERSION = no
 
include $(WS_MAKE_RULES)/common.mk
 
PKG_MACROS += PERLVER=$(PERL_VERSION)
PKG_MACROS += PLV=$(shell echo $(PERL_VERSION) | tr -d .)
 
ifeq ($(PERL_VERSION),$(lastword $(PERL_VERSIONS)))
PKG_MACROS += VENDOR_MEDIATOR=\#
else
PKG_MACROS += VENDOR_MEDIATOR=
endif
 
# Auto-generated dependencies