You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
cjit: new port (v1.1.2)
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
# -*- 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 github 1.0
|
||||
PortGroup makefile 1.0
|
||||
|
||||
github.setup dyne cjit 1.1.2 v
|
||||
github.tarball_from archive
|
||||
revision 0
|
||||
|
||||
homepage https://dyne.org/cjit/
|
||||
|
||||
description Tiny and portable C compiler
|
||||
|
||||
long_description \
|
||||
CJIT is a TinyCC-powered C runner and lightweight compiler frontend. \
|
||||
It can: compile and execute one or more C inputs directly from memory, \
|
||||
compile one source file to an object, and build an executable without \
|
||||
running it. CJIT is designed for fast iteration, scripting-style \
|
||||
execution, and small deployment footprints.
|
||||
|
||||
categories lang devel
|
||||
license {GPL-3 MIT BSD}
|
||||
maintainers {gmail.com:herby.gillot @herbygillot} \
|
||||
openmaintainer
|
||||
|
||||
checksums rmd160 dd8d68f3f0a066924279acaeb5e2fff3ecdf37b9 \
|
||||
sha256 be76e54bc3d14dc703691c61ad68da5015c7fb19cf9da59182bd0e39143c558a \
|
||||
size 26176393 \
|
||||
|
||||
use_parallel_build no
|
||||
|
||||
makefile.has_destdir \
|
||||
yes
|
||||
|
||||
patch {
|
||||
reinplace -E {s|@cp -ra|@cp -r|} ${worksrcpath}/GNUmakefile
|
||||
}
|
||||
|
||||
post-build {
|
||||
file rename -force ${worksrcpath}/${name}.command ${worksrcpath}/${name}
|
||||
}
|
||||
|
||||
platform darwin {
|
||||
build.target apple-osx
|
||||
}
|
||||
|
||||
platform linux {
|
||||
build.target linux
|
||||
}
|
||||
Reference in New Issue
Block a user