freebsd-ports/lang/mit-scheme/Makefile
Kevin Lo 9d1115da80 Upgrade to version 7.5.11
PR: 23225
Submitted by: Ports Fury
2000-12-02 16:17:08 +00:00

35 lines
944 B
Makefile

# New ports collection makefile for: MIT-Scheme
# Date created: Mar 26 1995
# Whom: jmacd@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= mit-scheme
PORTVERSION= 7.5.11
CATEGORIES= lang
MASTER_SITES= ftp://ftp.swiss.ai.mit.edu/pub/scheme-7.5/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}
DISTNAME= scheme-${PORTVERSION}-ix86-freebsd
MAINTAINER= ports@FreeBSD.org
ONLY_FOR_ARCHS= i386
USE_XLIB= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
SCHEME_DIR= ${PREFIX}/lib/mit-scheme
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/scheme ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/bchscheme ${PREFIX}/bin
${TAR} -C ${WRKSRC}/lib -cf - mit-scheme | \
${TAR} -C ${PREFIX}/lib --unlink -xf -
${LN} -sf ${SCHEME_DIR}/SRC/edwin ${SCHEME_DIR}/edwin/autoload
${LN} -sf ${SCHEME_DIR}/SRC/runtime ${SCHEME_DIR}/options
find ${SCHEME_DIR} | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
find ${SCHEME_DIR} -type f | xargs ${CHMOD} ${SHAREMODE}
.include <bsd.port.mk>