summaryrefslogtreecommitdiff
path: root/lang/mosh/Makefile
blob: bd8e1cf491a99eda504065f3421bb998891c48e6 (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
# New ports collection makefile for:   mosh
# Date created:                2008-07-06
# Whom:                        Katsuji ISHIKAWA <katsuji.ishikawa@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	mosh
PORTVERSION=	0.0.5
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST=	mosh-scheme

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

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

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 psyntax.scm repl.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>