Skip to content

Instantly share code, notes, and snippets.

@kmizumar
Created January 4, 2013 05:41
Show Gist options
  • Save kmizumar/4450218 to your computer and use it in GitHub Desktop.
Save kmizumar/4450218 to your computer and use it in GitHub Desktop.
MacPorts's Portfile for Gauche HEAD
# -*- 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
# $Id: Portfile 96552 2012-08-14 04:32:45Z ryandesign@macports.org $
PortSystem 1.0
name gauche-devel
version 0.9.4_pre2
categories lang scheme
license BSD
maintainers gmail.com:kiyoshi.mizumaru
description A script interpreter based on Scheme (development version)
long_description Gauche is a script interpreter based on Scheme. \
Gauche conforms the language standard 'Revised^5 \
Report on the Algorithmic Language Scheme' and \
supports various common libraries defined in SRFIs. \
The goal of Gauche is to provide a handy tool for \
programmers and system administrators to handle \
daily works conveniently and efficiently in the \
production environment.\
There are lots of Scheme implementations available, \
and each of them has its design emphasis and \
weeknesses. Gauche is designed with emphasis on \
Quick startup, Multibyte strings, Modular \
development, Integrated object system, System \
interface and Enhanced I/O.
platforms darwin
homepage http://practical-scheme.net/gauche/
fetch.type git
git.url git://gauche.git.sourceforge.net/gitroot/gauche/Gauche
depends_build port:gauche
depends_lib port:gdbm \
port:libiconv \
port:slib
pre-configure {
system "cd ${worksrcpath} && ./DIST gen"
}
configure.env-append EXEEXT=.${version}
configure.args --with-local=${prefix} --enable-multibyte=utf-8 \
--with-iconv=${prefix} --with-slib=${prefix}/lib/slib \
--enable-threads=pthreads --enable-ipv6
test.run yes
destroot.target slibcat-in-place install-pkg install-doc
universal_variant no
variant euc_jp conflicts sjis no_multibyte { configure.args-delete --enable-multibyte=utf-8
configure.args-append --enable-multibyte=euc-jp }
variant sjis conflicts euc_jp no_multibyte { configure.args-delete --enable-multibyte=utf-8
configure.args-append --enable-multibyte=sjis }
variant no_multibyte conflicts euc_jp sjis { configure.args-delete --enable-multibyte=utf-8
configure.args-append --enable-multibyte=no }
variant no_iconv { depends_lib-delete port:libiconv
configure.args-delete --with-iconv=${prefix} }
variant no_gdbm { depends_lib-delete port:gdbm }
variant no_slib { depends_lib-delete port:slib
configure.args-delete --with-slib=${prefix}/lib/slib }
variant no_threads { configure.args-delete --enable-threads=pthreads }
variant no_ipv6 { configure.args-delete --enable-ipv6 }
livecheck.type none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment