Date: Thu, 17 Mar 2011 21:47:21 -0500 From: Zhihao Yuan <lichray@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/155647: New port: lang/pure - A modern-style functional programming language Message-ID: <4d82c7bf.94a5e70a.672d.499a@mx.google.com> Resent-Message-ID: <201103180250.p2I2o9AB022726@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155647 >Category: ports >Synopsis: New port: lang/pure - A modern-style functional programming language >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 18 02:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Zhihao Yuan >Release: FreeBSD 8.2-STABLE amd64 >Organization: Northern Illinois University >Environment: System: FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Mar 14 02:51:28 CDT 2011 root@compaq.yuetime:/usr/obj/usr/src/sys/HOUKAGO amd64 >Description: Pure is a modern-style functional programming language based on term rewriting. The interpreter uses LLVM as a backend to JIT-compile Pure programs to fast native code. Check it's official website for details: https://code.google.com/p/pure-lang/ >How-To-Repeat: >Fix: In this port, I combined the interpreter and the Pure documentations (without docs, the `help' command inside the interpreter will not work). The docs and the examples will be installed if the corresponding NOPORT* is not specified. --- pure.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pure # pure/pkg-descr # pure/distinfo # pure/Makefile # pure/files # pure/files/pkg-message.in # pure/pkg-plist # echo c - pure mkdir -p pure > /dev/null 2>&1 echo x - pure/pkg-descr sed 's/^X//' >pure/pkg-descr << '63bc3fa023d09e822a0e8a781e9d1e45' XPure is a modern-style functional programming language based on term Xrewriting. It offers equational definitions with pattern matching, full Xsymbolic rewriting capabilities, dynamic typing, eager and lazy evaluation, Xlexical closures, built-in list and matrix support and an easy-to-use C Xinterface. The interpreter uses LLVM as a backend to JIT-compile Pure Xprograms to fast native code. X XWWW: https://code.google.com/p/pure-lang/ 63bc3fa023d09e822a0e8a781e9d1e45 echo x - pure/distinfo sed 's/^X//' >pure/distinfo << '2d7343f4b71074e28e6427b016b31a81' XSHA256 (pure-0.46.tar.gz) = 172cd3196d5c44341ec4cfaff801b0350d36bb7f92b7fa93d361bedd34f83896 XSIZE (pure-0.46.tar.gz) = 900928 XSHA256 (pure-docs-0.46.tar.gz) = 3429e14445bfb05a3618c2bb7800a695d08aea347d9e6c3b908fe702b5ef0803 XSIZE (pure-docs-0.46.tar.gz) = 2560377 2d7343f4b71074e28e6427b016b31a81 echo x - pure/Makefile sed 's/^X//' >pure/Makefile << 'e6aa283e1e06c79fa47904c682bddd98' X# New ports collection makefile for: pure X# Date created: 2011-03-17 X# Whom: Zhihao Yuan <lichray@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= pure XPORTVERSION= 0.46 XCATEGORIES= lang XMASTER_SITES= http://pure-lang.googlecode.com/files/ XDISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-docs-${PORTVERSION}.tar.gz X XMAINTAINER= lichray@gmail.com XCOMMENT= A modern-style functional programming language X XLIB_DEPENDS+= gmp:${PORTSDIR}/math/gmp XBUILD_DEPENDS+= llvm>=2.6:${PORTSDIR}/devel/llvm XRUN_DEPENDS+= llvm>=2.6:${PORTSDIR}/devel/llvm X XMAN1= pure.1 XLICENSE= LGPL3 XSUB_FILES= pkg-message X XUSE_GCC= 4.2+ XUSE_AUTOTOOLS= libtool XGNU_CONFIGURE= yes XUSE_GMAKE= yes XMAKE_JOBS_SAFE= yes X XCONFIGURE_ARGS= --with-libgmp-prefix=${LOCALBASE} --enable-release X X.include <bsd.port.options.mk> X X.if ${ARCH} == "amd64" XCONFIGURE_TARGET= x86_64-portbld-freebsd X.endif X XPORTDATA= etc XPORTEXAMPLES= * XPORTDOCS= * X X.if !defined(NOPORTDOCS) XPLIST_SUB+= DOCS="" X.else XPLIST_SUB+= DOCS="@comment " X.endif X X.include <bsd.port.pre.mk> X Xpost-install: X @${MKDIR} ${DATADIR}/${PORTDATA}/ X (cd ${WRKSRC} && ${COPYTREE_SHARE} ${PORTDATA}/ ${DATADIR}/) X X.if !defined(NOPORTEXAMPLES) X @${MKDIR} ${EXAMPLESDIR} X (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) X.endif X X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X (cd ${WRKDIR}/${PORTNAME}-docs-${PORTVERSION} && ${RM} -f Makefile && ${COPYTREE_SHARE} \* ${DOCSDIR}) X ${LN} -fs ${DOCSDIR} ${PREFIX}/lib/${PORTNAME}/docs X.endif X X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> e6aa283e1e06c79fa47904c682bddd98 echo c - pure/files mkdir -p pure/files > /dev/null 2>&1 echo x - pure/files/pkg-message.in sed 's/^X//' >pure/files/pkg-message.in << '9acdf3458322480d3972b6754f7f29c6' X====================================================== XIf you are using an editor that supports syntax Xhighlighting, such as vim/emacs/nano, please check X%%DATADIR%%/etc/ and see whether Xa syntax file for your editor is available. X XA text-based browser, such as lynx/w3m, is recommended Xto work with the `help' command inside the Xinterpreter. Check pure(1) for details. X====================================================== 9acdf3458322480d3972b6754f7f29c6 echo x - pure/pkg-plist sed 's/^X//' >pure/pkg-plist << '8b3ea8ed10d73f122d940e521ec26fda' Xbin/pure Xinclude/pure/runtime.h Xlib/libpure.so Xlib/libpure.so.6 Xlib/libpure.so.6.0 Xlib/pure/array.pure Xlib/pure/avltrees.pure Xlib/pure/dict.pure Xlib/pure/faustui.pure Xlib/pure/getopt.pure Xlib/pure/heap.pure Xlib/pure/math.pure Xlib/pure/matrices.pure Xlib/pure/posix.pure Xlib/pure/prelude.pure Xlib/pure/primitives.pure Xlib/pure/pure_main.c Xlib/pure/pure_main.o Xlib/pure/quasiquote.pure Xlib/pure/quasiquote2.pure Xlib/pure/records.pure Xlib/pure/set.pure Xlib/pure/strings.pure Xlib/pure/system.pure X%%DOCS%%lib/pure/docs X@dirrm lib/pure X@dirrm include/pure 8b3ea8ed10d73f122d940e521ec26fda exit --- pure.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d82c7bf.94a5e70a.672d.499a>