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

(-)lang/gambit-c/Makefile (-27 / +26 lines)
Lines 2-52 Link Here
2
# $FreeBSD: head/lang/gambit-c/Makefile 363390 2014-07-29 20:55:27Z adamw $
2
# $FreeBSD: head/lang/gambit-c/Makefile 363390 2014-07-29 20:55:27Z adamw $
3
3
4
PORTNAME=	gambit-c
4
PORTNAME=	gambit-c
5
DISTVERSION=	v4_6_6
5
DISTVERSION=	v4_7_3
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	lang
7
CATEGORIES=	lang
8
MASTER_SITES=	http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/
8
MASTER_SITES=	http://www.iro.umontreal.ca/~gambit/download/gambit/v4.7/source/
9
DISTNAME=	gambc-${DISTVERSION}
9
DISTNAME=	gambc-${DISTVERSION}
10
10
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Gambit programming system where the compiler generates portable C code
12
COMMENT=	Gambit programming system where the compiler generates portable C code
13
13
14
LICENSE=	APACHE20
14
LICENSE=	APACHE20 LGPL21
15
LICENSE_COMB=	dual
15
16
16
MAN1=		gsi.1
17
USES=		compiler gmake tar:tgz
17
18
USES=		gmake tar:tgz
19
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS=	--enable-single-host --enable-gcc-opts
19
CONFIGURE_ARGS=	--enable-single-host \
21
CONFIGURE_ARGS+=--prefix=${PREFIX} --docdir=${PREFIX}/share/doc/gambit-c
20
		--enable-gcc-opts \
22
CONFIGURE_ARGS+=--libdir=${PREFIX}/lib/gambit-c/ --includedir=${PREFIX}/include/gambit-c
21
		--docdir=${DOCSDIR} \
23
CONFIGURE_ARGS+=--enable-interpreter-name=gsi-gambit  --enable-compiler-name=gsc-gambit
22
		--includedir=${PREFIX}/include/gambit-c \
23
		--libdir=${PREFIX}/lib/gambit-c \
24
		--enable-compiler-name=gsc-gambit \
25
		--enable-interpreter-name=gsi-gambit
26
MAKEFILE=	makefile
27
USE_LDCONFIG=	${PREFIX}/lib/gambit-c
24
28
25
INFO=		gambit-c
29
INFO=		gambit-c
26
30
31
OPTIONS_DEFINE=	DOCS
27
32
28
USE_LDCONFIG=	${PREFIX}/lib/gambit-c
33
.include <bsd.port.pre.mk>
29
30
PLIST_SUB+=	GSI_INC=include/gambit-c
31
PLIST_SUB+=	GSI_DOC=share/doc/gambit-c
32
PLIST_SUB+=	GSI_LIB=lib/gambit-c
33
34
35
.if ${COMPILER_TYPE} == gcc
34
# This is needed because 4.2 < gcc -v < 4.4 has optimisations that make the
36
# This is needed because 4.2 < gcc -v < 4.4 has optimisations that make the
35
# build take more than 20Gb of virtual memory.
37
# build take more than 20Gb of virtual memory.
36
CFLAGS+=	-fno-move-loop-invariants
38
CFLAGS+=	-fno-move-loop-invariants
39
.endif
37
40
38
NO_STAGE=	yes
39
post-patch:
41
post-patch:
40
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
42
.for i in makefile.in gsc/makefile.in gsi/makefile.in lib/makefile.in
41
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/makefile.in
43
	@${REINPLACE_CMD} -e \
42
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/lib/makefile.in
44
		's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}| ; \
43
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/lib/makefile.in
45
		 s|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/${i}
44
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsi/makefile.in
46
.endfor
45
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsi/makefile.in
46
	@${REINPLACE_CMD} -e 's|^\(FLAGS_OBJ = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
47
	@${REINPLACE_CMD} -e 's|^\(FLAGS_DYN = \).*|\1 ${CFLAGS}|' ${WRKSRC}/gsc/makefile.in
48
47
49
post-configure:
48
post-install:
50
	@${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
49
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs[ci]-gambit
51
50
52
.include <bsd.port.mk>
51
.include <bsd.port.post.mk>
(-)lang/gambit-c/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (gambc-v4_6_6.tgz) = 4e8b18bb350124138d1f9bf143dda0ab5e55f3c3d489a6dc233a15a003f161d2
1
SHA256 (gambc-v4_7_3.tgz) = 59c4c62f2cfaf698b54a862e7af9c1b3e4cc27e46d386f31c66e00fed4701777
2
SIZE (gambc-v4_6_6.tgz) = 10738338
2
SIZE (gambc-v4_7_3.tgz) = 11462024
(-)lang/gambit-c/pkg-descr (-3 / +2 lines)
Lines 1-13 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-gambit, the Gambit Scheme
3
consists of two main programs: gsi-gambit, the Gambit Scheme
4
interpreter, and gsc-gambit, the Gambit Scheme compiler.
4
interpreter, and gsc-gambit, the Gambit Scheme compiler.
5
5
6
7
Gambit-C is a version of the Gambit programming system in which the
6
Gambit-C is a version of the Gambit programming system in which the
8
compiler generates portable C code, making the whole Gambit-C system
7
compiler generates portable C code, making the whole Gambit-C system
9
and the programs compiled with it easily portable to many computer
8
and the programs compiled with it easily portable to many computer
10
architectures for which a C compiler is available.  With appropriate
9
architectures for which a C compiler is available. With appropriate
11
declarations in the source code the executable programs generated by
10
declarations in the source code the executable programs generated by
12
the compiler run roughly as fast as equivalent C programs.
11
the compiler run roughly as fast as equivalent C programs.
13
12
(-)lang/gambit-c/pkg-plist (-36 / +35 lines)
Lines 10-49 Link Here
10
bin/scheme-srfi-0
10
bin/scheme-srfi-0
11
bin/six
11
bin/six
12
bin/six-script
12
bin/six-script
13
%%GSI_INC%%/gambit-not406006.h
13
include/gambit-c/gambit.h
14
%%GSI_INC%%/gambit.h
14
include/gambit-c/gambit-not407003.h
15
%%GSI_LIB%%/_asm#.scm
15
lib/gambit-c/_asm#.scm
16
%%GSI_LIB%%/_assert#.scm
16
lib/gambit-c/_assert#.scm
17
%%GSI_LIB%%/_codegen#.scm
17
lib/gambit-c/_codegen#.scm
18
%%GSI_LIB%%/_eval#.scm
18
lib/gambit-c/_eval#.scm
19
%%GSI_LIB%%/_gambc.c
19
lib/gambit-c/_gambc.c
20
%%GSI_LIB%%/_gambcgsc.c
20
lib/gambit-c/_gambcgsc.c
21
%%GSI_LIB%%/_gambcgsi.c
21
lib/gambit-c/_gambcgsi.c
22
%%GSI_LIB%%/_gambit#.scm
22
lib/gambit-c/_gambit#.scm
23
%%GSI_LIB%%/_io#.scm
23
lib/gambit-c/_io#.scm
24
%%GSI_LIB%%/_kernel#.scm
24
lib/gambit-c/_kernel#.scm
25
%%GSI_LIB%%/_nonstd#.scm
25
lib/gambit-c/_nonstd#.scm
26
%%GSI_LIB%%/_num#.scm
26
lib/gambit-c/_num#.scm
27
%%GSI_LIB%%/_repl#.scm
27
lib/gambit-c/_repl#.scm
28
%%GSI_LIB%%/_std#.scm
28
lib/gambit-c/_std#.scm
29
%%GSI_LIB%%/_system#.scm
29
lib/gambit-c/_system#.scm
30
%%GSI_LIB%%/_thread#.scm
30
lib/gambit-c/_thread#.scm
31
%%GSI_LIB%%/_x86#.scm
31
lib/gambit-c/_x86#.scm
32
%%GSI_LIB%%/digest#.scm
32
lib/gambit-c/digest#.scm
33
%%GSI_LIB%%/digest.scm
33
lib/gambit-c/digest.scm
34
%%GSI_LIB%%/gambit#.scm
34
lib/gambit-c/gambit#.scm
35
%%GSI_LIB%%/libgambc.a
35
lib/gambit-c/libgambc.a
36
%%GSI_LIB%%/libgambcgsc.a
36
lib/gambit-c/libgambcgsc.a
37
%%GSI_LIB%%/libgambcgsi.a
37
lib/gambit-c/libgambcgsi.a
38
%%GSI_LIB%%/r4rs#.scm
38
lib/gambit-c/r4rs#.scm
39
%%GSI_LIB%%/r5rs#.scm
39
lib/gambit-c/r5rs#.scm
40
%%GSI_LIB%%/syntax-case.scm
40
lib/gambit-c/syntax-case.scm
41
%%GSI_DOC%%/gambit-c.html
41
man/man1/gsi.1.gz
42
%%GSI_DOC%%/gambit-c.pdf
42
%%PORTDOCS%%%%DOCSDIR%%/gambit-c.html
43
%%GSI_DOC%%/gambit-c.txt
43
%%PORTDOCS%%%%DOCSDIR%%/gambit-c.pdf
44
%%PORTDOCS%%%%DOCSDIR%%/gambit-c.txt
44
share/emacs/site-lisp/gambit.el
45
share/emacs/site-lisp/gambit.el
45
@dirrmtry share/emacs/site-lisp
46
%%PORTDOCS%%@dirrm %%DOCSDIR%%
46
@dirrmtry share/emacs
47
@dirrmtry lib/gambit-c
47
@dirrm %%GSI_LIB%%
48
@dirrmtry include/gambit-c
48
@dirrm %%GSI_INC%%
49
@dirrm %%GSI_DOC%%

Return to bug 193039