# $NetBSD: Makefile.versions,v 1.9 2009/12/15 13:53:24 asau Exp $ ERLANG_VERSION= 13.2.3 DIST_VERSION_MAJOR= R13B03 #DIST_VERSION_MINOR= 1 _VERSIONS= \ appmon 2.1.10.2 \ asn1 1.6.12 \ common_test 1.4.6 \ compiler 4.6.4 \ cosEvent 2.1.7 \ cosEventDomain 1.1.7 \ cosFileTransfer 1.1.9 \ cosNotification 1.1.12 \ cosProperty 1.1.10 \ cosTime 1.1.7 \ cosTransactions 1.2.8 \ crypto 1.6.3 \ debugger 3.2.1 \ dialyzer 2.1.0 \ docbuilder 0.9.8.6 \ edoc 0.7.6.5 \ erl_docgen 0.1 \ erl_interface 3.6.4 \ erts 5.7.4 \ et 1.3.3 \ eunit 2.1.4 \ gs 1.5.11 \ hipe 3.7.4 \ ic 4.2.23 \ inets 5.2 \ inviso 0.6.1 \ jinterface 1.5.2 \ kernel 2.13.4 \ megaco 3.13 \ mnesia 4.4.12 \ observer 0.9.8.1 \ odbc 2.10.6 \ orber 3.6.14 \ os_mon 2.2.4 \ otp_mibs 1.0.6 \ parsetools 2.0.1 \ percept 0.8.3 \ pman 2.7.1 \ public_key 0.4 \ reltool 0.5.2 \ runtime_tools 1.8.2 \ sasl 2.1.8 \ snmp 4.15 \ ssh 1.1.7 \ ssl 3.10.7 \ stdlib 1.16.4 \ syntax_tools 1.6.4 \ test_server 3.3.5 \ toolbar 1.4.1 \ tools 2.6.5 \ tv 2.1.4.4 \ typer 0.1.7.3 \ webtool 0.8.5 \ wx 0.98.4 \ xmerl 1.2.3 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);}} .endfor PRINT_PLIST_AWK+= {if ($$0 ~ /\/releases\/${DIST_VERSION_MAJOR}\//) {sub(/\/releases\/${DIST_VERSION_MAJOR}\//,"/releases/$${VERSION}/", $$0);}}