View | Details | Raw Unified | Return to bug 135252
Collapse All | Expand All

(-)gambit-c.new/Makefile (-38 / +20 lines)
Lines 1-29 Link Here
1
# New ports collection makefile for:	gambc
1
# New ports collection makefile for:	gambit-c
2
# Date created:        			28 December 2006
2
# Date created:        			28 December 2006
3
# Whom:					Rob Zinkov
3
# Whom:					Rob Zinkov
4
#
4
#
5
# $FreeBSD: ports/lang/gambit-c/Makefile,v 1.6 2008/07/27 07:33:19 beech Exp $
5
# $FreeBSD: ports/lang/gambit-c/Makefile,v 1.6 2008/07/27 07:33:19 beech Exp $
6
#
6
#
7
7
8
PORTNAME=	gambc
8
PORTNAME=	gambit-c
9
DISTVERSION=	v4_2_8
9
DISTVERSION=	v4_4_3
10
PORTEPOCH=	1
10
PORTEPOCH=	1
11
CATEGORIES=	lang
11
CATEGORIES=	lang
12
MASTER_SITES=	http://www.iro.umontreal.ca/~gambit/download/gambit/v4.2/source/
12
MASTER_SITES=	http://www.iro.umontreal.ca/~gambit/download/gambit/v4.4/source/
13
EXTRACT_SUFX=	.tgz
13
EXTRACT_SUFX=	.tgz
14
DISTNAME=	gambc-${DISTVERSION}
15
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
14
16
15
MAINTAINER=	pmn@bakarika.net
17
MAINTAINER=	pmn@bakarika.net
16
COMMENT=	Gambit programming system where the compiler generates portable C code
18
COMMENT=	Gambit programming system where the compiler generates portable C code
17
19
18
USE_GMAKE=	yes
20
USE_GMAKE=	yes
19
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
20
MAKE_ARGS=	PREFIX="${PREFIX}"
21
CONFIGURE_ARGS=	--enable-single-host --enable-gcc-opts 
22
CONFIGURE_ARGS=	--enable-single-host --enable-gcc-opts 
23
CONFIGURE_ARGS+=	--prefix=${PREFIX} --docdir=${PREFIX}/share/doc/gambit-c 
24
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/gambit-c/ --includedir=${PREFIX}/include/gambit-c
22
25
23
INFO=	gambit-c
26
# Will need upstream patch to avoid the error
27
#INFO=		gambit-c
28
29
# Will need upstream patch too
30
MAKE_JOBS_SAFE=	yes
31
32
# This is needed because 4.2 < gcc -v < 4.4 has optimisations that make the
33
# build take more than 20Gb of virtual memory.
34
CFLAGS+=	-fno-move-loop-invariants
24
35
25
post-patch:
36
post-patch:
26
	@${REINPLACE_CMD} -e 's|^\(install: install-pre install-recursive\) install-post|\1|' ${WRKSRC}/makefile.in
27
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
37
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
28
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
38
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
29
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/lib/makefile.in
39
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/lib/makefile.in
Lines 32-71 post-patch: Link Here
32
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsi/makefile.in
42
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsi/makefile.in
33
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
43
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
34
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
44
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
35
45
	@${REINPLACE_CMD} -e 's|^EXECUTABLE = gsi@exe@|EXECUTABLE = gsi-gambit@exe@|' ${WRKSRC}/gsi/makefile.in
36
pre-configure:
46
	@${REINPLACE_CMD} -e 's|^EXECUTABLE = gsc@exe@|EXECUTABLE = gsc-gambit@exe@|' ${WRKSRC}/gsc/makefile.in
37
	@${REINPLACE_CMD} -e 's|/4.2.8||' ${WRKSRC}/configure
38
47
39
post-configure:
48
post-configure:
40
	@${CP} ${WRKSRC}/makefile ${WRKSRC}/Makefile
49
	@${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
41
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/makefile
42
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/Makefile
43
44
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/include/makefile
45
	@${REINPLACE_CMD} -e 's|/include|/include/Gambit-C|' ${WRKSRC}/include/makefile
46
47
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/lib/makefile
48
49
	@${REINPLACE_CMD} -e 's|/lib/|tempstr|' ${WRKSRC}/lib/makefile
50
	@${REINPLACE_CMD} -e 's|/lib|/lib/Gambit-C|' ${WRKSRC}/lib/makefile
51
	@${REINPLACE_CMD} -e 's|tempstr|/lib/|' ${WRKSRC}/lib/makefile
52
53
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/bin/makefile
54
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/gsc/makefile
55
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/gsi/makefile
56
	@${REINPLACE_CMD} -e 's| gsc | gsc-gambit |' ${WRKSRC}/bin/makefile
57
	@${REINPLACE_CMD} -e 's|/gsc |/gsc-gambit |' ${WRKSRC}/bin/makefile
58
	@${REINPLACE_CMD} -e 's|EXECUTABLE = gsc|EXECUTABLE = gsc-gambit|' ${WRKSRC}/gsc/makefile
59
60
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/doc/makefile
61
62
	@${REINPLACE_CMD} -e 's|/doc|/share/doc/Gambit-C|' ${WRKSRC}/doc/makefile
63
64
	@${REINPLACE_CMD} -e 's|PACKAGE_SUBDIR = /v4.2.8|PACKAGE_SUBDIR = |' ${WRKSRC}/misc/makefile
65
50
66
	@${REINPLACE_CMD} -e 's|/v4.2.8|/share/emacs/site-lisp|' ${WRKSRC}/misc/makefile
67
51
68
	@${REINPLACE_CMD} -e 's|/syntax-case.scm|/share/Gambit-C/syntax-case.scm|' ${WRKSRC}/misc/makefile
69
	@${REINPLACE_CMD} -e 's|/v4.2.8||' ${WRKSRC}/makefile
70
52
71
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)gambit-c.new/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gambc-v4_2_8.tgz) = 1ebd2effeb9e936b380d6daffb9e11b8
1
MD5 (gambc-v4_4_3.tgz) = 925dad46461994e13b680dd3a9d4c38a
2
SHA256 (gambc-v4_2_8.tgz) = e07d0031e434fc98a8b3ac136fe2426280cc342b8e3b3a325c7348938d5bae11
2
SHA256 (gambc-v4_4_3.tgz) = 8f5d9ad292d806c99baea11c696a34000ef0f38e175cc114dfee85128faaf565
3
SIZE (gambc-v4_2_8.tgz) = 14255377
3
SIZE (gambc-v4_4_0.tgz) = 8028618
(-)gambit-c.new/pkg-descr (-2 / +3 lines)
Lines 1-7 Link Here
1
The Gambit programming system is a full implementation of the Scheme 
1
The Gambit programming system is a full implementation of the Scheme 
2
language which conforms to the R4RS and IEEE Scheme standards. It 
2
language which conforms to the R4RS and IEEE Scheme standards. It 
3
consists of two main programs: gsi, the Gambit Scheme interpreter, and 
3
consists of two main programs: gsi-gambit, the Gambit Scheme interpreter,
4
gsc, the Gambit Scheme compiler.
4
and gsc-gambit, the Gambit Scheme compiler. 
5
5
6
6
Gambit-C is a version of the Gambit programming system in which the 
7
Gambit-C is a version of the Gambit programming system in which the 
7
compiler generates portable C code, making the whole Gambit-C system 
8
compiler generates portable C code, making the whole Gambit-C system 
(-)gambit-c.new/pkg-plist (-38 / +42 lines)
Lines 1-43 Link Here
1
bin/six
1
bin/six
2
bin/gsc-cc-o.bat
2
bin/gsi-gambit
3
bin/gsc-gambit
3
bin/gsc-gambit
4
bin/gsc-script
4
bin/gsc-cc-o.bat
5
bin/gsi
5
bin/gambc-doc.bat
6
bin/gsi-script
6
bin/gsi-script
7
bin/scheme-ieee-1178-1990
8
bin/scheme-r4rs
9
bin/scheme-r5rs
10
bin/scheme-srfi-0
11
bin/six-script
7
bin/six-script
12
share/doc/Gambit-C/gambit-c.html
8
bin/scheme-srfi-0
13
share/doc/Gambit-C/gambit-c.pdf
9
bin/scheme-r5rs
14
share/doc/Gambit-C/gambit-c.txt
10
bin/scheme-r4rs
15
include/Gambit-C/gambit.h
11
bin/scheme-ieee-1178-1990
16
include/Gambit-C/gambit-not402008.h
12
bin/gsc-script
17
lib/Gambit-C/_gambc.c
13
include/gambit-c/gambit.h
18
lib/Gambit-C/_kernel#.scm
14
include/gambit-c/gambit-not404003.h
19
lib/Gambit-C/_system#.scm
15
info/gambit-c.info
20
lib/Gambit-C/_num#.scm
16
info/gambit-c.info-1
21
lib/Gambit-C/_std#.scm
17
info/gambit-c.info-2
22
lib/Gambit-C/_eval#.scm
18
info/gambit-c.info-3
23
lib/Gambit-C/_io#.scm
19
lib/gambit-c/_gambc.c
24
lib/Gambit-C/_nonstd#.scm
20
lib/gambit-c/_kernel#.scm
25
lib/Gambit-C/_thread#.scm
21
lib/gambit-c/_system#.scm
26
lib/Gambit-C/_repl#.scm
22
lib/gambit-c/_num#.scm
27
lib/Gambit-C/_gambit#.scm
23
lib/gambit-c/_std#.scm
28
lib/Gambit-C/digest#.scm
24
lib/gambit-c/_eval#.scm
29
lib/Gambit-C/digest.scm
25
lib/gambit-c/_io#.scm
30
lib/Gambit-C/gambit#.scm
26
lib/gambit-c/_nonstd#.scm
31
lib/_gambcgsi.c
27
lib/gambit-c/_thread#.scm
32
lib/libgambcgsi.a
28
lib/gambit-c/_repl#.scm
33
lib/_gambcgsc.c
29
lib/gambit-c/_gambit#.scm
34
lib/libgambcgsc.a
30
lib/gambit-c/gambit#.scm
35
lib/Gambit-C/libgambc.a
31
lib/gambit-c/r5rs#.scm
36
lib/Gambit-C/r4rs#.scm
32
lib/gambit-c/r4rs#.scm
37
lib/Gambit-C/r5rs#.scm
33
lib/gambit-c/digest#.scm
34
lib/gambit-c/digest.scm
35
lib/gambit-c/syntax-case.scm
36
lib/gambit-c/libgambc.a
37
lib/gambit-c/_gambcgsi.c
38
lib/gambit-c/libgambcgsi.a
39
lib/gambit-c/_gambcgsc.c
40
lib/gambit-c/libgambcgsc.a
41
share/doc/gambit-c/gambit-c.pdf
42
share/doc/gambit-c/gambit-c.html
43
share/doc/gambit-c/gambit-c.txt
38
share/emacs/site-lisp/gambit.el
44
share/emacs/site-lisp/gambit.el
39
share/Gambit-C/syntax-case.scm
45
@dirrm include/gambit-c
40
@dirrm include/Gambit-C
46
@dirrm lib/gambit-c
41
@dirrm share/doc/Gambit-C
47
@dirrm share/doc/gambit-c
42
@dirrm share/Gambit-C
43
@dirrm lib/Gambit-C

Return to bug 135252