Files
Joshua Root 949b3480c3 Rev bump libffi dependents
Version 3.4 broke binary compatibility.
2021-09-01 06:34:10 +10:00

57 lines
1.9 KiB
Tcl

# -*- 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
name librep
version 0.92.7
revision 2
categories lang
platforms darwin
maintainers {lloyd.io:me @lloyd}
license GPL-2+
description A shared library implementing a Lisp dialect
long_description librep is a shared library implementing a Lisp \
dialect that is lightweight, reasonably fast, and \
highly extensible. It contains an interpreter, \
byte-code compiler and virtual machine. Applications \
may use the interpreter as an extension language, or \
it may be used for standalone scripts.
homepage http://sawfish.wikia.com/wiki/Librep
master_sites http://download.tuxfamily.org/librep/
use_xz yes
distfiles ${name}_${version}${extract.suffix}
worksrcdir ${name}_${version}
checksums rmd160 3cce6962397102c79600850d4648d1158e0d499a \
sha256 48a19679ac7c0530a89657de18ffe49c5759a5ff70fc844928b0e5d00395acae \
size 651344
depends_build port:pkgconfig
depends_lib port:gdbm \
port:gmp \
port:libffi
configure.args --without-readline
configure.cflags-append -std=gnu89
variant readline description {build with readline support} {
depends_lib-append port:readline
configure.args-delete --without-readline
configure.args-append --with-readline
}
# 10.3 and i386 are fine with the default 'stack-direction=-1' but 10.4
# ppc needs 1
platform darwin 8 powerpc {
configure.args-append --with-stack-direction=1
}
livecheck.regex ${name}_(\[0-9.\]+)${extract.suffix}