<commit_before>include ../../Library/GNU.mk
ifeq ($(OSXVersion),10.6)
RUDIX_UNIVERSAL=no
endif

Title=		Erlang/OTP
Name=		erlang
Version=	R16B
Revision=	0
URL=		http://www.erlang.org/download/
Source=		otp_src_$(Version).tar.gz

UncompressedName=otp_src_$(Version)

ReadMeFile=	$(SourceDir)/README.md
LicenseFile=	$(SourceDir)/EPLICENCE

define retrieve_post_hook
$(fetch) $(URL)/otp_doc_html_$(Version).tar.gz
$(fetch) $(URL)/otp_doc_man_$(Version).tar.gz
endef

ifneq ($(OSXVersion),10.6)
GnuConfigureExtra += --enable-darwin-64bit
endif

define install_post_hook
tar -zxf $(PortDir)/otp_doc_man_$(Version).tar.gz -C \
	$(InstallDir)/$(LibDir)/erlang
tar -zxf $(PortDir)/otp_doc_html_$(Version).tar.gz -C \
	$(InstallDir)/$(LibDir)/erlang
install -d $(InstallDir)/$(DocDir)/$(Name)
endef

define test_inner_hook
$(BinDir)/erl -version
endef

realdistclean: distclean
	rm -f retrieve $(Source)
	rm -f otp_doc_html_$(Version).tar.gz
	rm -f otp_doc_man_$(Version).tar.gz
<commit_msg>Update Erlang/OTP to version R16B03-1<commit_after>include ../../Library/GNU.mk
ifeq ($(OSXVersion),10.6)
RUDIX_UNIVERSAL=no
endif

Title=		Erlang/OTP
Name=		erlang
Version=	R16B03
Revision=	0
Site=		http://www.erlang.org/
URL=		http://www.erlang.org/download/
Source=		otp_src_$(Version)-1.tar.gz
License=	EPL

UncompressedName=otp_src_$(Version)-1

ReadMeFile=	$(SourceDir)/README.md
LicenseFile=	$(SourceDir)/EPLICENCE

define retrieve_post_hook
$(fetch) $(URL)/otp_doc_html_$(Version)-1.tar.gz
$(fetch) $(URL)/otp_doc_man_$(Version)-1.tar.gz
endef

ifneq ($(OSXVersion),10.6)
GnuConfigureExtra += --enable-darwin-64bit
endif

define install_post_hook
tar -zxf $(PortDir)/otp_doc_man_$(Version)-1.tar.gz -C \
	$(InstallDir)/$(LibDir)/erlang
tar -zxf $(PortDir)/otp_doc_html_$(Version)-1.tar.gz -C \
	$(InstallDir)/$(LibDir)/erlang
install -d $(InstallDir)/$(DocDir)/$(Name)
endef

define test_inner_hook
$(BinDir)/erl -version
endef

realdistclean: distclean
	rm -f retrieve $(Source)
	rm -f otp_doc_html_$(Version).tar.gz
	rm -f otp_doc_man_$(Version).tar.gz

{'fraction_non_alphanumeric': 0.16821515892420538, 'fraction_numerical': 0.017114914425427872, 'mean_word_length': 5.413793103448276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3909010', 'n_tokens_mistral': 873, 'n_tokens_neox': 845, 'n_words': 144}