aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mit-scheme/Makefile
blob: 8e5e5956c32fa595d1b73ab70e0614db6f807379 (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
# New ports collection makefile for:    MIT-Scheme
# Date created:     Mar 26 1995
# Whom:         jmacd@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   mit-scheme
PORTVERSION=    7.7.1
PORTREVISION=   3
CATEGORIES= lang scheme
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= mit-scheme/stable.pkg/${PORTVERSION}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src-ucode
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        ${PORTNAME}-${PORTVERSION}-ix86-freebsd.tar.gz

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    MIT Scheme: includes runtime, compiler, and edwin binaries

ONLY_FOR_ARCHS= i386
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_XLIB=   yes
WRKSRC=     ${WRKDIR}/scheme-${PORTVERSION}/src/microcode
ALL_TARGET= default-target

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/scheme ${PREFIX}/bin
    @${INSTALL_PROGRAM} ${WRKSRC}/bchscheme ${PREFIX}/bin
    @cd ${WRKDIR}/lib && ${PAX} -rw mit-scheme ${PREFIX}/lib
    @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/mit-scheme

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Does not compile with GCC 4.2
.endif

.include <bsd.port.post.mk>