summaryrefslogtreecommitdiff
path: root/lang/erlang14/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/erlang14/Makefile160
-rw-r--r--lang/erlang14/Makefile.lib43
-rw-r--r--lang/erlang14/Makefile.man316
3 files changed, 0 insertions, 519 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
deleted file mode 100644
index a2cdcad7805b..000000000000
--- a/lang/erlang14/Makefile
+++ /dev/null
@@ -1,160 +0,0 @@
-# New ports collection makefile for: erlang
-# Date created: 11 Dec 1998
-# Whom: ruslan@shevchenko.kiev.ua
-#
-# $FreeBSD$
-#
-
-PORTNAME= erlang
-PORTVERSION= r9c0
-PORTREVISION= 3
-PORTEPOCH= 1
-CATEGORIES= lang
-MASTER_SITES= ftp://ftp.erlang.org/pub/download/ \
- http://www.erlang.org/download/ \
- http://erlang.stacken.kth.se/download/ \
- http://www.csd.uu.se/ftp/mirror/erlang/download/
-DISTNAME= otp_src_R9C-0
-DIST_SUBDIR= erlang
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ERLANG_MAN} ${ERLANG_DOCS}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-PATCH_SITES= http://www.erlang.org/download/patches/
-PATCHFILES=
-PATCH_DIST_STRIP= -p1
-
-MAINTAINER= olgeni@FreeBSD.org
-COMMENT= A functional programming language from Ericsson
-
-# Set JAVABINDIR to where you have javac, if different from below
-JAVABINDIR?= ${LOCALBASE}/jdk1.4.2/bin
-JAVAPORT?= ${JAVABINDIR}/javac:${PORTSDIR}/java/jdk14
-
-ERLANG_MAN= otp_man_R9C-0.tar.gz
-.if !defined(NOPORTDOCS)
-ERLANG_DOCS= otp_html_R9C-0.tar.gz
-.endif
-
-USE_GMAKE= yes
-USE_PERL5= yes
-GNU_CONFIGURE= yes
-
-CONFIGURE_TARGET= # Empty
-CONFIGURE_ARGS+= --enable-threads --enable-hipe
-
-.if !defined(WITHOUT_X11)
-RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if !exists(${JAVABINDIR}/java)
-WITHOUT_JAVA= yes
-.endif
-
-.if !defined(WITHOUT_JAVA)
-# 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
-# JAVABINDIR is added to the PATH, using the *_ENV macros.
-
-BUILD_DEPENDS+= ${JAVAPORT}
-
-# Make sure JAVABINDIR is in the path
-CONFIGURE_ENV+= PATH=${PATH}:${JAVABINDIR}
-MAKE_ENV+= PATH=${PATH}:${JAVABINDIR}
-SCRIPT_ENV+= PATH=${PATH}:${JAVABINDIR}
-
-.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).
-
-NOMANCOMPRESS= yes
-
-MAN1PREFIX= ${PREFIX}/lib/erlang
-MAN3PREFIX= ${PREFIX}/lib/erlang
-MAN4PREFIX= ${PREFIX}/lib/erlang
-MAN6PREFIX= ${PREFIX}/lib/erlang
-
-# Workaround for a ./configure recursion bug which leads to INSTALL being
-# set to "../../../../[...]"
-post-patch:
- @cd ${WRKSRC} && ${CAT} ${FILESDIR}/post-patch-configure | ${PATCH}
-
-pre-configure:
-# Check if javac is really in ${JAVABINDIR}.
-.if !defined(WITHOUT_JAVA)
- @if [ ! -x ${JAVABINDIR}/javac ]; then \
- ${ECHO_MSG} ">> Error: cannot find javac in JAVABINDIR."; \
- ${ECHO_MSG} ">> Please configure JAVABINDIR, or use the WITHOUT_JAVA option"; \
- 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
-
-# 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 ${LOCALBASE}/lib/erlang/lib/erl_interface-*/bin/erl_call ${LOCALBASE}/bin/erl_call
- @${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \
- -C ${PREFIX}/lib/erlang
- @${RM} -rf ${PREFIX}/lib/erlang/man/cat?
-.if !defined(NOPORTDOCS)
- @${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
- -C ${PREFIX}/lib/erlang
-.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 f -o -type l \
- | ${GREP} -v "^lib/erlang/man" \
- | ${GREP} -v "^lib/erlang/lib" \
- | sort \
- > ${WRKDIR}/PLIST.lib-erlang
-
-# Stock OTP libraries.
-
- @for LIBRARY in ${OTP_LIBS}; do \
- cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \
- done | sort >> ${WRKDIR}/PLIST.lib-erlang
-
-# Stock OTP library directories.
-
- @for LIBRARY in ${OTP_LIBS}; do \
- cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \
- | ${SED} -e 's/^/@dirrm /g'; \
- done | sort -r >> ${WRKDIR}/PLIST.lib-erlang
-
-# 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' \
- >> ${WRKDIR}/PLIST.lib-erlang
-
- @${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
- @${ECHO_CMD} "/Insert PLIST.lib-erlang" >> ${WRKDIR}/ex.script
- @${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
- @${ECHO_CMD} "r ${WRKDIR}/PLIST.lib-erlang" >> ${WRKDIR}/ex.script
- @${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
- @${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-lib-erlang
- @cd ${WRKDIR} ; ex < ex.script
-
-.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 670ba2d8e3a5..000000000000
--- a/lang/erlang14/Makefile.lib
+++ /dev/null
@@ -1,43 +0,0 @@
-# $FreeBSD$
-
-OTP_LIBS= appmon-2.1.2 \
- asn1-1.4.2 \
- compiler-4.2 \
- cosEvent-2.1 \
- cosEventDomain-1.1 \
- cosFileTransfer-1.1 \
- cosNotification-1.1 \
- cosProperty-1.1 \
- cosTime-1.1 \
- cosTransactions-1.2 \
- crypto-1.2 \
- debugger-2.2 \
- erl_interface-3.4 \
- et-1.0 \
- eva-2.0.4 \
- gs-1.5.2 \
- hipe-2.0.2 \
- ic-4.2.1 \
- inets-3.0.6 \
- jinterface-1.2.1.1 \
- kernel-2.9 \
- megaco-1.2.3 \
- mnemosyne-1.2.5 \
- mnesia-4.1.4 \
- mnesia_session-1.1.5 \
- observer-0.9.5 \
- odbc-1.0.8 \
- orber-3.4.2 \
- os_mon-1.6.1 \
- otp_mibs-1.0 \
- parsetools-1.2 \
- pman-2.4.1 \
- runtime_tools-1.4 \
- sasl-1.10 \
- snmp-3.4 \
- ssl-3.0.1 \
- stdlib-1.12 \
- toolbar-1.1.0 \
- tools-2.3 \
- tv-2.0.5 \
- webtool-0.8.1
diff --git a/lang/erlang14/Makefile.man b/lang/erlang14/Makefile.man
deleted file mode 100644
index 9fcf28b33eba..000000000000
--- a/lang/erlang14/Makefile.man
+++ /dev/null
@@ -1,316 +0,0 @@
-# $FreeBSD$
-
-MAN1= epmd.1 \
- driver_entry.1 \
- erl.1 \
- erl_call.1 \
- erl_driver.1 \
- erlc.1 \
- erlsrv.1 \
- run_erl.1 \
- start.1 \
- start_erl.1 \
- start_webtool.1 \
- werl.1
-
-MAN3= CORBA_Environment_alloc.3 \
- 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 \
- asn1ct.3 \
- asn1rt.3 \
- auth.3 \
- beam_lib.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 \
- dbg.3 \
- debugger.3 \
- dets.3 \
- dict.3 \
- digraph.3 \
- digraph_utils.3 \
- disk_log.3 \
- disksup.3 \
- ei.3 \
- ei_connect.3 \
- epp.3 \
- eprof.3 \
- erl_boot_server.3 \
- erl_connect.3 \
- erl_ddll.3 \
- erl_error.3 \
- erl_eterm.3 \
- erl_eval.3 \
- erl_format.3 \
- erl_global.3 \
- erl_id_trans.3 \
- erl_internal.3 \
- erl_lint.3 \
- erl_malloc.3 \
- erl_marshal.3 \
- erl_parse.3 \
- erl_pp.3 \
- erl_prim_loader.3 \
- erl_scan.3 \
- erl_set_memory_block.3 \
- erl_tar.3 \
- erlang.3 \
- erlang_mode.3 \
- error_handler.3 \
- error_logger.3 \
- erts_alloc.3 \
- et.3 \
- et_collector.3 \
- et_selector.3 \
- et_viewer.3 \
- etop.3 \
- ets.3 \
- eva.3 \
- eva_log.3 \
- eva_log_snmp.3 \
- eva_server.3 \
- eva_snmp_adaptation.3 \
- eva_sup.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_server.3 \
- gen_tcp.3 \
- gen_udp.3 \
- global.3 \
- global_group.3 \
- gs.3 \
- heart.3 \
- httpd.3 \
- httpd_conf.3 \
- httpd_core.3 \
- httpd_socket.3 \
- httpd_util.3 \
- i.3 \
- ic.3 \
- inet.3 \
- init.3 \
- instrument.3 \
- int.3 \
- interceptors.3 \
- io.3 \
- io_lib.3 \
- lib.3 \
- lists.3 \
- lname.3 \
- lname_component.3 \
- log.3 \
- log_mf_h.3 \
- log_server.3 \
- log_snmp.3 \
- log_snmpea.3 \
- make.3 \
- math.3 \
- megaco.3 \
- megaco_codec_meas.3 \
- megaco_codec_transform.3 \
- megaco_flex_scanner.3 \
- megaco_tcp.3 \
- megaco_udp.3 \
- megaco_user.3 \
- memsup.3 \
- mnemosyne.3 \
- mnesia.3 \
- mnesia_frag_hash.3 \
- mnesia_registry.3 \
- mnesia_session.3 \
- mod_actions.3 \
- mod_alias.3 \
- mod_auth.3 \
- mod_browser.3 \
- mod_cgi.3 \
- mod_dir.3 \
- mod_disk_log.3 \
- mod_esi.3 \
- mod_get.3 \
- mod_head.3 \
- mod_htaccess.3 \
- mod_include.3 \
- mod_log.3 \
- mod_range.3 \
- mod_responsecontrol.3 \
- mod_security.3 \
- mod_trace.3 \
- ms_transform.3 \
- net_adm.3 \
- net_kernel.3 \
- nteventlog.3 \
- odbc.3 \
- orber.3 \
- orber_ifr.3 \
- orber_tc.3 \
- orddict.3 \
- ordsets.3 \
- os.3 \
- os_mon.3 \
- os_sup.3 \
- otp_mib.3 \
- overload.3 \
- pg.3 \
- pg2.3 \
- pman.3 \
- pool.3 \
- proc_lib.3 \
- proplists.3 \
- queue.3 \
- random.3 \
- rb.3 \
- regexp.3 \
- registry.3 \
- release_handler.3 \
- rpc.3 \
- seq_trace.3 \
- sets.3 \
- shell.3 \
- shell_default.3 \
- slave.3 \
- snmp.3 \
- snmp_community_mib.3 \
- snmp_error.3 \
- snmp_error_io.3 \
- snmp_error_report.3 \
- snmp_framework_mib.3 \
- snmp_generic.3 \
- snmp_index.3 \
- snmp_local_db.3 \
- snmp_mgr.3 \
- snmp_mpd.3 \
- snmp_notification_mib.3 \
- snmp_pdus.3 \
- snmp_standard_mib.3 \
- snmp_supervisor.3 \
- snmp_target_mib.3 \
- snmp_user_based_sm_mib.3 \
- snmp_view_based_acm_mib.3 \
- sofs.3 \
- ssl.3 \
- ssl_pkix.3 \
- string.3 \
- supervisor.3 \
- supervisor_bridge.3 \
- sys.3 \
- systools.3 \
- tags.3 \
- timer.3 \
- toolbar.3 \
- ttb.3 \
- tv.3 \
- user.3 \
- webtool.3 \
- win32reg.3 \
- wrap_log_reader.3 \
- xref.3 \
- yecc.3
-
-MAN4= app.4 \
- appup.4 \
- config.4 \
- rel.4 \
- relup.4 \
- script.4
-
-MAN6= crypto.6 \
- eva.6 \
- inets.6 \
- kernel.6 \
- observer.6 \
- runtime_tools.6 \
- sasl.6 \
- snmp.6 \
- ssl.6