aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mosh/Makefile
blob: 58e8acea7d204ab174f6bf927d621f2a63665f64 (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
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:   mosh
# Date created:                2008-07-06
# Whom:                        Katsuji ISHIKAWA <katsuji.ishikawa@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mosh
PORTVERSION=    0.0.7
PORTREVISION=   1
CATEGORIES= lang
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}

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

PROJECTHOST=    mosh-scheme

GNU_CONFIGURE=  yes
USE_GCC=    4.2+
ONLY_FOR_ARCHS= i386

SCMS=       all-tests.scm repl.scm tools/psyntax-r6rs/rev10_to_10/psyntax.scm
SS1=        lib/srfi/%3A8.ss lib/srfi/%3A98.ss
SS2=        lib/mosh/test.ss

do-install:
    ${MKDIR} ${DATADIR}/lib
    ${MKDIR} ${DATADIR}/lib/srfi
    ${MKDIR} ${DATADIR}/lib/mosh

.for F in ${SCMS}
    ${INSTALL_DATA} ${WRKSRC}/${F} ${DATADIR}/
.endfor

.for F in ${SS1}
    ${INSTALL_DATA} ${WRKSRC}/${F} ${DATADIR}/lib/srfi/
.endfor

.for F in ${SS2}
    ${INSTALL_DATA} ${WRKSRC}/${F} ${DATADIR}/lib/mosh/
.endfor

    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/

.include <bsd.port.mk>