head	1.12;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2;
locks; strict;
comment	@# @;


1.12
date	2012.11.17.05.58.54;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.06.08.21.27.42;	author sylvio;	state Exp;
branches;
next	1.10;

1.10
date	2012.06.04.02.53.48;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2011.11.09.15.11.10;	author pawel;	state Exp;
branches;
next	1.8;

1.8
date	2011.05.18.17.20.40;	author sylvio;	state Exp;
branches;
next	1.7;

1.7
date	2011.02.28.18.17.14;	author sylvio;	state Exp;
branches;
next	1.6;

1.6
date	2010.12.10.23.07.40;	author pgollucci;	state Exp;
branches;
next	1.5;

1.5
date	2010.04.06.12.58.17;	author sylvio;	state Exp;
branches;
next	1.4;

1.4
date	2010.04.06.00.49.11;	author sylvio;	state Exp;
branches;
next	1.3;

1.3
date	2010.04.02.17.53.18;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2009.08.16.23.33.54;	author amdmi3;	state Exp;
branches;
next	1.1;

1.1
date	2009.05.21.20.07.38;	author beat;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switch exporter over
@
text
@# New ports collection makefile for:	petite-chez
# Date created:		27 Mar 2009
# Whom:			Vitaly Magerya <vmagerya@@gmail.com>
#
# $FreeBSD: head/lang/petite-chez/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	petite-chez
PORTVERSION=	8.4
CATEGORIES=	lang scheme
MASTER_SITES=	http://www.scheme.com/download/ \
		http://tx97.net/pub/distfiles/
DISTNAME=	pcsv${PORTVERSION}-${CHEZ_MACHTYPE}

MAINTAINER=	vmagerya@@gmail.com
COMMENT=	Free interpreter for Chez Scheme system

# Both install bin/scheme-script
CONFLICTS=	ikarus-*

ONLY_FOR_ARCHS=	i386 amd64

NO_PACKAGE=	user must accept license terms before installation

.if defined(PACKAGE_BUILDING)
IGNORE=		user must accept license terms before installation
.endif

OPTIONS_DEFINE=	THREADS

WRKSRC=		${WRKDIR}/csv${PORTVERSION}/custom
HAS_CONFIGURE=	yes
USE_ICONV=	yes
CONFIGURE_ARGS=	--installprefix=${PREFIX} \
		--installman=${MANPREFIX}/man \
		--force-relink \
		--nogzip-man-pages \
		-m=${CHEZ_MACHTYPE}

ALL_TARGET=	build

MAN1=		petite.1

PLIST_SUB=	CHEZ_VERSION="${PORTVERSION}" \
		CHEZ_MACHTYPE="${CHEZ_MACHTYPE}"

.include <bsd.port.pre.mk>

.if ${ARCH} == "i386"
CHEZ_MACHTYPE=	i3fb
.elif ${ARCH} == "amd64"
CHEZ_MACHTYPE=	a6fb
.endif

.if ${PORT_OPTIONS:MTHREADS}
CHEZ_MACHTYPE:=	t${CHEZ_MACHTYPE}
.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|C=gcc|C=${CC}|' \
		-e 's|-L/usr/local/lib|-L/usr/lib -L${LOCALBASE}/lib|' \
		${WRKSRC}/Mf-${CHEZ_MACHTYPE}

.include <bsd.port.post.mk>
@


1.11
log
@- Switch NOPORTDOCS and NOPORTEXAMPLES to their OptionsNG
equivalents for devel/premake4, lang/ikarus, lang/stklos
and lang/ypsilon.

- Add mutual conflicts to lang/ikarus and lang/petite-chez
as they both install bin/scheme-script (reported by
Sulev-Madis Silber with his ports conflicts checker).

- Only define NO_PACKAGE for lang/ikarus when PACKAGE_BUILDING
is set (i.e. on the pointyhat cluster).

- Add regression-test target to lang/ypsilon.

PR:		ports/168715
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.10
log
@- convert to OptionsNG

PR:		168646
Submitted by:	maintainer
@
text
@d18 3
@


1.9
log
@- Update to version 8.4
- Prevent linking with devel/libncurses

Changelog: http://scheme.com/csv8.4/8.4.html

PR:		ports/161994
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
@
text
@d26 1
a26 1
OPTIONS=	THREADS "Install threaded version" off
d52 1
a52 1
.if defined(WITH_THREADS)
@


1.8
log
@- Update to 8.3

PR:		ports/157122
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	8.3
d73 3
a75 1
	@@${REINPLACE_CMD} -e 's|C=gcc|C=${CC}|' \
@


1.7
log
@- Update to 8.2

PR:		ports/155117
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	8.2
a72 2
	@@${REINPLACE_CMD} -e 's|group=root|group=wheel|' \
		${WRKSRC}/Mf-${CHEZ_MACHTYPE}
@


1.6
log
@- Update to 8.1

PR:             ports/152918
Submitted by:   Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	8.1
@


1.5
log
@- Fix to when used tool of update.
- BUMP PORTREVISION

Submitted by:	Vitaly Magerya (vmagerya@@gmail.com) (maintainer)
Approved by:	itetcu (mentor, implicit)
@
text
@d9 1
a9 2
PORTVERSION=	8.0
PORTREVISION=	1
@


1.4
log
@- Added support to plataform amd64

PR:		ports/145382
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
Approved by:	itetcu (mentor, implicit)
@
text
@d10 1
a36 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib -liconv"
@


1.3
log
@- Update to 8.0

PR:		145164
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
@
text
@d18 1
a18 1
ONLY_FOR_ARCHS=	i386
d30 1
d36 2
d48 6
d55 1
a55 3
CHEZ_MACHTYPE=	ti3fb
.else
CHEZ_MACHTYPE=	i3fb
@


1.2
log
@- Update to 7.4d

PR:		137794
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	7.4d
d33 1
@


1.1
log
@Petite Chez Scheme is a complete Scheme system that is fully compatible
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)
@
text
@d9 1
a9 1
PORTVERSION=	7.4
d11 2
a12 1
MASTER_SITES=	http://www.scheme.com/download/
@

