Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2008 13:53:53 -0700
From:      Timothy Beyer <beyert@cs.ucr.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Timothy Beyer <beyert@cs.ucr.edu>
Subject:   ports/125966: Port Updated to 4.2.8: lang/gambit-c
Message-ID:  <87wsj9ptwe.wl%beyert@cs.ucr.edu>
Resent-Message-ID: <200807252100.m6PL0Esg038201@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125966
>Category:       ports
>Synopsis:       Port Updated to 4.2.8: lang/gambit-c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 25 21:00:14 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Timothy Beyer
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
no organization
>Environment:
FreeBSD aeonserv.aeonnet 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Sun Apr 20 02:48:24 PDT 2008     beyert@aeonserv.aeonnet:/usr/src/sys/i386/compile/CUSTOM  i386

>Description:
    This shell archive fixes the following:

        -Updated to version 4.2.8 (the latest stable version of which I'm aware)

>How-To-Repeat:
    N/A

>Fix:
    Commit this shell archive to lang/gambit-c

--- gambit-c.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gambit-c
#	gambit-c/Makefile
#	gambit-c/distinfo
#	gambit-c/pkg-descr
#	gambit-c/pkg-plist
#
echo c - gambit-c
mkdir -p gambit-c > /dev/null 2>&1
echo x - gambit-c/Makefile
sed 's/^X//' >gambit-c/Makefile << 'END-of-gambit-c/Makefile'
X# New ports collection makefile for:	gambc
X# Date created:        			28 December 2006
X# Whom:					Rob Zinkov
X#
X# $FreeBSD: ports/lang/gambit-c/Makefile,v 1.5 2008/07/25 03:07:49 wxs Exp $
X#
X
XPORTNAME=	gambc
XDISTVERSION=	v4_2_8
XPORTEPOCH=	1
XCATEGORIES=	lang
XMASTER_SITES=	http://www.iro.umontreal.ca/~gambit/download/gambit/v4.2/source/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	pmn@bakarika.net
XCOMMENT=	Gambit programming system where the compiler generates portable C code
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XMAKE_ARGS=	PREFIX="${PREFIX}"
X
XCONFIGURE_ARGS=	--enable-single-host --enable-gcc-opts
X
XINFO=	gambit-c
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|^\(install: install-pre install-recursive\) install-post|\1|' ${WRKSRC}/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/lib/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/lib/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsi/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsi/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
X	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
X
Xpre-configure:
X	@${REINPLACE_CMD} -e 's|/4.2.8||' ${WRKSRC}/configure
X
Xpost-configure:
X	@${CP} ${WRKSRC}/makefile ${WRKSRC}/Makefile
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/makefile
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/Makefile
X
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/include/makefile
X	@${REINPLACE_CMD} -e 's|/include|/include/Gambit-C|' ${WRKSRC}/include/makefile
X
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/lib/makefile
X
X	@${REINPLACE_CMD} -e 's|/lib/|tempstr|' ${WRKSRC}/lib/makefile
X	@${REINPLACE_CMD} -e 's|/lib|/lib/Gambit-C|' ${WRKSRC}/lib/makefile
X	@${REINPLACE_CMD} -e 's|tempstr|/lib/|' ${WRKSRC}/lib/makefile
X
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/bin/makefile
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/gsc/makefile
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/gsi/makefile
X	@${REINPLACE_CMD} -e 's| gsc | gsc-gambit |' ${WRKSRC}/bin/makefile
X	@${REINPLACE_CMD} -e 's|/gsc |/gsc-gambit |' ${WRKSRC}/bin/makefile
X	@${REINPLACE_CMD} -e 's|EXECUTABLE = gsc|EXECUTABLE = gsc-gambit|' ${WRKSRC}/gsc/makefile
X
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/doc/makefile
X
X	@${REINPLACE_CMD} -e 's|/doc|/share/doc/Gambit-C|' ${WRKSRC}/doc/makefile
X
X	@${REINPLACE_CMD} -e 's|PACKAGE_SUBDIR = /v4.2.8|PACKAGE_SUBDIR = |' ${WRKSRC}/misc/makefile
X
X	@${REINPLACE_CMD} -e 's|/v4.2.8|/share/emacs/site-lisp|' ${WRKSRC}/misc/makefile
X
X	@${REINPLACE_CMD} -e 's|/syntax-case.scm|/share/Gambit-C/syntax-case.scm|' ${WRKSRC}/misc/makefile
X	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/makefile
X
X.include <bsd.port.mk>
END-of-gambit-c/Makefile
echo x - gambit-c/distinfo
sed 's/^X//' >gambit-c/distinfo << 'END-of-gambit-c/distinfo'
XMD5 (gambc-v4_2_8.tgz) = 1ebd2effeb9e936b380d6daffb9e11b8
XSHA256 (gambc-v4_2_8.tgz) = e07d0031e434fc98a8b3ac136fe2426280cc342b8e3b3a325c7348938d5bae11
XSIZE (gambc-v4_2_8.tgz) = 14255377
END-of-gambit-c/distinfo
echo x - gambit-c/pkg-descr
sed 's/^X//' >gambit-c/pkg-descr << 'END-of-gambit-c/pkg-descr'
XThe Gambit programming system is a full implementation of the Scheme 
Xlanguage which conforms to the R4RS and IEEE Scheme standards. It 
Xconsists of two main programs: gsi, the Gambit Scheme interpreter, and 
Xgsc, the Gambit Scheme compiler.
X
XGambit-C is a version of the Gambit programming system in which the 
Xcompiler generates portable C code, making the whole Gambit-C system 
Xand the programs compiled with it easily portable to many computer 
Xarchitectures for which a C compiler is available. With appropriate 
Xdeclarations in the source code the executable programs generated by 
Xthe compiler run roughly as fast as equivalent C programs. 
X
XWWW: http://www.iro.umontreal.ca/~gambit/
END-of-gambit-c/pkg-descr
echo x - gambit-c/pkg-plist
sed 's/^X//' >gambit-c/pkg-plist << 'END-of-gambit-c/pkg-plist'
Xbin/six
Xbin/gsc-cc-o.bat
Xbin/gsc-gambit
Xbin/gsc-script
Xbin/gsi
Xbin/gsi-script
Xbin/scheme-ieee-1178-1990
Xbin/scheme-r4rs
Xbin/scheme-r5rs
Xbin/scheme-srfi-0
Xbin/six-script
Xshare/doc/Gambit-C/gambit-c.html
Xshare/doc/Gambit-C/gambit-c.pdf
Xshare/doc/Gambit-C/gambit-c.txt
Xinclude/Gambit-C/gambit.h
Xinclude/Gambit-C/gambit-not402008.h
Xlib/Gambit-C/_gambc.c
Xlib/Gambit-C/_kernel#.scm
Xlib/Gambit-C/_system#.scm
Xlib/Gambit-C/_num#.scm
Xlib/Gambit-C/_std#.scm
Xlib/Gambit-C/_eval#.scm
Xlib/Gambit-C/_io#.scm
Xlib/Gambit-C/_nonstd#.scm
Xlib/Gambit-C/_thread#.scm
Xlib/Gambit-C/_repl#.scm
Xlib/Gambit-C/_gambit#.scm
Xlib/Gambit-C/digest#.scm
Xlib/Gambit-C/digest.scm
Xlib/Gambit-C/gambit#.scm
Xlib/_gambcgsi.c
Xlib/libgambcgsi.a
Xlib/_gambcgsc.c
Xlib/libgambcgsc.a
Xlib/Gambit-C/libgambc.a
Xlib/Gambit-C/r4rs#.scm
Xlib/Gambit-C/r5rs#.scm
Xshare/emacs/site-lisp/gambit.el
Xshare/Gambit-C/syntax-case.scm
X@dirrm include/Gambit-C
X@dirrm share/doc/Gambit-C
X@dirrm share/Gambit-C
X@dirrm lib/Gambit-C
END-of-gambit-c/pkg-plist
exit
--- gambit-c.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87wsj9ptwe.wl%beyert>