# $NetBSD: Makefile.versions,v 1.15 2013/01/23 21:46:06 asau Exp $ ERLANG_VERSION= 15.1.3.1 DIST_VERSION_MAJOR= R15B03 DIST_VERSION_MINOR= 1 _VERSIONS= \ appmon 2.1.14.1 \ asn1 1.8 \ common_test 1.6.3 \ compiler 4.8.2 \ cosEvent 2.1.12 \ cosEventDomain 1.1.12 \ cosFileTransfer 1.1.13 \ cosNotification 1.1.18 \ cosProperty 1.1.15 \ cosTime 1.1.12 \ cosTransactions 1.2.12 \ crypto 2.2 \ debugger 3.2.8 \ dialyzer 2.5.3 \ diameter 1.3 \ docbuilder 0.9.8.10 \ edoc 0.7.10 \ eldap 1.0 \ erl_docgen 0.3.3 \ erl_interface 3.7.9 \ erts 5.9.3.1 \ et 1.4.4.2 \ eunit 2.2.3 \ gs 1.5.15.1 \ hipe 3.9.3 \ ic 4.2.31 \ inets 5.9.2 \ inviso 0.6.3 \ jinterface 1.5.6 \ kernel 2.15.3 \ megaco 3.16.0.2 \ mnesia 4.7.1 \ observer 1.2 \ odbc 2.10.13 \ orber 3.6.24 \ os_mon 2.2.10 \ otp_mibs 1.0.7 \ parsetools 2.0.7 \ percept 0.8.7 \ pman 2.7.1.2 \ public_key 0.17 \ reltool 0.6.1 \ runtime_tools 1.8.9 \ sasl 2.2.1 \ snmp 4.22.1 \ ssh 2.1.2 \ ssl 5.1.2 \ stdlib 1.18.3 \ syntax_tools 1.6.9 \ test_server 3.5.3 \ toolbar 1.4.2.2 \ tools 2.6.8 \ tv 2.1.4.9 \ typer 0.9.4 \ webtool 0.8.9.1 \ wx 0.99.2 \ xmerl 1.3.2 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);}