mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
e80d879eec
with Chez Scheme but uses high-speed threaded interpreter technology in place of Chez Scheme's incremental native-code compiler. Programs written for Chez Scheme run unchanged in Petite Chez Scheme, as long as they do not depend specifically on the compiler. In fact, Petite Chez Scheme is built from the same sources as Chez Scheme, with all but the compiler sources included. Petite Chez Scheme was conceived as a freely distributable run-time environment for compiled Chez Scheme applications. To serve this purpose, it needed to have a complete run-time environment, including, for many applications, a working evaluator. The result is a system that is useful not only to our customers for the applications they distribute, but also to people who want to use a top-quality Scheme system and can't justify purchasing Chez Scheme. WWW: http://www.scheme.com/petitechezscheme.html PR: ports/133437 Submitted by: Vitaly Magerya <vmagerya AT gmail.com> Approved by: miwi (mentor)
72 lines
1.8 KiB
Makefile
72 lines
1.8 KiB
Makefile
# New ports collection makefile for: petite-chez
|
|
# Date created: 27 Mar 2009
|
|
# Whom: Vitaly Magerya <vmagerya@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= petite-chez
|
|
PORTVERSION= 7.4
|
|
CATEGORIES= lang scheme
|
|
MASTER_SITES= http://www.scheme.com/download/
|
|
DISTNAME= pcsv${PORTVERSION}-${CHEZ_MACHTYPE}
|
|
|
|
MAINTAINER= vmagerya@gmail.com
|
|
COMMENT= Free interpreter for Chez Scheme system
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
NO_PACKAGE= user must accept license terms before installation
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
IGNORE= user must accept license terms before installation
|
|
.endif
|
|
|
|
OPTIONS= THREADS "Install threaded version" off
|
|
|
|
WRKSRC= ${WRKDIR}/csv${PORTVERSION}/custom
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --installprefix=${PREFIX} \
|
|
--installman=${MANPREFIX}/man \
|
|
--force-relink \
|
|
-m=${CHEZ_MACHTYPE}
|
|
|
|
ALL_TARGET= build
|
|
|
|
MAN1= petite.1
|
|
|
|
PLIST_SUB= CHEZ_VERSION="${PORTVERSION}" \
|
|
CHEZ_MACHTYPE="${CHEZ_MACHTYPE}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_THREADS)
|
|
CHEZ_MACHTYPE= ti3fb
|
|
.else
|
|
CHEZ_MACHTYPE= i3fb
|
|
.endif
|
|
|
|
post-extract:
|
|
.if !defined(PETITECHEZ_AGREE_LICENSE) || ${PETITECHEZ_AGREE_LICENSE} != "yes"
|
|
@${ECHO}
|
|
@${ECHO} "AGREEMENT: ${WRKDIR}/csv${PORTVERSION}/petite.lic"
|
|
@${ECHO}
|
|
@${ECHO} "BEFORE PROCEEDING WITH THE INSTALLATION, YOU MUST FIRST READ"
|
|
@${ECHO} "THE ENTIRE AGREEMENT. BY PROCEEDING WITH THE INSTALLATION,"
|
|
@${ECHO} "YOU EXPRESSLY AGREE TO BE BOUND BY THE TERMS AND CONDITIONS"
|
|
@${ECHO} "OF THE AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS"
|
|
@${ECHO} "AND CONDITIONS OF THIS AGREEMENT, DO NOT PROCEED WITH"
|
|
@${ECHO} "THE INSTALLATION."
|
|
@${ECHO}
|
|
@${ECHO} "Build with PETITECHEZ_AGREE_LICENSE=yes to continue."
|
|
@${FALSE}
|
|
.endif
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|group=root|group=wheel|' \
|
|
${WRKSRC}/Mf-${CHEZ_MACHTYPE}
|
|
@${REINPLACE_CMD} -e 's|C=gcc|C=${CC}|' \
|
|
${WRKSRC}/Mf-${CHEZ_MACHTYPE}
|
|
|
|
.include <bsd.port.post.mk>
|