# $NetBSD: Makefile.versions,v 1.27 2017/03/17 14:37:04 fhajny Exp $ DIST_VERSION_MAJOR= 19 DIST_VERSION_MINOR= 3 _VERSIONS= \ asn1 4.0.4 \ common_test 1.14 \ compiler 7.0.4 \ cosEvent 2.2.1 \ cosEventDomain 1.2.1 \ cosFileTransfer 1.2.1 \ cosNotification 1.2.2 \ cosProperty 1.2.1 \ cosTime 1.2.2 \ cosTransactions 1.3.2 \ crypto 3.7.3 \ debugger 4.2.1 \ dialyzer 3.1 \ diameter 1.12.2 \ edoc 0.8.1 \ eldap 1.2.2 \ erl_docgen 0.6.1 \ erl_interface 3.9.3 \ erts 8.3 \ et 1.6 \ eunit 2.3.2 \ gs 1.6.2 \ hipe 3.15.4 \ ic 4.4.2 \ inets 6.3.6 \ jinterface 1.7.1 \ kernel 5.2 \ megaco 3.18.1 \ mnesia 4.14.3 \ observer 2.3.1 \ odbc 2.12 \ orber 3.8.2 \ os_mon 2.4.2 \ otp_mibs 1.1.1 \ parsetools 2.1.4 \ percept 0.9 \ public_key 1.4 \ reltool 0.7.3 \ runtime_tools 1.11.1 \ sasl 3.0.3 \ snmp 5.2.5 \ ssh 4.4.1 \ ssl 8.1.1 \ stdlib 3.3 \ syntax_tools 2.1.1 \ tools 2.9.1 \ typer 0.9.12 \ wx 1.8 \ xmerl 1.3.13 PLIST_SUBST+= VERSION=${DIST_VERSION_MAJOR} .for name version in ${_VERSIONS} VERSION.${name}=${version} PLIST_SUBST+= VERSION.${name}=${version} .endfor # Generate PLIST .for pkg version in ${_VERSIONS} PRINT_PLIST_AWK+= {if ($$0 ~ /\/${pkg}-${version}\//) {sub(/\/${pkg}-${version}\//,"/${pkg}-$${VERSION.${pkg}}/", $$0);}} # documentation: PRINT_PLIST_AWK+= {gsub(/\/${pkg}-${version}\.pdf/,"/${pkg}-$${VERSION.${pkg}}.pdf", $$0);} .endfor PRINT_PLIST_AWK+= {if ($$0 ~ /\/releases\/${DIST_VERSION_MAJOR}\//) {sub(/\/releases\/${DIST_VERSION_MAJOR}\//,"/releases/$${VERSION}/", $$0);}} # documentation: PRINT_PLIST_AWK+= {gsub(/\/otp-system-documentation-${VERSION.erts}\.pdf/,"/otp-system-documentation-$${VERSION.erts}.pdf", $$0);}