|
|
@@ -1,17 +1,17 @@ |
|
|
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
|
|
|
|
|
PortSystem 1.0 |
|
|
PortGroup bitbucket 1.0 |
|
|
PortGroup github 1.0 |
|
|
|
|
|
# Keep the versions of pure and pure-docs in sync. |
|
|
bitbucket.setup purelang pure-lang 0.66 pure- |
|
|
name pure |
|
|
github.setup agraef pure-lang 0.67 ${name}- |
|
|
categories lang |
|
|
platforms darwin |
|
|
maintainers {ryandesign @ryandesign} {gmail.com:aggraef @agraef} |
|
|
license LGPL-3+ GPL-3+ BSD |
|
|
use_parallel_build yes |
|
|
homepage http://purelang.bitbucket.org/ |
|
|
homepage https://agraef.github.io/pure-lang/ |
|
|
|
|
|
description functional programming language based on term rewriting |
|
|
|
|
|
@@ -28,18 +28,19 @@ long_description Pure is a functional programming language based on \ |
|
|
are licensed under LGPL-3+, the interpreter is GPL-3+, \ |
|
|
and the examples are BSD-licensed. |
|
|
|
|
|
bitbucket.tarball_from downloads |
|
|
github.tarball_from releases |
|
|
distname ${name}-${version} |
|
|
|
|
|
checksums rmd160 a3ad0dccdb71eab3aa8ee15d3a04f5e3111208a1 \ |
|
|
sha256 42df6832476e8bee3a7ca179671284c1edd7bc82b71062fa0de62fd2117ee676 |
|
|
checksums rmd160 68f52aafe4b378fbafe7bb43fdee5612f1acd666 \ |
|
|
sha256 442de3ccc98f55e7c04a7470771bd8d92e49a43f897964cc5b191c6b7a2b9dc2 \ |
|
|
size 1516318 |
|
|
|
|
|
set llvm_version 3.4 |
|
|
set llvm_prefix ${prefix}/libexec/llvm-${llvm_version} |
|
|
configure.env PATH=${llvm_prefix}/bin:$env(PATH) |
|
|
|
|
|
if {${name} eq ${subport}} { |
|
|
revision 1 |
|
|
revision 0 |
|
|
|
|
|
depends_lib port:gmp \ |
|
|
port:libiconv \ |
|
|
@@ -126,6 +127,6 @@ subport pure-mode.el { |
|
|
destroot { |
|
|
set lispdir ${destroot}${prefix}/share/emacs/site-lisp |
|
|
xinstall -d ${lispdir} |
|
|
xinstall -m 644 -W ${destroot.dir} pure-mode.el pure-mode.elc ${lispdir} |
|
|
xinstall -m 644 -W ${destroot.dir} pure-mode.el pure-mode.elc flycheck-pure.el ${lispdir} |
|
|
} |
|
|
} |