aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mosh/Makefile
blob: 08ac56f9b0059a04daaf364ef61276bd42959bce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:   mosh
# Date created:                2008-07-06
# Whom:                        Katsuji ISHIKAWA <katsuji.ishikawa@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mosh
PORTVERSION=    0.0.6
CATEGORIES= lang
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

MAINTAINER= katsuji.ishikawa@gmail.com
COMMENT=    A Fast R6RS Scheme interpreter

BUILD_DEPENDS=  gosh:${PORTSDIR}/lang/gauche

PROJECTHOST=    mosh-scheme

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GCC=    4.2+

# Compilation tends to eat extreme amounts of memory otherwise
CFLAGS+=    "-O0"
CXXFLAGS+=  "-O0"

SCMS=       all-tests.scm repl.scm r6rs-examples/psyntax.scm

do-install:
    ${MKDIR} ${DATADIR}
.for F in ${SCMS}
    ${INSTALL_DATA} ${WRKSRC}/${F} ${DATADIR}/
.endfor
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/

.include <bsd.port.mk>