blob: 39d98005ef867100ac16ae5c31cfc3adc43538bf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
# $FreeBSD$
PORTNAME= racket
PORTVERSION= 6.9
CATEGORIES= lang scheme
MASTER_SITES= http://mirror.racket-lang.org/installers/${PORTVERSION}/ \
http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \
http://www.eecs.northwestern.edu/racket/${PORTVERSION}/ \
http://mirror.csclub.uwaterloo.ca/racket/racket-installers/${PORTVERSION}/ \
http://mirror.informatik.uni-tuebingen.de/mirror/racket/${PORTVERSION}/ \
http://racket.infogroep.be/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src-builtpkgs
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Interactive, integrated, graphical Scheme programming environment
LICENSE= LGPL3
LIB_DEPENDS= libffi.so:devel/libffi \
libcairo.so:graphics/cairo \
libpng.so:graphics/png
BROKEN_powerpc64= fails to build: jit.c: 'JIT_LOCAL4' undeclared (first use in this function)
BROKEN_FreeBSD_10_i386= segfaults during build
BROKEN_FreeBSD_11_i386= segfaults during build
BROKEN_FreeBSD_12_i386= segfaults during build
NOT_FOR_ARCHS= armv6 aarch64 sparc64
NOT_FOR_ARCHS_REASON= not yet ported to this arch
MAKE_JOBS_UNSAFE=yes
CONFLICTS= racket-minimal-[0-9]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= -enable-libffi --enable-pthread --enable-places --enable-shared
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src
PATCH_WRKSRC= ${WRKDIR}/racket-${PORTVERSION}
USES= iconv jpeg libtool sqlite tar:tgz
USE_LDCONFIG= yes
REINPLACE_ARGS= -i ""
USE_GNOME= cairo pango
OPTIONS_DEFINE= FUTURES
OPTIONS_DEFAULT=FUTURES
OPTIONS_DEFINE_amd64= JIT
OPTIONS_DEFINE_i386= JIT
OPTIONS_DEFAULT_amd64= JIT
OPTIONS_DEFAULT_i386= JIT
FUTURES_DESC= Enable futures
JIT_DESC= Enable JIT compiler
JIT_CFLAGS= -msse -msse2 -mfpmath=sse
FUTURES_CONFIGURE_ENABLE= futures
JIT_CONFIGURE_ENABLE= jit
post-install:
${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete
${REINPLACE_CMD} -e "s@${STAGEDIR}@@" ${STAGEDIR}${PREFIX}/share/applications/*.desktop
.include <bsd.port.mk>
|