diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2013-01-30 17:07:20 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2013-01-30 17:07:20 +0000 |
commit | ff8526151d4edf87a6e84aaa3669354c0beac7b7 (patch) | |
tree | e03de045787ce62e7e39f7155c01c5c579cad777 /lang | |
parent | 5401cf7a4b6bcb4826c58e753ee08b9c746a59d4 (diff) | |
download | ports-ff8526151d4edf87a6e84aaa3669354c0beac7b7.tar.gz ports-ff8526151d4edf87a6e84aaa3669354c0beac7b7.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/erlang/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang14/Makefile | 288 | ||||
-rw-r--r-- | lang/erlang14/Makefile.lib | 59 | ||||
-rw-r--r-- | lang/erlang14/Makefile.man | 623 | ||||
-rw-r--r-- | lang/erlang14/distinfo | 18 | ||||
-rw-r--r-- | lang/erlang14/files/epmd.in | 25 | ||||
-rw-r--r-- | lang/erlang14/files/patch-erts-emulator-Makefile.in | 14 | ||||
-rw-r--r-- | lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c | 26 | ||||
-rw-r--r-- | lang/erlang14/files/patch-erts_etc_common_erlc.c | 13 | ||||
-rw-r--r-- | lang/erlang14/files/patch-erts_etc_unix_run__erl.c | 15 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c | 15 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_et_src_et__gs__contents__viewer.erl | 13 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_et_src_et__gs__viewer.erl | 15 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_gs_src_tool__utils.erl | 87 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_stdlib_src_calendar.erl | 29 | ||||
-rw-r--r-- | lang/erlang14/files/pkg-message.in | 11 | ||||
-rw-r--r-- | lang/erlang14/pkg-descr | 5 | ||||
-rw-r--r-- | lang/erlang14/pkg-plist | 27 |
19 files changed, 0 insertions, 1286 deletions
diff --git a/lang/Makefile b/lang/Makefile index 823dec0505ef..9ce84f4aaa3e 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -58,7 +58,6 @@ SUBDIR += embryo SUBDIR += eperl SUBDIR += erlang - SUBDIR += erlang14 SUBDIR += execline SUBDIR += expect SUBDIR += expect-devel diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 8e31c0a6f522..ebdf051f140d 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -29,8 +29,6 @@ PATCH_SITES= http://www.erlang.org/download MAINTAINER= olgeni@FreeBSD.org COMMENT= A functional programming language from Ericsson -CONFLICTS= erlang-14* - DOC_DISTFILES= armstrong_thesis_2003.pdf:joe \ bjarnelic.pdf:publications \ erlang-book-part1.pdf:erlangorg \ diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile deleted file mode 100644 index 353b3a0febdb..000000000000 --- a/lang/erlang14/Makefile +++ /dev/null @@ -1,288 +0,0 @@ -# Created by: ruslan@shevchenko.kiev.ua -# $FreeBSD$ - -PORTNAME= erlang -PORTVERSION= 14.b.04 -PORTEPOCH= 1 -CATEGORIES= lang parallel java -MASTER_SITES= http://www.erlang.org/download/:erlangorg \ - http://erlang.stacken.kth.se/download/:erlangorg \ - http://www.csd.uu.se/ftp/mirror/erlang/download/:erlangorg \ - http://www.erlang.se/doc/:erlangse \ - http://www.erlang.se/publications/:publications \ - http://www.sics.se/~joe/thesis/:joe \ - ${MASTER_SITE_LOCAL:S/$/:local/:S,%SUBDIR%/,olgeni/,} -DISTNAME= otp_src_${ERL_RELEASE} -DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:erlangorg \ - ${ERLANG_MAN}:erlangorg \ - ${ERLANG_DOCS}:erlangorg \ - ${DOC_DISTFILES} -DIST_SUBDIR= erlang -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} - -PATCH_SITES= http://www.erlang.org/download - -MAINTAINER= olgeni@FreeBSD.org -COMMENT= A functional programming language from Ericsson - -CONFLICTS= erlang-15* -LATEST_LINK= erlang14 - -DOC_DISTFILES= armstrong_thesis_2003.pdf:joe \ - bjarnelic.pdf:publications \ - erlang-book-part1.pdf:erlangorg \ - master_thesis_patterns.pdf:local \ - mnesia_overview.pdf:publications \ - programming_rules.pdf:erlangse - -SUB_FILES= pkg-message -SUB_LIST= TOOLS_VSN=${TOOLS_VSN} - -MAKE_JOBS_UNSAFE=yes - -OPTIONS_DEFINE= HIPE JAVA KQUEUE ODBC OPENSSL SCTP SMP THREADS WX X11 -OPTIONS_SINGLE= ODBC -OPTIONS_SINGLE_ODBC= IODBC UNIXODBC - -HIPE_DESC= Build native HiPE compiler -KQUEUE_DESC= Enable Kernel Poll (kqueue) support -UNIXODBC_DESC= Build with unixODBC support -IODBC_DESC= Build with libiodbc support -SCTP_DESC= Enable SCTP support -SMP_DESC= Enable SMP support -WX_DESC= Enable WX extensions - -OPTIONS_DEFAULT= SMP OPENSSL THREADS SCTP KQUEUE - -ERL_RELEASE= R${PORTVERSION:S/.//g:U} - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MOPENSSL} -USE_OPENSSL=YES -CONFIGURE_ARGS+=--enable-ssl=${OPENSSLBASE} --enable-dynamic-ssl-lib -.else -CONFIGURE_ARGS+=--disable-ssl -.endif - -.include <bsd.port.pre.mk> - -# The Java applications that are part of the Erlang distribution are -# not strictly necessary - it is included for completeness sake. A -# problem with the Erlang build procedure is that it only checks if -# javac is in the regular path - and then assumes that all of the jdk -# utilities is in the path as well. The only way to make sure that -# this is the case (that I could think of at least) was to make sure -# ${JAVA_HOME}/bin is added to the PATH, using the *_ENV macros. - -.if ${PORT_OPTIONS:MJAVA} -USE_JAVA= yes -JAVA_VERSION= 1.6+ -# Make sure ${JAVA_HOME}/bin is in the path -CONFIGURE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin -MAKE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin -SCRIPT_ENV+= PATH=${PATH}:${JAVA_HOME}/bin -.else -CONFIGURE_ARGS+=--without-javac -.endif - -.if ${PORT_OPTIONS:MHIPE} -CONFIGURE_ARGS+=--enable-hipe -.else -CONFIGURE_ARGS+=--disable-hipe -.endif - -.if ${PORT_OPTIONS:MKQUEUE} -CONFIGURE_ARGS+=--enable-kernel-poll -.else -CONFIGURE_ARGS+=--disable-kernel-poll -.endif - -.if ${PORT_OPTIONS:MX11} -USE_TK_RUN= yes -.if ${PORT_OPTIONS:MWX} -USE_WX= 2.8+ -WX_COMPS= wx contrib -WX_UNICODE= yes -CONFIGURE_ARGS+=--with-wx-config=${WX_CONFIG} -.endif -.endif - -USE_GMAKE= yes -USE_CSTD= gnu89 -USE_PERL5= yes -USE_RC_SUBR= epmd -GNU_CONFIGURE= yes -ONLY_FOR_ARCHS= i386 amd64 sparc64 powerpc -REINPLACE_ARGS= -i - -.if (${OSVERSION} < 700000) -USE_GCC= 4.2+ -.endif - -.if ${PORT_OPTIONS:MODBC} -CONFIGURE_ARGS+=--with-odbc -.if ${PORT_OPTIONS:MUNIXODBC} -LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC -.elif ${PORT_OPTIONS:MIODBC} -LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc -.endif -.else -CONFIGURE_ARGS+=--without-odbc -.endif - -ERLANG_MAN= otp_doc_man_${ERL_RELEASE}.tar.gz -ERLANG_DOCS= otp_doc_html_${ERL_RELEASE}.tar.gz -ERLANG_PLIST= ${WRKDIR}/pkg-plist - -.if ${PORT_OPTIONS:MTHREADS} -CONFIGURE_ARGS+=--enable-threads -.else -CONFIGURE_ARGS+=--disable-threads -.endif - -.if ${PORT_OPTIONS:MSCTP} -CONFIGURE_ARGS+=--with-sctp -.else -CONFIGURE_ARGS+=--without-sctp -.endif - -# enabling --enable-smp-support crashes the OS when -# net_kernel:start([node_name, shortnames]) invoked repeatedly - -.if ${PORT_OPTIONS:MSMP} -CONFIGURE_ARGS+=--enable-smp-support -.else -CONFIGURE_ARGS+=--disable-smp-support -.endif - -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_SUB+= TOOLS_VSN=${TOOLS_VSN} - -.if ${ARCH} == i386 -MAKE_ARGS+= ARCH=x86 -.endif - -# The man-pages are put (in spite of FreeBSD's port convention) in a private -# subdir. This is to avoid cluttering up the man page name space. Also the -# Erlang man pages are more of internal documentation using the man format than -# actual system man pages. (erl.1 and epmd.1 perhaps being the exception). - -NO_MANCOMPRESS= yes - -MAN1PREFIX= ${PREFIX}/lib/erlang -MAN3PREFIX= ${PREFIX}/lib/erlang -MAN4PREFIX= ${PREFIX}/lib/erlang -MAN6PREFIX= ${PREFIX}/lib/erlang - -pre-configure: - @${REINPLACE_CMD} -e 's#%%CFLAGS%%#${CFLAGS}#g' ${WRKSRC}/lib/wx/configure - -# Check if ${JAVAC} exists. -.if ${PORT_OPTIONS:MJAVA} - @if [ ! -x ${JAVAC} ]; then \ - ${ECHO_MSG} ">> Error: cannot find ${JAVAC}."; \ - exit 1; \ - fi -.endif - -# If X11 is not used, skip the gs application. -.if defined(WITHOUT_X11) - @${ECHO_CMD} "WITHOUT_X11 defined" > ${WRKSRC}/lib/gs/SKIP -.endif - -# If ODBC is not used, skip the odbc application. -.if defined(WITHOUT_ODBC) - @${ECHO_CMD} "WITHOUT_ODBC defined" > ${WRKSRC}/lib/odbc/SKIP -.endif - -# Install documentation. (HTML docs need to be in same dir as the -# rest, not in share/doc/erlang as it should, because of relative -# links in the documentation. -post-install: - @${LN} -sf ${PREFIX}/lib/erlang/lib/erl_interface-*/bin/erl_call ${PREFIX}/bin/erl_call - @for SECTION in 1 3 4 6; do \ - ${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \ - -C ${PREFIX}/lib/erlang \ - "man/man$${SECTION}/*.$${SECTION}" || ${TRUE}; \ - done - @${RM} -rf ${PREFIX}/lib/erlang/man/cat? -.if ${PORT_OPTIONS:MDOCS} - @${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \ - -C ${PREFIX}/lib/erlang - @${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \ - ${PREFIX}/lib/erlang/lib/dialyzer-*/doc/ - - @${MKDIR} ${PREFIX}/share/doc/erlang -.for FILE in ${DOC_DISTFILES} - @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$(expr ${FILE} : '\([^:]*\)') ${PREFIX}/share/doc/erlang -.endfor -.endif - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang - @${CHMOD} -R o+rX-w,g+rX-w ${PREFIX}/lib/erlang - -# All non-library files. - - @cd ${PREFIX}; ${FIND} lib/erlang/* -type d -empty \ - | ${GREP} -v "^lib/erlang/lib" \ - | ${SORT} \ - | ${SED} -e 's#^#@exec ${MKDIR} %D/#g' \ - > ${ERLANG_PLIST} - - @cd ${PREFIX}; ${FIND} lib/erlang/* -type f -o -type l \ - | ${GREP} -v "^lib/erlang/man" \ - | ${GREP} -v "^lib/erlang/lib" \ - | ${SORT} \ - >> ${ERLANG_PLIST} - -# Stock OTP libraries. - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX}; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ - && ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \ - done | ${SORT} >> ${ERLANG_PLIST} - -# Stock OTP library directories. - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX}; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ - && ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \ - | ${SED} -e 's#^#@exec ${MKDIR} %D/#g'; \ - done | ${SORT} >> ${ERLANG_PLIST} - - @for LIBRARY in ${OTP_LIBS}; do \ - cd ${PREFIX}; ${TEST} -d lib/erlang/lib/$${LIBRARY} \ - && ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ - | ${SED} -e 's/^/@dirrm /g'; \ - done | ${SORT} -r >> ${ERLANG_PLIST} - -# Other directories. - - @cd ${PREFIX}; ${FIND} lib/erlang/* -type d | ${SORT} -r \ - | ${GREP} -v "^lib/erlang/man" \ - | ${GREP} -v "^lib/erlang/lib" \ - | ${SED} -e 's/^/@dirrm /g' \ - >> ${ERLANG_PLIST} - - @${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script - @${ECHO_CMD} "/Insert PLIST here" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "d" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "r ${ERLANG_PLIST}" >> ${WRKDIR}/ex.script - @${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script - @cd ${WRKDIR}; ex < ex.script - @${CAT} ${PKGMESSAGE} - -buildplt: - @${ECHO_CMD} ===================================================== - @${ECHO_CMD} WARNING: building a full PLT may literally take hours - @${ECHO_CMD} - @${ECHO_CMD} You may wish to settle for the standard PLT built by - @${ECHO_CMD} dialyzer on the first run. - @${ECHO_CMD} ===================================================== - @cd ${PREFIX}/lib/erlang/lib; ${PREFIX}/bin/dialyzer --verbose --build_plt --output_plt ${HOME}/.dialyzer_plt -c $$(find ${OTP_LIBS} -name ebin -maxdepth 1) || true - -.include "Makefile.lib" -.include "Makefile.man" - -.include <bsd.port.post.mk> diff --git a/lang/erlang14/Makefile.lib b/lang/erlang14/Makefile.lib deleted file mode 100644 index 87e3ec454187..000000000000 --- a/lang/erlang14/Makefile.lib +++ /dev/null @@ -1,59 +0,0 @@ -# $FreeBSD$ - -TOOLS_VSN= 2.6.6.5 -OTP_LIBS= appmon-2.1.13 \ - asn1-1.6.18 \ - common_test-1.5.5 \ - compiler-4.7.5 \ - cosEvent-2.1.11 \ - cosEventDomain-1.1.11 \ - cosFileTransfer-1.1.12 \ - cosNotification-1.1.17 \ - cosProperty-1.1.14 \ - cosTime-1.1.11 \ - cosTransactions-1.2.11 \ - crypto-2.0.4 \ - debugger-3.2.6 \ - dialyzer-2.4.4 \ - diameter-0.10 \ - docbuilder-0.9.8.11 \ - edoc-0.7.9 \ - erl_docgen-0.2.6 \ - erl_interface-3.7.5 \ - erts-5.8.5 \ - et-1.4.4 \ - eunit-2.2.1 \ - gs-1.5.14 \ - hipe-3.8.1 \ - ic-4.2.27 \ - inets-5.7.1 \ - inviso-0.6.2 \ - jinterface-1.5.4 \ - kernel-2.14.5 \ - megaco-3.15.1.1 \ - mnesia-4.5 \ - observer-0.9.10 \ - odbc-2.10.11 \ - orber-3.6.22 \ - os_mon-2.2.7 \ - otp_mibs-1.0.6 \ - parsetools-2.0.6 \ - percept-0.8.6 \ - pman-2.7.1 \ - public_key-0.13 \ - reltool-0.5.7 \ - runtime_tools-1.8.6 \ - sasl-2.1.10 \ - snmp-4.21.1 \ - ssh-2.0.8 \ - ssl-4.1.6 \ - stdlib-1.17.5 \ - syntax_tools-1.6.7.1 \ - test_server-3.4.5 \ - toolbar-1.4.2 \ - tools-2.6.6.5 \ - tv-2.1.4.7 \ - typer-0.9.2 \ - webtool-0.8.9 \ - wx-0.99 \ - xmerl-1.2.10 diff --git a/lang/erlang14/Makefile.man b/lang/erlang14/Makefile.man deleted file mode 100644 index 3cc1e56e6630..000000000000 --- a/lang/erlang14/Makefile.man +++ /dev/null @@ -1,623 +0,0 @@ -# $FreeBSD$ - -MAN1= ct_run.1 \ - diameter_compile.1 \ - epmd.1 \ - erl.1 \ - erl_call.1 \ - erlc.1 \ - erlsrv.1 \ - escript.1 \ - run_erl.1 \ - snmpc.1 \ - start.1 \ - start_erl.1 \ - start_webtool.1 \ - werl.1 - -MAN3= CosEventChannelAdmin.3 \ - CosEventChannelAdmin_ConsumerAdmin.3 \ - CosEventChannelAdmin_EventChannel.3 \ - CosEventChannelAdmin_ProxyPullConsumer.3 \ - CosEventChannelAdmin_ProxyPullSupplier.3 \ - CosEventChannelAdmin_ProxyPushConsumer.3 \ - CosEventChannelAdmin_ProxyPushSupplier.3 \ - CosEventChannelAdmin_SupplierAdmin.3 \ - CosEventDomainAdmin.3 \ - CosEventDomainAdmin_EventDomain.3 \ - CosEventDomainAdmin_EventDomainFactory.3 \ - CosFileTransfer_Directory.3 \ - CosFileTransfer_File.3 \ - CosFileTransfer_FileIterator.3 \ - CosFileTransfer_FileTransferSession.3 \ - CosFileTransfer_VirtualFileSystem.3 \ - CosNaming.3 \ - CosNaming_BindingIterator.3 \ - CosNaming_NamingContext.3 \ - CosNaming_NamingContextExt.3 \ - CosNotification.3 \ - CosNotification_AdminPropertiesAdmin.3 \ - CosNotification_QoSAdmin.3 \ - CosNotifyChannelAdmin_ConsumerAdmin.3 \ - CosNotifyChannelAdmin_EventChannel.3 \ - CosNotifyChannelAdmin_EventChannelFactory.3 \ - CosNotifyChannelAdmin_ProxyConsumer.3 \ - CosNotifyChannelAdmin_ProxyPullConsumer.3 \ - CosNotifyChannelAdmin_ProxyPullSupplier.3 \ - CosNotifyChannelAdmin_ProxyPushConsumer.3 \ - CosNotifyChannelAdmin_ProxyPushSupplier.3 \ - CosNotifyChannelAdmin_ProxySupplier.3 \ - CosNotifyChannelAdmin_SequenceProxyPullConsumer.3 \ - CosNotifyChannelAdmin_SequenceProxyPullSupplier.3 \ - CosNotifyChannelAdmin_SequenceProxyPushConsumer.3 \ - CosNotifyChannelAdmin_SequenceProxyPushSupplier.3 \ - CosNotifyChannelAdmin_StructuredProxyPullConsumer.3 \ - CosNotifyChannelAdmin_StructuredProxyPullSupplier.3 \ - CosNotifyChannelAdmin_StructuredProxyPushConsumer.3 \ - CosNotifyChannelAdmin_StructuredProxyPushSupplier.3 \ - CosNotifyChannelAdmin_SupplierAdmin.3 \ - CosNotifyComm_NotifyPublish.3 \ - CosNotifyComm_NotifySubscribe.3 \ - CosNotifyFilter_Filter.3 \ - CosNotifyFilter_FilterAdmin.3 \ - CosNotifyFilter_FilterFactory.3 \ - CosNotifyFilter_MappingFilter.3 \ - CosPropertyService_PropertiesIterator.3 \ - CosPropertyService_PropertyNamesIterator.3 \ - CosPropertyService_PropertySet.3 \ - CosPropertyService_PropertySetDef.3 \ - CosPropertyService_PropertySetDefFactory.3 \ - CosPropertyService_PropertySetFactory.3 \ - CosTime_TIO.3 \ - CosTime_TimeService.3 \ - CosTime_UTO.3 \ - CosTimerEvent_TimerEventHandler.3 \ - CosTimerEvent_TimerEventService.3 \ - CosTransactions_Control.3 \ - CosTransactions_Coordinator.3 \ - CosTransactions_RecoveryCoordinator.3 \ - CosTransactions_Resource.3 \ - CosTransactions_SubtransactionAwareResource.3 \ - CosTransactions_Terminator.3 \ - CosTransactions_TransactionFactory.3 \ - Module_Interface.3 \ - alarm_handler.3 \ - any.3 \ - application.3 \ - appmon.3 \ - array.3 \ - asn1ct.3 \ - asn1rt.3 \ - auth.3 \ - base64.3 \ - beam_lib.3 \ - binary.3 \ - c.3 \ - calendar.3 \ - code.3 \ - compile.3 \ - corba.3 \ - corba_object.3 \ - cosEventApp.3 \ - cosEventDomainApp.3 \ - cosFileTransferApp.3 \ - cosNotificationApp.3 \ - cosProperty.3 \ - cosTime.3 \ - cosTransactions.3 \ - cover.3 \ - cprof.3 \ - cpu_sup.3 \ - crashdump.3 \ - crypto.3 \ - ct.3 \ - ct_cover.3 \ - ct_ftp.3 \ - ct_hooks.3 \ - ct_master.3 \ - ct_rpc.3 \ - ct_slave.3 \ - ct_snmp.3 \ - ct_ssh.3 \ - ct_telnet.3 \ - dbg.3 \ - debugger.3 \ - dets.3 \ - dialyzer.3 \ - diameter.3 \ - diameter_app.3 \ - diameter_sctp.3 \ - diameter_tcp.3 \ - diameter_transport.3 \ - dict.3 \ - digraph.3 \ - digraph_utils.3 \ - disk_log.3 \ - disksup.3 \ - docb_gen.3 \ - docb_transform.3 \ - docb_xml_check.3 \ - driver_entry.3 \ - edoc.3 \ - edoc_doclet.3 \ - edoc_extract.3 \ - edoc_layout.3 \ - edoc_lib.3 \ - edoc_run.3 \ - egd.3 \ - ei.3 \ - ei_connect.3 \ - epp.3 \ - epp_dodger.3 \ - eprof.3 \ - erl_boot_server.3 \ - erl_comment_scan.3 \ - erl_connect.3 \ - erl_ddll.3 \ - erl_driver.3 \ - erl_error.3 \ - erl_eterm.3 \ - erl_eval.3 \ - erl_expand_records.3 \ - erl_format.3 \ - erl_global.3 \ - erl_id_trans.3 \ - erl_internal.3 \ - erl_lint.3 \ - erl_malloc.3 \ - erl_marshal.3 \ - erl_nif.3 \ - erl_parse.3 \ - erl_pp.3 \ - erl_prettypr.3 \ - erl_prim_loader.3 \ - erl_prim_loader_stub.3 \ - erl_recomment.3 \ - erl_scan.3 \ - erl_set_memory_block.3 \ - erl_syntax.3 \ - erl_syntax_lib.3 \ - erl_tar.3 \ - erl_tidy.3 \ - erlang.3 \ - erlang_mode.3 \ - erlang_stub.3 \ - error_handler.3 \ - error_logger.3 \ - erts_alloc.3 \ - erts_alloc_config.3 \ - et.3 \ - et_collector.3 \ - et_selector.3 \ - et_viewer.3 \ - etop.3 \ - ets.3 \ - eunit.3 \ - eunit_surefire.3 \ - file.3 \ - file_sorter.3 \ - filelib.3 \ - filename.3 \ - fixed.3 \ - fprof.3 \ - ftp.3 \ - gb_sets.3 \ - gb_trees.3 \ - gen_event.3 \ - gen_fsm.3 \ - gen_sctp.3 \ - gen_server.3 \ - gen_tcp.3 \ - gen_udp.3 \ - gl.3 \ - global.3 \ - global_group.3 \ - glu.3 \ - gs.3 \ - heart.3 \ - httpc.3 \ - httpd.3 \ - httpd_conf.3 \ - httpd_socket.3 \ - httpd_util.3 \ - i.3 \ - ic.3 \ - ic_c_protocol.3 \ - ic_clib.3 \ - igor.3 \ - inet.3 \ - inet_res.3 \ - inets.3 \ - init.3 \ - init_stub.3 \ - instrument.3 \ - int.3 \ - interceptors.3 \ - inviso.3 \ - inviso_as_lib.3 \ - inviso_lfm.3 \ - inviso_lfm_tpfreader.3 \ - inviso_rt.3 \ - inviso_rt_meta.3 \ - io.3 \ - io_lib.3 \ - lcnt.3 \ - leex.3 \ - lib.3 \ - lists.3 \ - lname.3 \ - lname_component.3 \ - log_mf_h.3 \ - make.3 \ - math.3 \ - megaco.3 \ - megaco_codec_meas.3 \ - megaco_codec_mstone1.3 \ - megaco_codec_mstone2.3 \ - megaco_codec_transform.3 \ - megaco_edist_compress.3 \ - megaco_encoder.3 \ - megaco_flex_scanner.3 \ - megaco_tcp.3 \ - megaco_transport.3 \ - megaco_udp.3 \ - megaco_user.3 \ - memsup.3 \ - mnesia.3 \ - mnesia_frag_hash.3 \ - mnesia_registry.3 \ - mod_alias.3 \ - mod_auth.3 \ - mod_esi.3 \ - mod_security.3 \ - ms_transform.3 \ - net_adm.3 \ - net_kernel.3 \ - nteventlog.3 \ - odbc.3 \ - old_ssl.3 \ - orber.3 \ - orber_acl.3 \ - orber_diagnostics.3 \ - orber_ifr.3 \ - orber_tc.3 \ - orddict.3 \ - ordsets.3 \ - os.3 \ - os_mon_mib.3 \ - os_sup.3 \ - otp_mib.3 \ - overload.3 \ - packages.3 \ - percept.3 \ - percept_profile.3 \ - pg.3 \ - pg2.3 \ - pman.3 \ - pool.3 \ - prettypr.3 \ - proc_lib.3 \ - proplists.3 \ - public_key.3 \ - qlc.3 \ - queue.3 \ - random.3 \ - rb.3 \ - re.3 \ - regexp.3 \ - registry.3 \ - release_handler.3 \ - reltool.3 \ - rpc.3 \ - seq_trace.3 \ - sets.3 \ - shell.3 \ - shell_default.3 \ - slave.3 \ - snmp.3 \ - snmp_community_mib.3 \ - snmp_framework_mib.3 \ - snmp_generic.3 \ - snmp_index.3 \ - snmp_notification_mib.3 \ - snmp_pdus.3 \ - snmp_standard_mib.3 \ - snmp_target_mib.3 \ - snmp_user_based_sm_mib.3 \ - snmp_view_based_acm_mib.3 \ - snmpa.3 \ - snmpa_conf.3 \ - snmpa_discovery_handler.3 \ - snmpa_error.3 \ - snmpa_error_io.3 \ - snmpa_error_logger.3 \ - snmpa_error_report.3 \ - snmpa_local_db.3 \ - snmpa_mpd.3 \ - snmpa_network_interface.3 \ - snmpa_network_interface_filter.3 \ - snmpa_notification_delivery_info_receiver.3 \ - snmpa_notification_filter.3 \ - snmpa_supervisor.3 \ - snmpc.3 \ - snmpm.3 \ - snmpm_conf.3 \ - snmpm_mpd.3 \ - snmpm_network_interface.3 \ - snmpm_network_interface_filter.3 \ - snmpm_user.3 \ - sofs.3 \ - ssh.3 \ - ssh_channel.3 \ - ssh_connection.3 \ - ssh_sftp.3 \ - ssh_sftpd.3 \ - ssl.3 \ - ssl_session_cache_api.3 \ - string.3 \ - supervisor.3 \ - supervisor_bridge.3 \ - sys.3 \ - systools.3 \ - tags.3 \ - test_server.3 \ - test_server_ctrl.3 \ - tftp.3 \ - timer.3 \ - toolbar.3 \ - ttb.3 \ - tv.3 \ - unicode.3 \ - unix_telnet.3 \ - user.3 \ - webtool.3 \ - win32reg.3 \ - wrap_log_reader.3 \ - wx.3 \ - wxAcceleratorEntry.3 \ - wxAcceleratorTable.3 \ - wxArtProvider.3 \ - wxAuiDockArt.3 \ - wxAuiManager.3 \ - wxAuiManagerEvent.3 \ - wxAuiNotebook.3 \ - wxAuiNotebookEvent.3 \ - wxAuiPaneInfo.3 \ - wxAuiTabArt.3 \ - wxBitmap.3 \ - wxBitmapButton.3 \ - wxBitmapDataObject.3 \ - wxBoxSizer.3 \ - wxBrush.3 \ - wxBufferedDC.3 \ - wxBufferedPaintDC.3 \ - wxButton.3 \ - wxCalendarCtrl.3 \ - wxCalendarDateAttr.3 \ - wxCalendarEvent.3 \ - wxCaret.3 \ - wxCheckBox.3 \ - wxCheckListBox.3 \ - wxChildFocusEvent.3 \ - wxChoice.3 \ - wxChoicebook.3 \ - wxClientDC.3 \ - wxClipboard.3 \ - wxCloseEvent.3 \ - wxColourData.3 \ - wxColourDialog.3 \ - wxColourPickerCtrl.3 \ - wxColourPickerEvent.3 \ - wxComboBox.3 \ - wxCommandEvent.3 \ - wxContextMenuEvent.3 \ - wxControl.3 \ - wxControlWithItems.3 \ - wxCursor.3 \ - wxDC.3 \ - wxDataObject.3 \ - wxDateEvent.3 \ - wxDatePickerCtrl.3 \ - wxDialog.3 \ - wxDirDialog.3 \ - wxDirPickerCtrl.3 \ - wxDisplayChangedEvent.3 \ - wxEraseEvent.3 \ - wxEvent.3 \ - wxEvtHandler.3 \ - wxFileDataObject.3 \ - wxFileDialog.3 \ - wxFileDirPickerEvent.3 \ - wxFilePickerCtrl.3 \ - wxFindReplaceData.3 \ - wxFindReplaceDialog.3 \ - wxFlexGridSizer.3 \ - wxFocusEvent.3 \ - wxFont.3 \ - wxFontData.3 \ - wxFontDialog.3 \ - wxFontPickerCtrl.3 \ - wxFontPickerEvent.3 \ - wxFrame.3 \ - wxGBSizerItem.3 \ - wxGLCanvas.3 \ - wxGauge.3 \ - wxGenericDirCtrl.3 \ - wxGraphicsBrush.3 \ - wxGraphicsContext.3 \ - wxGraphicsFont.3 \ - wxGraphicsMatrix.3 \ - wxGraphicsObject.3 \ - wxGraphicsPath.3 \ - wxGraphicsPen.3 \ - wxGraphicsRenderer.3 \ - wxGrid.3 \ - wxGridBagSizer.3 \ - wxGridCellAttr.3 \ - wxGridCellBoolEditor.3 \ - wxGridCellBoolRenderer.3 \ - wxGridCellChoiceEditor.3 \ - wxGridCellEditor.3 \ - wxGridCellFloatEditor.3 \ - wxGridCellFloatRenderer.3 \ - wxGridCellNumberEditor.3 \ - wxGridCellNumberRenderer.3 \ - wxGridCellRenderer.3 \ - wxGridCellStringRenderer.3 \ - wxGridCellTextEditor.3 \ - wxGridEvent.3 \ - wxGridSizer.3 \ - wxHelpEvent.3 \ - wxHtmlEasyPrinting.3 \ - wxHtmlLinkEvent.3 \ - wxHtmlWindow.3 \ - wxIcon.3 \ - wxIconBundle.3 \ - wxIconizeEvent.3 \ - wxIdleEvent.3 \ - wxImage.3 \ - wxImageList.3 \ - wxJoystickEvent.3 \ - wxKeyEvent.3 \ - wxLayoutAlgorithm.3 \ - wxListBox.3 \ - wxListCtrl.3 \ - wxListEvent.3 \ - wxListItem.3 \ - wxListItemAttr.3 \ - wxListView.3 \ - wxListbook.3 \ - wxLogNull.3 \ - wxMDIChildFrame.3 \ - wxMDIClientWindow.3 \ - wxMDIParentFrame.3 \ - wxMask.3 \ - wxMaximizeEvent.3 \ - wxMemoryDC.3 \ - wxMenu.3 \ - wxMenuBar.3 \ - wxMenuEvent.3 \ - wxMenuItem.3 \ - wxMessageDialog.3 \ - wxMiniFrame.3 \ - wxMirrorDC.3 \ - wxMouseCaptureChangedEvent.3 \ - wxMouseEvent.3 \ - wxMoveEvent.3 \ - wxMultiChoiceDialog.3 \ - wxNavigationKeyEvent.3 \ - wxNcPaintEvent.3 \ - wxNotebook.3 \ - wxNotebookEvent.3 \ - wxNotifyEvent.3 \ - wxPageSetupDialog.3 \ - wxPageSetupDialogData.3 \ - wxPaintDC.3 \ - wxPaintEvent.3 \ - wxPalette.3 \ - wxPaletteChangedEvent.3 \ - wxPanel.3 \ - wxPasswordEntryDialog.3 \ - wxPen.3 \ - wxPickerBase.3 \ - wxPostScriptDC.3 \ - wxPreviewCanvas.3 \ - wxPreviewControlBar.3 \ - wxPreviewFrame.3 \ - wxPrintData.3 \ - wxPrintDialog.3 \ - wxPrintDialogData.3 \ - wxPrintPreview.3 \ - wxPrinter.3 \ - wxPrintout.3 \ - wxProgressDialog.3 \ - wxQueryNewPaletteEvent.3 \ - wxRadioBox.3 \ - wxRadioButton.3 \ - wxRegion.3 \ - wxSashEvent.3 \ - wxSashLayoutWindow.3 \ - wxSashWindow.3 \ - wxScreenDC.3 \ - wxScrollBar.3 \ - wxScrollEvent.3 \ - wxScrollWinEvent.3 \ - wxScrolledWindow.3 \ - wxSetCursorEvent.3 \ - wxShowEvent.3 \ - wxSingleChoiceDialog.3 \ - wxSizeEvent.3 \ - wxSizer.3 \ - wxSizerFlags.3 \ - wxSizerItem.3 \ - wxSlider.3 \ - wxSpinButton.3 \ - wxSpinCtrl.3 \ - wxSpinEvent.3 \ - wxSplashScreen.3 \ - wxSplitterEvent.3 \ - wxSplitterWindow.3 \ - wxStaticBitmap.3 \ - wxStaticBox.3 \ - wxStaticBoxSizer.3 \ - wxStaticLine.3 \ - wxStaticText.3 \ - wxStatusBar.3 \ - wxStdDialogButtonSizer.3 \ - wxStyledTextCtrl.3 \ - wxStyledTextEvent.3 \ - wxSysColourChangedEvent.3 \ - wxSystemSettings.3 \ - wxTextAttr.3 \ - wxTextCtrl.3 \ - wxTextDataObject.3 \ - wxTextEntryDialog.3 \ - wxToggleButton.3 \ - wxToolBar.3 \ - wxToolTip.3 \ - wxToolbook.3 \ - wxTopLevelWindow.3 \ - wxTreeCtrl.3 \ - wxTreeEvent.3 \ - wxTreebook.3 \ - wxUpdateUIEvent.3 \ - wxWindow.3 \ - wxWindowCreateEvent.3 \ - wxWindowDC.3 \ - wxWindowDestroyEvent.3 \ - wxXmlResource.3 \ - wx_misc.3 \ - wx_object.3 \ - xmerl.3 \ - xmerl_eventp.3 \ - xmerl_sax_parser.3 \ - xmerl_scan.3 \ - xmerl_xpath.3 \ - xmerl_xs.3 \ - xmerl_xsd.3 \ - xref.3 \ - yecc.3 \ - zip.3 \ - zlib.3 \ - zlib_stub.3 - -MAN4= app.4 \ - appup.4 \ - config.4 \ - diameter_dict.4 \ - rel.4 \ - relup.4 \ - script.4 - -MAN6= common_test.6 \ - crypto.6 \ - docbuilder.6 \ - kernel.6 \ - observer.6 \ - os_mon.6 \ - runtime_tools.6 \ - sasl.6 \ - snmp.6 \ - ssl.6 \ - stdlib.6 \ - test_server.6 diff --git a/lang/erlang14/distinfo b/lang/erlang14/distinfo deleted file mode 100644 index fc115c9a2940..000000000000 --- a/lang/erlang14/distinfo +++ /dev/null @@ -1,18 +0,0 @@ -SHA256 (erlang/otp_src_R14B04.tar.gz) = 099b35910e635b9148ac90f70fd9dd592920ed02406eb26c349efd8d1e959b6e -SIZE (erlang/otp_src_R14B04.tar.gz) = 70773703 -SHA256 (erlang/otp_doc_man_R14B04.tar.gz) = 8514511e8a8ac3f3f67db06f333548edf283d9a8afcbc9e9eeca7b1af9a107da -SIZE (erlang/otp_doc_man_R14B04.tar.gz) = 1117663 -SHA256 (erlang/otp_doc_html_R14B04.tar.gz) = 3b066d23d82667e2d0477856b22ea94262d65baf7366babe1c10d8bddc28ab5a -SIZE (erlang/otp_doc_html_R14B04.tar.gz) = 28816088 -SHA256 (erlang/armstrong_thesis_2003.pdf) = da585b914eb07350e2d6f727db5eb0fb1551f49fc1270f7d4dc079f2c8c1ab7a -SIZE (erlang/armstrong_thesis_2003.pdf) = 859249 -SHA256 (erlang/bjarnelic.pdf) = 9544d4af5cea324e5c9cf77e670d9561ad61ddc240cdb5c2afecebc0a3d7429b -SIZE (erlang/bjarnelic.pdf) = 488043 -SHA256 (erlang/erlang-book-part1.pdf) = ef2fb9d15d35f3b1b602c8578e48618597477f9cfab2d103dc2e22372c46ca0a -SIZE (erlang/erlang-book-part1.pdf) = 883639 -SHA256 (erlang/master_thesis_patterns.pdf) = b390fd59060fb944c78bceed781c7ad3795d4f9fbe86d391bccc479828552b43 -SIZE (erlang/master_thesis_patterns.pdf) = 422457 -SHA256 (erlang/mnesia_overview.pdf) = f07f9edd4ba865a1c50647dd6fa4a8f49277f8f3bef4d521c06fd90293717032 -SIZE (erlang/mnesia_overview.pdf) = 150266 -SHA256 (erlang/programming_rules.pdf) = b95f8851004832b044e064c12976a422613ece897e98308a27ee8b66738b4502 -SIZE (erlang/programming_rules.pdf) = 77025 diff --git a/lang/erlang14/files/epmd.in b/lang/erlang14/files/epmd.in deleted file mode 100644 index acf9c58443bd..000000000000 --- a/lang/erlang14/files/epmd.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: epmd -# REQUIRE: LOGIN -# -# Add the following line to /etc/rc.conf to enable epmd: -# -# epmd_enable="YES" -# - -epmd_enable=${epmd_enable:-"NO"} - -. /etc/rc.subr - -name=epmd -rcvar=epmd_enable - -procname=%%PREFIX%%/bin/epmd -start_cmd="%%PREFIX%%/bin/epmd -daemon" -stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null" - -load_rc_config ${name} -run_rc_command "$1" diff --git a/lang/erlang14/files/patch-erts-emulator-Makefile.in b/lang/erlang14/files/patch-erts-emulator-Makefile.in deleted file mode 100644 index 02371ab44deb..000000000000 --- a/lang/erlang14/files/patch-erts-emulator-Makefile.in +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- erts/emulator/Makefile.in.orig -+++ erts/emulator/Makefile.in -@@ -544,7 +546,7 @@ - endif - - $(OBJDIR)/%.o: beam/%.c -- $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@ -+ $(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@ - - else - diff --git a/lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c b/lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c deleted file mode 100644 index 889102cce13e..000000000000 --- a/lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c +++ /dev/null @@ -1,26 +0,0 @@ - -$FreeBSD$ - ---- erts/emulator/drivers/common/inet_drv.c.orig -+++ erts/emulator/drivers/common/inet_drv.c -@@ -3455,17 +3455,9 @@ - /* Check the size of SCTP AssocID -- currently both this driver and the - Erlang part require 32 bit: */ - ASSERT(sizeof(sctp_assoc_t)==ASSOC_ID_LEN); --# ifndef LIBSCTP --# error LIBSCTP not defined --# endif -- if (erts_sys_ddll_open_noext(STRINGIFY(LIBSCTP), &h_libsctp, NULL) == 0) { -- void *ptr; -- if (erts_sys_ddll_sym(h_libsctp, "sctp_bindx", &ptr) == 0) { -- p_sctp_bindx = ptr; -- inet_init_sctp(); -- add_driver_entry(&sctp_inet_driver_entry); -- } -- } -+ p_sctp_bindx = sctp_bindx; -+ inet_init_sctp(); -+ add_driver_entry(&sctp_inet_driver_entry); - #endif - - /* remove the dummy inet driver */ diff --git a/lang/erlang14/files/patch-erts_etc_common_erlc.c b/lang/erlang14/files/patch-erts_etc_common_erlc.c deleted file mode 100644 index ae65f91225ca..000000000000 --- a/lang/erlang14/files/patch-erts_etc_common_erlc.c +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- erts/etc/common/erlc.c.orig -+++ erts/etc/common/erlc.c -@@ -186,6 +186,7 @@ - */ - - PUSH("-noinput"); -+ PUSH2("-smp", "disable"); - PUSH2("-mode", "minimal"); - PUSH2("-boot", "start_clean"); - PUSH3("-s", "erl_compile", "compile_cmdline"); diff --git a/lang/erlang14/files/patch-erts_etc_unix_run__erl.c b/lang/erlang14/files/patch-erts_etc_unix_run__erl.c deleted file mode 100644 index 451b3c3e66fe..000000000000 --- a/lang/erlang14/files/patch-erts_etc_unix_run__erl.c +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- erts/etc/unix/run_erl.c.orig -+++ erts/etc/unix/run_erl.c -@@ -69,9 +69,6 @@ - #ifdef HAVE_UTMP_H - # include <utmp.h> - #endif --#ifdef HAVE_UTIL_H --# include <util.h> --#endif - #ifdef HAVE_SYS_IOCTL_H - # include <sys/ioctl.h> - #endif diff --git a/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c b/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c deleted file mode 100644 index d8454c710f69..000000000000 --- a/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- lib/erl_interface/src/connect/ei_resolve.c.orig -+++ lib/erl_interface/src/connect/ei_resolve.c -@@ -621,7 +621,8 @@ - - return result; - #else -- return gethostbyname_r(name,hostp,buffer,buflen,h_errnop); -+ struct hostent *dummy; -+ return gethostbyname_r(name,hostp,buffer,buflen,&dummy,h_errnop); - #endif - #endif - #endif diff --git a/lang/erlang14/files/patch-lib_et_src_et__gs__contents__viewer.erl b/lang/erlang14/files/patch-lib_et_src_et__gs__contents__viewer.erl deleted file mode 100644 index a747941fac91..000000000000 --- a/lang/erlang14/files/patch-lib_et_src_et__gs__contents__viewer.erl +++ /dev/null @@ -1,13 +0,0 @@ - -$FreeBSD$ - ---- lib/et/src/et_gs_contents_viewer.erl.orig 2010-03-11 16:24:41.000000000 +0800 -+++ lib/et/src/et_gs_contents_viewer.erl 2010-03-11 16:24:53.000000000 +0800 -@@ -347,7 +347,6 @@ handle_info({gs, _Obj, keypress, _, [Key - 'Caps_Lock' -> - {noreply, S}; - _ -> -- io:format("~p: ignored: ~p~n", [?MODULE, KeySym]), - {noreply, S} - end; - handle_info({gs, _Obj, configure, [], [W, H | _]}, S) -> diff --git a/lang/erlang14/files/patch-lib_et_src_et__gs__viewer.erl b/lang/erlang14/files/patch-lib_et_src_et__gs__viewer.erl deleted file mode 100644 index 8f0fe420eae5..000000000000 --- a/lang/erlang14/files/patch-lib_et_src_et__gs__viewer.erl +++ /dev/null @@ -1,15 +0,0 @@ - -$FreeBSD$ - ---- lib/et/src/et_gs_viewer.erl.orig 2010-03-11 16:26:59.000000000 +0800 -+++ lib/et/src/et_gs_viewer.erl 2010-03-11 16:27:16.000000000 +0800 -@@ -855,8 +855,7 @@ close_all_others(S) -> - noreply(S). - - click_error(Click, S) -> -- gs:config(S#state.canvas, beep), -- io:format("~p: ignored: ~p~n", [?MODULE, Click]). -+ gs:config(S#state.canvas, beep). - - %%%---------------------------------------------------------------------- - %%% Clone viewer diff --git a/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl b/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl deleted file mode 100644 index 1a44ce423f9d..000000000000 --- a/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl +++ /dev/null @@ -1,87 +0,0 @@ - -$FreeBSD$ - ---- lib/gs/src/tool_utils.erl.orig -+++ lib/gs/src/tool_utils.erl -@@ -27,6 +27,9 @@ - -export([file_dialog/1]). - -export([notify/2, confirm/2, confirm_yesno/2, request/2]). - -+%% Browser executable list (openURL command line protocol required) -+-define(BROWSERS, ["netscape", "mozilla", "MozillaFirebird", "opera", "firefox", "seamonkey"]). -+ - %%---------------------------------------------------------------------- - %% open_help(GS, File) - %% GS = gsobj() (GS root object returned by gs:start/0,1) -@@ -67,7 +70,7 @@ - {unix,Type} -> - case Type of - darwin -> "open " ++ File; -- _Else -> "netscape -remote \"openURL(file:" ++ File ++ ")\"" -+ _Else -> unix_url_command("file:" ++ File) - end; - {win32,_AnyType} -> - "start " ++ filename:nativename(File); -@@ -82,7 +85,7 @@ - {unix,Type} -> - case Type of - darwin -> "open " ++ File; -- _Else -> "netscape -remote \"openURL(file:" ++ File ++ ")\"" -+ _Else -> unix_url_command("file:" ++ File) - end; - {win32,_AnyType} -> - "netscape.exe -h " ++ regexp:gsub(File,"\\\\","/"); -@@ -342,3 +345,53 @@ - [Last]; - insert_newlines(Other) -> - Other. -+ -+%% find_browser(BrowserList) => string() | false -+%% BrowserList - [string()] -+%% Given a list of basenames, find the first available executable. -+ -+find_browser([]) -> -+ false; -+ -+find_browser([H | T]) -> -+ case os:find_executable(H) of -+ false -> -+ find_browser(T); -+ Browser -> -+ Browser -+ end. -+ -+%% unix_url_command(URL) => string() -+%% URL - string() -+%% Open an URL, using a browser which supports the openURL command -+%% line protocol. If no browser is found, the empty string will be -+%% returned. -+ -+unix_url_command(URL) -> -+ Template = "BROWSER -remote \"openURL(" ++ URL ++ ")\" || BROWSER " ++ URL ++ "&", -+ -+ case os:getenv("BROWSER") of -+ false -> -+ %% look for a compatible browser -+ case find_browser(?BROWSERS) of -+ false -> -+ ""; -+ Browser -> -+ case regexp:gsub(Template, "BROWSER", Browser) of -+ {ok, Command, 0} -> -+ %% Template does not contain "BROWSER" placeholder -+ ""; -+ {ok, Command, _} -> -+ Command -+ end -+ end; -+ -+ Value -> -+ case regexp:gsub(Template, "BROWSER", Value) of -+ {ok, Command2, 0} -> -+ %% no placeholder -+ ""; -+ {ok, Command2, _} -> -+ Command2 -+ end -+ end. diff --git a/lang/erlang14/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang14/files/patch-lib_stdlib_src_calendar.erl deleted file mode 100644 index 1ab956512316..000000000000 --- a/lang/erlang14/files/patch-lib_stdlib_src_calendar.erl +++ /dev/null @@ -1,29 +0,0 @@ - -$FreeBSD$ - ---- lib/stdlib/src/calendar.erl.orig -+++ lib/stdlib/src/calendar.erl -@@ -215,11 +215,19 @@ - - -spec local_time_to_universal_time_dst(t_datetime1970()) -> [t_datetime1970()]. - local_time_to_universal_time_dst(DateTime) -> -- UtDst = erlang:localtime_to_universaltime(DateTime, true), -- Ut = erlang:localtime_to_universaltime(DateTime, false), - %% Reverse check the universal times -- LtDst = erlang:universaltime_to_localtime(UtDst), -- Lt = erlang:universaltime_to_localtime(Ut), -+ {UtDst, LtDst} = -+ try -+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true), -+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)} -+ catch error:badarg -> {error, error} -+ end, -+ {Ut, Lt} = -+ try -+ Ut0 = erlang:localtime_to_universaltime(DateTime, false), -+ {Ut0, erlang:universaltime_to_localtime(Ut0)} -+ catch error:badarg -> {error, error} -+ end, - %% Return the valid universal times - case {LtDst,Lt} of - {DateTime,DateTime} when UtDst =/= Ut -> diff --git a/lang/erlang14/files/pkg-message.in b/lang/erlang14/files/pkg-message.in deleted file mode 100644 index a6f9807b058b..000000000000 --- a/lang/erlang14/files/pkg-message.in +++ /dev/null @@ -1,11 +0,0 @@ -=========================================================================== -Installation tips: - -You can find an emacs mode for Erlang here: - - %%LOCALBASE%%/lib/erlang/lib/tools-%%TOOLS_VSN%%/emacs - -You may wish to add the following line to /etc/manpath.config: - -OPTIONAL_MANPATH %%LOCALBASE%%/lib/erlang/man -=========================================================================== diff --git a/lang/erlang14/pkg-descr b/lang/erlang14/pkg-descr deleted file mode 100644 index 2627e5e60209..000000000000 --- a/lang/erlang14/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Erlang is a small concurrent functional programming language -developed by Ericsson. It is being used by Ericsson as a systems -programming language for large concurrent distributed systems. - -WWW: http://www.erlang.org/ diff --git a/lang/erlang14/pkg-plist b/lang/erlang14/pkg-plist deleted file mode 100644 index 4ba9e69b47e5..000000000000 --- a/lang/erlang14/pkg-plist +++ /dev/null @@ -1,27 +0,0 @@ -bin/dialyzer -bin/epmd -bin/erl -bin/erl_call -bin/erlc -bin/escript -bin/run_erl -bin/run_test -bin/to_erl -bin/typer -@comment Insert PLIST here -@comment -=[ begin PLIST.lib-erlang ]=- -@comment -=[ end PLIST.lib-erlang ]=- -@dirrm lib/erlang/man/man6 -@dirrm lib/erlang/man/man4 -@dirrm lib/erlang/man/man3 -@dirrm lib/erlang/man/man1 -@dirrm lib/erlang/man -@dirrmtry lib/erlang/lib -@dirrmtry lib/erlang -%%PORTDOCS%%%%DOCSDIR%%/armstrong_thesis_2003.pdf -%%PORTDOCS%%%%DOCSDIR%%/bjarnelic.pdf -%%PORTDOCS%%%%DOCSDIR%%/erlang-book-part1.pdf -%%PORTDOCS%%%%DOCSDIR%%/master_thesis_patterns.pdf -%%PORTDOCS%%%%DOCSDIR%%/mnesia_overview.pdf -%%PORTDOCS%%%%DOCSDIR%%/programming_rules.pdf -%%PORTDOCS%%@dirrm %%DOCSDIR%% |